From f9a82ca8541be52d7fec507165b36e4b6cddf36c Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Tue, 14 Jun 2016 15:50:39 +0200 Subject: [PATCH] aria label for problems tree --- src/vs/workbench/parts/markers/browser/markersPanel.ts | 2 ++ src/vs/workbench/parts/markers/common/messages.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/src/vs/workbench/parts/markers/browser/markersPanel.ts b/src/vs/workbench/parts/markers/browser/markersPanel.ts index 9a205d37872..0f33ebd80ef 100644 --- a/src/vs/workbench/parts/markers/browser/markersPanel.ts +++ b/src/vs/workbench/parts/markers/browser/markersPanel.ts @@ -33,6 +33,7 @@ import { IInstantiationService } from 'vs/platform/instantiation/common/instanti import { ActionProvider } from 'vs/workbench/parts/markers/browser/markersActionProvider'; import { CollapseAllAction, FilterAction, FilterInputBoxActionItem } from 'vs/workbench/parts/markers/browser/markersPanelActions'; import { IConfigurationService } from 'vs/platform/configuration/common/configuration'; +import Messages from 'vs/workbench/parts/markers/common/messages'; export class MarkersPanel extends Panel { @@ -157,6 +158,7 @@ export class MarkersPanel extends Panel { }, { indentPixels: 0, twistiePixels: 20, + ariaLabel: Messages.MARKERS_PANEL_ARIA_LABEL_PROBLEMS_TREE }); } diff --git a/src/vs/workbench/parts/markers/common/messages.ts b/src/vs/workbench/parts/markers/common/messages.ts index 1190ab867d2..d53d9251098 100644 --- a/src/vs/workbench/parts/markers/common/messages.ts +++ b/src/vs/workbench/parts/markers/common/messages.ts @@ -17,6 +17,7 @@ export default class Messages { public static PROBLEMS_PANEL_CONFIGURATION_AUTO_REVEAL:string= nls.localize('problems.panel.configuration.autoreveal', "Controls if Problems view should automatically reveal files when opening them"); public static MARKERS_PANEL_TITLE_NO_PROBLEMS:string= nls.localize('markers.panel.title.no.problems', "No problems"); + public static MARKERS_PANEL_ARIA_LABEL_PROBLEMS_TREE:string= nls.localize('markers.panel.aria.label.problems.tree', "Problems grouped by files"); public static MARKERS_PANEL_NO_PROBLEMS_BUILT:string= nls.localize('markers.panel.no.problems.build', "No problems have been detected in the workspace so far."); public static MARKERS_PANEL_NO_PROBLEMS_FILTERS:string= nls.localize('markers.panel.no.problems.filters', "No results found with provided filter criteria"); -- GitLab