mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
fix nvda announcing wrong radio button grouping (#9613)
This commit is contained in:
@@ -379,8 +379,9 @@ export class SchemaCompareDialog {
|
|||||||
}
|
}
|
||||||
let flexRadioButtonsModel = view.modelBuilder.flexContainer()
|
let flexRadioButtonsModel = view.modelBuilder.flexContainer()
|
||||||
.withLayout({ flexFlow: 'column' })
|
.withLayout({ flexFlow: 'column' })
|
||||||
.withItems([this.sourceDacpacRadioButton, this.sourceDatabaseRadioButton]
|
.withItems([this.sourceDacpacRadioButton, this.sourceDatabaseRadioButton])
|
||||||
).component();
|
.withProperties({ ariaRole: 'radiogroup' })
|
||||||
|
.component();
|
||||||
|
|
||||||
return {
|
return {
|
||||||
component: flexRadioButtonsModel,
|
component: flexRadioButtonsModel,
|
||||||
@@ -436,7 +437,9 @@ export class SchemaCompareDialog {
|
|||||||
let flexRadioButtonsModel = view.modelBuilder.flexContainer()
|
let flexRadioButtonsModel = view.modelBuilder.flexContainer()
|
||||||
.withLayout({ flexFlow: 'column' })
|
.withLayout({ flexFlow: 'column' })
|
||||||
.withItems([dacpacRadioButton, databaseRadioButton]
|
.withItems([dacpacRadioButton, databaseRadioButton]
|
||||||
).component();
|
)
|
||||||
|
.withProperties({ ariaRole: 'radiogroup' })
|
||||||
|
.component();
|
||||||
|
|
||||||
return {
|
return {
|
||||||
component: flexRadioButtonsModel,
|
component: flexRadioButtonsModel,
|
||||||
|
|||||||
Reference in New Issue
Block a user