Add aria labels (#20265)

Co-authored-by: Akshay Mata <akma@microsoft.com>
This commit is contained in:
AkshayMata
2022-08-10 19:58:33 -07:00
committed by GitHub
parent 5f928a5218
commit f73cf78001
4 changed files with 5 additions and 0 deletions

View File

@@ -864,6 +864,7 @@ export class SqlDatabaseTree {
this._descriptionText.value = selectedIssue?.description || '';
this._moreInfo.url = selectedIssue?.helpLink || '';
this._moreInfo.label = selectedIssue?.displayName || '';
this._moreInfo.ariaLabel = selectedIssue?.displayName || '';
this._impactedObjects = selectedIssue?.impactedObjects || [];
this._recommendationText.value = selectedIssue?.message || constants.NA;

View File

@@ -278,6 +278,7 @@ export class CreateSqlMigrationServiceDialog {
this._createResourceGroupLink = this._view.modelBuilder.hyperlink().withProps({
label: constants.CREATE_NEW,
ariaLabel: constants.CREATE_NEW_RESOURCE_GROUP,
url: '',
CSSStyles: {
...styles.BODY_CSS