mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-15 17:22:25 -05:00
Add aria role and selected properties (#8405)
* Add aria role and selected properties * Add img role fix * Add title to text
This commit is contained in:
@@ -566,6 +566,22 @@ class ComponentWrapper implements azdata.Component {
|
||||
this.setProperty('ariaLabel', v);
|
||||
}
|
||||
|
||||
public get ariaRole(): string {
|
||||
return this.properties['ariaRole'];
|
||||
}
|
||||
|
||||
public set ariaRole(v: string) {
|
||||
this.setProperty('ariaRole', v);
|
||||
}
|
||||
|
||||
public get ariaSelected(): boolean {
|
||||
return this.properties['ariaSelected'];
|
||||
}
|
||||
|
||||
public set ariaSelected(v: boolean) {
|
||||
this.setProperty('ariaSelected', v);
|
||||
}
|
||||
|
||||
public get CSSStyles(): { [key: string]: string } {
|
||||
return this.properties['CSSStyles'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user