File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/vs/workbench/contrib/scm/browser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1310,7 +1310,7 @@ export class SCMAccessibilityProvider implements IListAccessibilityProvider<Tree
1310
1310
} else if ( isSCMResourceGroup ( element ) ) {
1311
1311
return element . label ;
1312
1312
} else if ( isSCMHistoryItemGroupTreeElement ( element ) ) {
1313
- return `${ stripIcons ( element . label ) . trim ( ) } ${ element . description ? `, ${ element . description } ` : '' } ` ;
1313
+ return element . ariaLabel ?? `${ element . label . trim ( ) } ${ element . description ? `, ${ element . description } ` : '' } ` ;
1314
1314
} else if ( isSCMHistoryItemTreeElement ( element ) ) {
1315
1315
return `${ stripIcons ( element . label ) . trim ( ) } ${ element . description ? `, ${ element . description } ` : '' } ` ;
1316
1316
} else if ( isSCMHistoryItemChangeTreeElement ( element ) ) {
@@ -1323,7 +1323,7 @@ export class SCMAccessibilityProvider implements IListAccessibilityProvider<Tree
1323
1323
1324
1324
return result . join ( ', ' ) ;
1325
1325
} else if ( isSCMViewSeparator ( element ) ) {
1326
- return element . label ;
1326
+ return element . ariaLabel ?? element . label ;
1327
1327
} else {
1328
1328
const result : string [ ] = [ ] ;
1329
1329
You can’t perform that action at this time.
0 commit comments