mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-25 17:23:10 -05:00
Add aria labels (#20265)
Co-authored-by: Akshay Mata <akma@microsoft.com>
This commit is contained in:
@@ -404,6 +404,8 @@ export const IR_PAGE_TITLE = localize('sql.migration.ir.page.title', "Azure Data
|
||||
export const IR_PAGE_DESCRIPTION = localize('sql.migration.ir.page.description', "Azure Database Migration Service orchestrates database migration activities and tracks their progress. You can select an existing Database Migration Service as an Azure SQL target if you have created one previously, or create a new one below.");
|
||||
export const SQL_MIGRATION_SERVICE_NOT_FOUND_ERROR = localize('sql.migration.ir.page.sql.migration.service.not.found', "No Database Migration Service found. Create a new one.");
|
||||
export const CREATE_NEW = localize('sql.migration.create.new', "Create new");
|
||||
export const CREATE_NEW_MIGRATION_SERVICE = localize('sql.migration.create.new.migration.service', "Create new migration service");
|
||||
export const CREATE_NEW_RESOURCE_GROUP = localize('sql.migration.create.new.resource.group', "Create new resource group");
|
||||
export const INVALID_SERVICE_ERROR = localize('sql.migration.invalid.migration.service.error', "Select a valid Database Migration Service.");
|
||||
export const SERVICE_OFFLINE_ERROR = localize('sql.migration.invalid.migration.service.offline.error', "Select a Database Migration Service that is connected to a node.");
|
||||
export const AUTHENTICATION_KEYS = localize('sql.migration.authentication.types', "Authentication keys");
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -218,6 +218,7 @@ export class IntergrationRuntimePage extends MigrationWizardPage {
|
||||
|
||||
const createNewMigrationService = this._view.modelBuilder.hyperlink().withProps({
|
||||
label: constants.CREATE_NEW,
|
||||
ariaLabel: constants.CREATE_NEW_MIGRATION_SERVICE,
|
||||
url: '',
|
||||
CSSStyles: {
|
||||
...styles.BODY_CSS
|
||||
|
||||
Reference in New Issue
Block a user