File tree 1 file changed +5
-0
lines changed
front_end/panels/ai_assistance 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ const UIStringsNotTranslate = {
25
25
*@description Heading of dialog box which asks user to select a workspace folder.
26
26
*/
27
27
selectFolder : 'Select folder' ,
28
+ /**
29
+ *@description Heading of dialog box which asks user to select a workspace folder for a11y clients.
30
+ */
31
+ selectFolderAccessibleLabel : 'Select a folder to apply changes' ,
28
32
/**
29
33
*@description Button text for canceling workspace selection.
30
34
*/
@@ -311,6 +315,7 @@ export class SelectWorkspaceDialog extends UI.Widget.VBox {
311
315
onProjectSelected : ( project : Workspace . Workspace . Project ) => void ,
312
316
currentProject ?: Workspace . Workspace . Project ) : void {
313
317
const dialog = new UI . Dialog . Dialog ( 'select-workspace' ) ;
318
+ dialog . setAriaLabel ( UIStringsNotTranslate . selectFolderAccessibleLabel ) ;
314
319
dialog . setMaxContentSize ( new UI . Geometry . Size ( 384 , 340 ) ) ;
315
320
dialog . setSizeBehavior ( UI . GlassPane . SizeBehavior . SET_EXACT_WIDTH_MAX_HEIGHT ) ;
316
321
dialog . setDimmed ( true ) ;
You can’t perform that action at this time.
0 commit comments