Skip to content

Commit

Permalink
fix(#588): a11y - vocalized focus for variants of chips
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
  • Loading branch information
pylapp committed Jan 30, 2024
1 parent c85b449 commit d6f5156
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,22 +41,22 @@ struct ChipsVariants: View {
var body: some View {
VariantEntryItem(title: "screens.components.chips.variant.action", technicalElement: "ODSActionChip()") {
ActionChipVariant(model: ActionChipVariantModel())
.navigationTitle("screens.components.chips.variant.action")
.odsNavigationTitle("screens.components.chips.variant.action".🌐)
}

VariantEntryItem(title: "screens.components.chips.variant.input", technicalElement: "ODSInputChip()") {
InputChipVariant(model: InputChipVariantModel())
.navigationTitle("screens.components.chips.variant.input")
.odsNavigationTitle("screens.components.chips.variant.input".🌐)
}

VariantEntryItem(title: "screens.components.chips.variant.choice", technicalElement: "ODSChoiceChip()") {
ChoiceChipVariant(model: ChoiceChipVariantModel())
.navigationTitle("screens.components.chips.variant.choice")
.odsNavigationTitle("screens.components.chips.variant.choice".🌐)
}

VariantEntryItem(title: "screens.components.chips.variant.filter", technicalElement: "ODSFilterChip()") {
FilterChipVariant(model: FilterChipVariantModel())
.navigationTitle("screens.components.chips.variant.filter")
.odsNavigationTitle("screens.components.chips.variant.filter".🌐)
}
}
}
Expand Down

0 comments on commit d6f5156

Please sign in to comment.