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:
Charles Gagnon
2019-11-20 13:56:59 -08:00
committed by GitHub
parent 7e553031ce
commit f26c790736
11 changed files with 92 additions and 14 deletions

View File

@@ -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'];
}