add ariaLive to publish options description (#22338)

* add ariaLive to publish options description

* use correct string and update typings

* update type

* remove comment update

* create type AriaLiveType

* update MockInputBoxComponent with AriaLiveValue

* update azdata-test and add comment
This commit is contained in:
Kim Santiago
2023-03-16 16:08:24 -07:00
committed by GitHub
parent 20cf2489a2
commit 931c44ac41
7 changed files with 20 additions and 14 deletions

View File

@@ -105,7 +105,8 @@ export class PublishOptionsDialog {
// data[row][1] contains the option display name
const displayName = this.optionsTable?.data[row!][1];
await this.descriptionText?.updateProperties({
value: this.optionsModel.getOptionDescription(displayName)
value: this.optionsModel.getOptionDescription(displayName),
ariaLive: 'polite'
});
}));