diff --git a/packages/volto/news/6341.bugfix b/packages/volto/news/6341.bugfix new file mode 100644 index 0000000000..528979c426 --- /dev/null +++ b/packages/volto/news/6341.bugfix @@ -0,0 +1 @@ +The input fields in FileWidget and CheckboxWidget are now programmatically associated with their labels, improving accessibility. Previously, the labels were not linked to their corresponding input fields. @Abhishek-17h \ No newline at end of file diff --git a/packages/volto/src/components/manage/Widgets/CheckboxWidget.jsx b/packages/volto/src/components/manage/Widgets/CheckboxWidget.jsx index aeefdaf6d2..885821e0a5 100644 --- a/packages/volto/src/components/manage/Widgets/CheckboxWidget.jsx +++ b/packages/volto/src/components/manage/Widgets/CheckboxWidget.jsx @@ -31,6 +31,7 @@ const CheckboxWidget = (props) => {
{
)} -