Skip to content

Commit

Permalink
list: do not announce "use the navigation keys to navigat" message to…
Browse files Browse the repository at this point in the history
… make things more concise

fixes #97510
  • Loading branch information
isidorn committed May 12, 2020
1 parent 5628416 commit 086ce18
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/vs/base/browser/ui/list/listWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*--------------------------------------------------------------------------------------------*/

import 'vs/css!./list';
import { localize } from 'vs/nls';
import { IDisposable, dispose, DisposableStore } from 'vs/base/common/lifecycle';
import { isNumber } from 'vs/base/common/types';
import { range, firstIndex, binarySearch } from 'vs/base/common/arrays';
Expand Down Expand Up @@ -1380,7 +1379,7 @@ export class List<T> implements ISpliceable<T>, IDisposable {

set ariaLabel(value: string) {
this._ariaLabel = value;
this.view.domNode.setAttribute('aria-label', localize('aria list', "{0}. Use the navigation keys to navigate.", value));
this.view.domNode.setAttribute('aria-label', value);
}

domFocus(): void {
Expand Down

0 comments on commit 086ce18

Please sign in to comment.