mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
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:
@@ -248,7 +248,7 @@ export class MockInputBoxComponent extends MockUIComponent implements azdata.Inp
|
||||
onEnterKeyPressed: vscode.Event<string>;
|
||||
value?: string;
|
||||
ariaLabel?: string;
|
||||
ariaLive?: string;
|
||||
ariaLive?: azdata.AriaLiveValue;
|
||||
placeHolder?: string;
|
||||
inputType?: azdata.InputBoxInputType;
|
||||
required?: boolean;
|
||||
|
||||
@@ -538,7 +538,7 @@
|
||||
"@types/semver": "^7.3.1",
|
||||
"@types/sinon": "^9.0.8",
|
||||
"@types/yamljs": "0.2.30",
|
||||
"@microsoft/azdata-test": "^3.0.1",
|
||||
"@microsoft/azdata-test": "^3.0.2",
|
||||
"mocha": "^7.1.1",
|
||||
"should": "^13.2.3",
|
||||
"sinon": "^9.2.0",
|
||||
|
||||
@@ -196,10 +196,10 @@
|
||||
dependencies:
|
||||
"@vscode/extension-telemetry" "0.6.1"
|
||||
|
||||
"@microsoft/azdata-test@^3.0.1":
|
||||
version "3.0.1"
|
||||
resolved "https://registry.yarnpkg.com/@microsoft/azdata-test/-/azdata-test-3.0.1.tgz#a8b89a12de42f277d33aae71c277d0c8efcfbee0"
|
||||
integrity sha512-Zrctm/zKufwIRF9jfw8TOBzr5woLdKXAGNTlbAQl0IGLzVoIGULj9Gqdc1Ikhrov3rM0NkbAF/PY6j6BHiW8Tw==
|
||||
"@microsoft/azdata-test@^3.0.2":
|
||||
version "3.0.2"
|
||||
resolved "https://registry.yarnpkg.com/@microsoft/azdata-test/-/azdata-test-3.0.2.tgz#71cfbbc2ee9c1805311f3a5828b50679a5e6d73c"
|
||||
integrity sha512-NMoSKp/Zgs+1ZIe07w+FeKhqMaxgViLGmLTQHPfYN7RRTFErJBd8JgskxYoLZbgcctfVsV+Yw+zQEn1+g2mPKg==
|
||||
dependencies:
|
||||
http-proxy-agent "^5.0.0"
|
||||
https-proxy-agent "^5.0.0"
|
||||
|
||||
@@ -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'
|
||||
});
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user