@@ -30,7 +30,7 @@ import { IEditor } from 'vs/editor/common/editorCommon';
30
30
import { CommonFindController } from 'vs/editor/contrib/find/browser/findController' ;
31
31
import { MultiCursorSelectionController } from 'vs/editor/contrib/multicursor/browser/multicursor' ;
32
32
import * as nls from 'vs/nls' ;
33
- import { IAccessibilityService } from 'vs/platform/accessibility/common/accessibility' ;
33
+ import { AccessibleNotificationEvent , IAccessibilityService , IAccessibleNotificationService } from 'vs/platform/accessibility/common/accessibility' ;
34
34
import { MenuId } from 'vs/platform/actions/common/actions' ;
35
35
import { ICommandService } from 'vs/platform/commands/common/commands' ;
36
36
import { IConfigurationChangeEvent , IConfigurationService } from 'vs/platform/configuration/common/configuration' ;
@@ -189,6 +189,7 @@ export class SearchView extends ViewPane {
189
189
@ITelemetryService telemetryService : ITelemetryService ,
190
190
@INotebookService private readonly notebookService : INotebookService ,
191
191
@ILogService private readonly logService : ILogService ,
192
+ @IAccessibleNotificationService private readonly accessibleNotificationService : IAccessibleNotificationService
192
193
) {
193
194
194
195
super ( options , keybindingService , contextMenuService , configurationService , contextKeyService , viewDescriptorService , instantiationService , openerService , themeService , telemetryService ) ;
@@ -1245,7 +1246,7 @@ export class SearchView extends ViewPane {
1245
1246
this . viewModel . cancelSearch ( ) ;
1246
1247
this . tree . ariaLabel = nls . localize ( 'emptySearch' , "Empty Search" ) ;
1247
1248
1248
- aria . status ( nls . localize ( 'ariaSearchResultsClearStatus' , "The search results have been cleared" ) ) ;
1249
+ this . accessibleNotificationService . notify ( AccessibleNotificationEvent . Clear ) ;
1249
1250
this . reLayout ( ) ;
1250
1251
}
1251
1252
0 commit comments