-
Notifications
You must be signed in to change notification settings - Fork 226
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
FIX Update EditableFormHeading.php to output unique ID attributes to comply with accessibility standards #1312
Conversation
You've ticked some items in the checklist that are clearly false. CI is not green (it hasn't run - I'm running it now), and your commit message doesn't comply with the guidelines (should start with the prefix I've unticked all of the checkbox items except the one about the branch - the branch is definitely correct.. Please go through each checklist item again, read the relevant information, and check if you need to make any changes. |
It is fine (best even) to offer the author the opportunity to adjust the commit message. But the documentation referred to in the template even clearly states that it's OK to not have a prefix.
This is framed as an accessibility issue, but there is no If you believe that automated tests are required for this change, then please be clear and state that. I feel unticking all the boxes is a little heavy handed. |
@NightJar @GuySartorelli updated. Thanks for the feedback. |
…comply with accessibility standards Fixes: Multiple HeaderFields in UserForm creates WCAG Duplicate ID issue silverstripe#1290 silverstripe#1290
PHP linting failure in CI is unrelated to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for submitting this.
Fixes:
Multiple HeaderFields in UserForm creates WCAG Duplicate ID issue #1290
#1290
Description
As a CMS author I want to be able add multiple EditableFormHeading fields to my user and I want all EditableFormHeading ID attributes to be unique so that my UserForm contains valid html.
Manual testing steps
https://validator.w3.org/
Issues
Pull request checklist