-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small tweak for accessibility (currently fails two WCAG guidelines) #640
Comments
Hey @brucelawson, Thank you for the heads up! I'm a little hesistant to wrap every input field in label because of the styling implications that would have in many themes, but I'm definitely keen on adding a proper Please allow us some time to properly think of a way to do this. This is a bit complex since every |
Merged #642 which improves the default form content. This does not yet wrap the input field for generated HTML through the field helper though. |
Hi. Awesome work on this plugin! Another suggestion regarding WCAG it would be to add Screenshot: Possible place to add the improvement: Best. |
The sign up form fails Web Content Accessibility Guidelines (WCAG 1.3.1, WCAG 3.3.2) because the input field for the email address isn’t associated with a label. Simply tweak the current code so that the input field is a child of the label element:
Currently:
[label]Email address: [/label]
[input type=”email” name=”EMAIL” placeholder=”Your email address” required=””]
improved:
[label]Email address:
[input type=”email” name=”EMAIL” placeholder=”Your email address” required=””]
[/label]
(Also blogpost here https://www.brucelawson.co.uk/2019/making-mailchimp-for-wordpress-more-accessible/)
The text was updated successfully, but these errors were encountered: