mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Use blank role for custom selectbox on macOS (#183460)
Acts as a workaround for and fixes #180115
This commit is contained in:
parent
81bb68fed1
commit
bc4edc5c00
|
@ -742,7 +742,7 @@ export class SelectBoxList extends Disposable implements ISelectBoxDelegate, ILi
|
|||
return label;
|
||||
},
|
||||
getWidgetAriaLabel: () => localize({ key: 'selectBox', comment: ['Behave like native select dropdown element.'] }, "Select Box"),
|
||||
getRole: () => 'option',
|
||||
getRole: () => isMacintosh ? '' : 'option',
|
||||
getWidgetRole: () => 'listbox'
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue