a11y role cleanup
This commit is contained in:
parent
3d2b23edf3
commit
749e2bcdbf
3 changed files with 2 additions and 5 deletions
|
@ -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;
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue