Make form components use title as aria-label (#8040)

This commit is contained in:
Charles Gagnon
2019-10-27 14:37:34 -07:00
committed by GitHub
parent 024bd00d93
commit bd15a96b83
5 changed files with 20 additions and 42 deletions

View File

@@ -192,12 +192,4 @@ export default class ButtonComponent extends ComponentWithIconBase implements IC
private setFileType(value: string) {
this.properties.fileType = value;
}
private get ariaLabel(): string {
return this.getPropertyOrDefault<azdata.ButtonProperties, string>((properties) => properties.ariaLabel, '');
}
private set ariaLabel(newValue: string) {
this.setPropertyFromUI<azdata.ButtonProperties, string>((properties, ariaLabel) => { properties.ariaLabel = ariaLabel; }, newValue);
}
}