Add aria labels to buttons and spin inputs on Arc dashboards (#15798)

This commit is contained in:
Charles Gagnon
2021-06-17 19:38:27 -07:00
committed by GitHub
parent df296939a8
commit efd752aafe
4 changed files with 45 additions and 21 deletions

View File

@@ -113,7 +113,8 @@ export abstract class BaseInputKeyValue extends KeyValue {
const copy = modelBuilder.button().withProperties<azdata.ButtonProperties>({
iconPath: IconPathHelper.copy,
width: '17px',
height: '17px'
height: '17px',
ariaLabel: loc.copyConnectionStringToClipboard(key)
}).component();
this.disposables.push(copy.onDidClick(async () => {