Benjind/schema compare add aria label (#6767)

* Adds button extension for explicitly setting aria-label, in case the label is not screen-reader friendly

* Explicitly set aria-label for ellipsis buttons in SchemaCompare

* Changing localize call to double-quotes

* Removes unused getter for ariaLabel
This commit is contained in:
Benjin Dubishar
2019-08-15 15:14:37 -07:00
committed by GitHub
parent 314bd0e212
commit b05e35bdd7
4 changed files with 23 additions and 2 deletions

View File

@@ -43,6 +43,10 @@ export class Button extends vsButton {
this.element.title = value;
}
public set ariaLabel(value: string) {
this.element.setAttribute('aria-label', value);
}
public setHeight(value: string) {
this.element.style.height = value;
}