mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-17 17:22:42 -05:00
Fix notebook toolbar screen reader reading order (#12252)
* add presentation role to selectContainer * make nb toolbar dropdown arrow unfocusable * remove empty string content change
This commit is contained in:
@@ -336,6 +336,7 @@ export class SelectBox extends vsSelectBox {
|
||||
if (selectOptions && selectOptions.labelText && selectOptions.labelText !== undefined) {
|
||||
let outerContainer = document.createElement('div');
|
||||
let selectContainer = document.createElement('div');
|
||||
selectContainer.setAttribute('role', 'presentation');
|
||||
|
||||
outerContainer.className = selectOptions.labelOnTop ? 'labelOnTopContainer' : 'labelOnLeftContainer';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user