Adding aria label to all the migration tables (#16476)

This commit is contained in:
Aasim Khan
2021-07-29 09:20:58 -07:00
committed by GitHub
parent ef3d2e7d99
commit 01671b118d
7 changed files with 11 additions and 1 deletions

View File

@@ -154,6 +154,7 @@ export class SqlDatabaseTree {
this._databaseTable = this._view.modelBuilder.declarativeTable().withProps(
{
ariaLabel: constants.DATABASES_TABLE_TILE,
enableRowSelection: true,
width: 230,
CSSStyles: {
@@ -265,6 +266,7 @@ export class SqlDatabaseTree {
private createInstanceComponent(): azdata.DivContainer {
this._instanceTable = this._view.modelBuilder.declarativeTable().withProps(
{
ariaLabel: constants.SQL_SERVER_INSTANCE,
enableRowSelection: true,
width: 240,
CSSStyles: {
@@ -497,6 +499,7 @@ export class SqlDatabaseTree {
this._impactedObjectsTable = this._view.modelBuilder.declarativeTable().withProps(
{
ariaLabel: constants.IMPACTED_OBJECTS,
enableRowSelection: true,
width: '100%',
columns: [

View File

@@ -433,6 +433,7 @@ export class CreateSqlMigrationServiceDialog {
this.migrationServiceAuthKeyTable = this._view.modelBuilder.declarativeTable().withProps({
ariaLabel: constants.DATABASE_MIGRATION_SERVICE_AUTHENTICATION_KEYS,
columns: [
{
displayName: constants.NAME,

View File

@@ -211,6 +211,7 @@ export class MigrationCutoverDialog {
}).component();
this.fileTable = view.modelBuilder.table().withProps({
ariaLabel: loc.ACTIVE_BACKUP_FILES,
columns: [
{
value: loc.ACTIVE_BACKUP_FILES,

View File

@@ -471,6 +471,7 @@ export class MigrationStatusDialog {
};
this._statusTable = this._view.modelBuilder.declarativeTable().withProps({
ariaLabel: loc.MIGRATION_STATUS,
columns: [
{
displayName: loc.DATABASE,

View File

@@ -136,6 +136,7 @@ export class TargetDatabaseSummaryDialog {
});
const databaseTable: azdata.DeclarativeTableComponent = this._view.modelBuilder.declarativeTable().withProps({
ariaLabel: constants.DATABASE_TO_BE_MIGRATED,
columns: columns,
dataValues: tableRows,
width: this._tableLength