Skip to content

Commit 51ffcad

Browse files
authored
aria.alert -> aria.status in search (microsoft#187011)
1 parent bcfb265 commit 51ffcad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/search/browser/searchView.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ export class SearchView extends ViewPane {
945945
this.tree.setSelection([next], event);
946946
this.tree.reveal(next);
947947
const ariaLabel = this.treeAccessibilityProvider.getAriaLabel(next);
948-
if (ariaLabel) { aria.alert(ariaLabel); }
948+
if (ariaLabel) { aria.status(ariaLabel); }
949949
}
950950
}
951951

@@ -988,7 +988,7 @@ export class SearchView extends ViewPane {
988988
this.tree.setSelection([prev], event);
989989
this.tree.reveal(prev);
990990
const ariaLabel = this.treeAccessibilityProvider.getAriaLabel(prev);
991-
if (ariaLabel) { aria.alert(ariaLabel); }
991+
if (ariaLabel) { aria.status(ariaLabel); }
992992
}
993993
}
994994

0 commit comments

Comments
 (0)