mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 17:22:20 -05:00
fix accessibility issues in update project from db dialog (#22274)
* fix accessibility issues in update project from db dialog * remove aria label on radio buttons
This commit is contained in:
@@ -179,7 +179,9 @@ export class UpdateProjectFromDatabaseDialog {
|
||||
this.serverDropdown = view.modelBuilder.dropDown().withProps({
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
width: cssStyles.updateProjectFromDatabaseTextboxWidth
|
||||
width: cssStyles.updateProjectFromDatabaseTextboxWidth,
|
||||
ariaLabel: constants.server,
|
||||
required: true
|
||||
}).component();
|
||||
|
||||
this.createConnectionButton(view);
|
||||
@@ -193,7 +195,9 @@ export class UpdateProjectFromDatabaseDialog {
|
||||
this.databaseDropdown = view.modelBuilder.dropDown().withProps({
|
||||
editable: true,
|
||||
fireOnTextChange: true,
|
||||
width: cssStyles.updateProjectFromDatabaseTextboxWidth
|
||||
width: cssStyles.updateProjectFromDatabaseTextboxWidth,
|
||||
ariaLabel: constants.databaseNameLabel,
|
||||
required: true
|
||||
}).component();
|
||||
|
||||
this.databaseDropdown.onValueChanged(() => {
|
||||
@@ -382,7 +386,9 @@ export class UpdateProjectFromDatabaseDialog {
|
||||
fireOnTextChange: true,
|
||||
value: value,
|
||||
values: values,
|
||||
width: cssStyles.updateProjectFromDatabaseTextboxWidth
|
||||
width: cssStyles.updateProjectFromDatabaseTextboxWidth,
|
||||
ariaLabel: constants.location,
|
||||
required: true
|
||||
}).component();
|
||||
|
||||
this.projectFileDropdown.onValueChanged(async () => {
|
||||
@@ -491,7 +497,6 @@ export class UpdateProjectFromDatabaseDialog {
|
||||
|
||||
const actionLabel = view.modelBuilder.text().withProps({
|
||||
value: constants.actionLabel,
|
||||
requiredIndicator: true,
|
||||
width: cssStyles.updateProjectFromDatabaseLabelWidth
|
||||
}).component();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user