diff --git a/packages/volto/news/6249.bugfix b/packages/volto/news/6249.bugfix new file mode 100644 index 0000000000..6e28743161 --- /dev/null +++ b/packages/volto/news/6249.bugfix @@ -0,0 +1 @@ +Add missing `for` attribute to checkbox label to improve accessibility. @gomez \ No newline at end of file diff --git a/packages/volto/src/components/manage/Blocks/Search/components/CheckboxFacet.jsx b/packages/volto/src/components/manage/Blocks/Search/components/CheckboxFacet.jsx index c4b86c1147..7d0665054f 100644 --- a/packages/volto/src/components/manage/Blocks/Search/components/CheckboxFacet.jsx +++ b/packages/volto/src/components/manage/Blocks/Search/components/CheckboxFacet.jsx @@ -21,6 +21,7 @@ const CheckboxFacet = (props) => { {choices.map(({ label, value }, i) => (
-
@@ -47,11 +50,14 @@ exports[`CheckboxFacet renders a facet component with checkboxes 1`] = ` -