From 82d60a43da38a157d6b0fa1d57e2393aea082893 Mon Sep 17 00:00:00 2001 From: isidor Date: Fri, 12 Feb 2016 11:45:48 +0100 Subject: [PATCH] debug: aria roles for hover --- src/vs/workbench/parts/debug/browser/debugHover.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vs/workbench/parts/debug/browser/debugHover.ts b/src/vs/workbench/parts/debug/browser/debugHover.ts index 62482d0c621..ca38ab10f44 100644 --- a/src/vs/workbench/parts/debug/browser/debugHover.ts +++ b/src/vs/workbench/parts/debug/browser/debugHover.ts @@ -42,6 +42,7 @@ export class DebugHoverWidget implements editorbrowser.IContentWidget { constructor(private editor: editorbrowser.ICodeEditor, private debugService: debug.IDebugService, private instantiationService: IInstantiationService) { this.domNode = $('.debug-hover-widget monaco-editor-background'); this.treeContainer = dom.append(this.domNode, $('.debug-hover-tree')); + this.treeContainer.setAttribute('role', 'tree'); this.tree = new Tree(this.treeContainer, { dataSource: new viewer.VariablesDataSource(this.debugService), renderer: this.instantiationService.createInstance(VariablesHoverRenderer), @@ -55,6 +56,7 @@ export class DebugHoverWidget implements editorbrowser.IContentWidget { }); this.valueContainer = dom.append(this.domNode, $('.value')); + this.valueContainer.setAttribute('role', 'tooltip'); this.isVisible = false; this.showAtPosition = null; -- GitLab