FeatureFuel
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.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests