Skip to content

Commit

Permalink
fix(): replace hub-radio input with tile-select to resolve a11y bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinPerry committed Sep 25, 2024
1 parent d555c17 commit 2907a35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/common/src/sites/_internal/SiteUiSchemaFollowers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const buildUiSchema = async (
scope: "/properties/_followers/properties/isDiscussable",
type: "Control",
options: {
control: "hub-field-input-radio",
control: "hub-field-input-tile-select",
labels: [
`{{${i18nScope}.fields.followers.discussable.enabled.label:translate}}`,
`{{${i18nScope}.fields.followers.discussable.disabled.label:translate}}`,
Expand All @@ -71,6 +71,7 @@ export const buildUiSchema = async (
`{{${i18nScope}.fields.followers.discussable.disabled.description:translate}}`,
],
icons: ["speech-bubbles", "circle-disallowed"],
type: "radio",
},
},
],
Expand Down

0 comments on commit 2907a35

Please sign in to comment.