提交 749e2bcd 编写于 作者: B Benjamin Pasero

a11y role cleanup

上级 3d2b23ed
......@@ -255,7 +255,6 @@ export class MessageList {
let messageContentElement: HTMLElement = <any>htmlRenderer.renderHtml({
tagName: 'span',
className: 'message-left-side',
role: 'alert',
formattedText: text
});
......
......@@ -80,7 +80,7 @@ export class ActivityActionItem extends BaseActionItem {
}
this.$badge = this.builder.div({ 'class': 'badge' }, (badge: Builder) => {
this.$badgeContent = badge.div({ 'class': 'badge-content', 'role': 'presentation' });
this.$badgeContent = badge.div({ 'class': 'badge-content' });
});
this.$badge.hide();
......
......@@ -303,9 +303,7 @@ export class EditorPart extends Part implements IEditorPart {
// Build Container off-DOM
editorContainer = $().div({
'class': 'editor-container',
id: editorDescriptor.getId(),
'role': 'presentation',
'aria-label': nls.localize('editorAccessibleLabel', "Editor Container")
id: editorDescriptor.getId()
}, (div) => {
newlyCreatedEditorContainerBuilder = div;
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册