Accessibility Alert: Fieldset missing legend
-
I am working on making a cluster of websites WCAG compliant. I am using the WAVE tool (https://wave.webaim.org/) to scan all the pages and make adjustments. I get the following alert on all Contact Form 7 forms:
Fieldset missing legend
Next to the following code:
<fieldset class="hidden-fields-container"><input type="hidden" name="_wpcf7" value="653"><input type="hidden" name="_wpcf7_version" value="6.1"><input type="hidden" name="_wpcf7_locale" value="en_CA"><input type="hidden" name="_wpcf7_unit_tag" value="wpcf7-f653-p444-o1"><input type="hidden" name="_wpcf7_container_post" value="444"><input type="hidden" name="_wpcf7_posted_data_hash" value=""></fieldset>Detail:
Fieldset missing legend
What It Means
A fieldset does not have a legend.
Why It Matters
A fieldset legend presents a description of the form elements within a fieldset and is especially useful to screen reader users. A legend should be provided when a higher level description is necessary for groups of check boxes, radio buttons, or other form controls.How to Fix It
If a higher level description is necessary for the user to understand the function or purpose of the controls within the fieldset, provide this description within the <legend>. If this description or grouping is not necessary, the fieldset should probably be removed. Note that the legend is repeated to screen reader users for each form control within the fieldset.The Algorithm… in English
A fieldset does not have a legend or the legend is empty.
==
Is there a way to add a Legend to this fieldset?
The page I need help with: [log in to see the link]
The topic ‘Accessibility Alert: Fieldset missing legend’ is closed to new replies.