Add aria-label to kube config input box (#15743)

This commit is contained in:
Charles Gagnon
2021-06-16 12:22:00 -07:00
committed by GitHub
parent be1ff8e37b
commit 1231be124a
3 changed files with 7 additions and 3 deletions

View File

@@ -18,12 +18,15 @@ export class FilePicker {
public readonly filePickerButton: azdata.ButtonComponent;
constructor(
modelBuilder: azdata.ModelBuilder,
initialPath: string, onNewDisposableCreated: (disposable: vscode.Disposable) => void
initialPath: string,
onNewDisposableCreated: (disposable: vscode.Disposable) => void,
ariaLabel: string
) {
const buttonWidth = 80;
this.filePathInputBox = modelBuilder.inputBox()
.withProperties<azdata.InputBoxProperties>({
value: initialPath,
ariaLabel: ariaLabel,
width: 350
}).component();