1
💡 Form Widget - fieldset/legend for checkboxes and radios [accessibility]
Source: elementor/elementor#37253 · opened by @alddesign
Describe the Problem I think it would improve accessibility if form inputs like checkboxes and radios would be rendered in a fieldset, with a legend that describes the selection the user is performing. Right now the html for a group of checkboxes looks like this (simplified): The issues here is that the first label is orphaned and can not be associated with the checkboxes by assistive technologies. The labels for the individual checkboxes are fine tho. Propose a Solution The solution would be to wrap the checkboxes in a fieldset, and replace the first label with a legend. Like this (again, simplified): Additional Context To avoid compatibility issues (as the output html will change), a simple toggle switch on wiget or field level would do it. Something like "aggregate in fieldset". Agreement • I confirm I have read and followed all the guidelines and instructions outlined in the Feature Request form. • I agree that my discussion may be closed w…
No pledges yet. Be the first to back this.
Comments
Similar requests
Fieldsets for form
3 votes · 0 comments
⌛ 🔗 Improved form widget - Action for Login, Registration And Forget password.
29 votes · 0 comments
Separate Widget Settings panel from Widget Panel
1 vote · 0 comments
Add Alt Text to the Gallery Widget.
4 votes · 0 comments
add widgets to canvas by click : Hold down the shift key so that the widget settings do not open.
3 votes · 0 comments
No comments yet.