mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-16 01:25:36 -05:00
Fix accessibility issues with Manage Access dialog (#8586)
* Fix accessibility issues with Manage Access dialog * implement more property interfaces * Fix lgtm errors * Simplify condition
This commit is contained in:
@@ -594,6 +594,14 @@ class ComponentWrapper implements azdata.Component {
|
||||
this.setProperty('ariaSelected', v);
|
||||
}
|
||||
|
||||
public get ariaHidden(): boolean {
|
||||
return this.properties['ariaHidden'];
|
||||
}
|
||||
|
||||
public set ariaHidden(v: boolean) {
|
||||
this.setProperty('ariaHidden', v);
|
||||
}
|
||||
|
||||
public get CSSStyles(): { [key: string]: string } {
|
||||
return this.properties['CSSStyles'];
|
||||
}
|
||||
@@ -771,6 +779,13 @@ class ComponentWithIconWrapper extends ComponentWrapper {
|
||||
public set iconWidth(v: string | number) {
|
||||
this.setProperty('iconWidth', v);
|
||||
}
|
||||
|
||||
public get title(): string {
|
||||
return this.properties['title'];
|
||||
}
|
||||
public set title(v: string) {
|
||||
this.setProperty('title', v);
|
||||
}
|
||||
}
|
||||
|
||||
class CardWrapper extends ComponentWrapper implements azdata.CardComponent {
|
||||
@@ -1465,13 +1480,6 @@ class ButtonWrapper extends ComponentWithIconWrapper implements azdata.ButtonCom
|
||||
this.setProperty('label', v);
|
||||
}
|
||||
|
||||
public get title(): string {
|
||||
return this.properties['title'];
|
||||
}
|
||||
public set title(v: string) {
|
||||
this.setProperty('title', v);
|
||||
}
|
||||
|
||||
public get onDidClick(): vscode.Event<any> {
|
||||
let emitter = this._emitterMap.get(ComponentEventType.onDidClick);
|
||||
return emitter && emitter.event;
|
||||
|
||||
Reference in New Issue
Block a user