mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-25 09:35:37 -05:00
Fix accessibility bugs in Chart Viewer and Advanced properties (#2240)
* fix accessibility bugs in chart viewer * add advanced properties * add comments for changes in vs
This commit is contained in:
@@ -35,6 +35,8 @@ export interface ISelectBoxDelegate {
|
||||
}
|
||||
|
||||
export interface ISelectBoxOptions {
|
||||
// {{SQL CARBON EDIT}}
|
||||
ariaLabel?: string;
|
||||
minBottomMargin?: number;
|
||||
}
|
||||
|
||||
@@ -76,7 +78,8 @@ export class SelectBox extends Widget implements ISelectBoxDelegate {
|
||||
|
||||
// Instantiate select implementation based on platform
|
||||
if (isMacintosh) {
|
||||
this.selectBoxDelegate = new SelectBoxNative(options, selected, styles);
|
||||
// {{SQL CARBON EDIT}}
|
||||
this.selectBoxDelegate = new SelectBoxNative(options, selected, styles, selectBoxOptions);
|
||||
} else {
|
||||
this.selectBoxDelegate = new SelectBoxList(options, selected, contextViewProvider, styles, selectBoxOptions);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user