mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-21 09:35:38 -05:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user