mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
add message as aria-description (#19739)
This commit is contained in:
@@ -154,6 +154,9 @@ export class ErrorMessageDialog extends Modal {
|
|||||||
} else {
|
} else {
|
||||||
this._copyButton!.element.style.visibility = 'hidden';
|
this._copyButton!.element.style.visibility = 'hidden';
|
||||||
}
|
}
|
||||||
|
if (this._message) {
|
||||||
|
this._bodyContainer.setAttribute('aria-description', this._message);
|
||||||
|
}
|
||||||
this.resetActions();
|
this.resetActions();
|
||||||
if (actions && actions.length > 0) {
|
if (actions && actions.length > 0) {
|
||||||
for (let i = 0; i < maxActions && i < actions.length; i++) {
|
for (let i = 0; i < maxActions && i < actions.length; i++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user