Task #75591
closedEpic #75567: Accessibility: As an editor I want to create accessible content which passes the accessiblity tests from WCAG 2.0.
Form: I want to create a WCAG conform form
100%
Description
As an editor I want to create a form which must pass the accessibility-tests WCAG 2.0.
Acceptance Criteria:- A warning is displayed if:
- the label of one of the following Basic form element is empty: Text Field, Text Area, Checkbox, Radio Button, Drop Down, Upload Field, Password Field, Submit Button, Reset Button, Button
- the legend of a Predefined form elements is empty
The warning contains the WGAC rule and a direct link to the WCAG tutorial (WCAG rule 3.3.2 - Levela A - https://www.w3.org/WAI/WCAG20/quickref/#minimize-error-cues ) and the link to the W3C tutorials ( https://www.w3.org/WAI/tutorials/forms/ )
Files
Updated by Andrea Moroni almost 9 years ago
- Subject changed from Form: As an editor I want to create a form to Form: I want to create a form
Updated by Benni Mack over 7 years ago
- Status changed from New to Needs Feedback
The new form framework is quite cool - carla, can you find out what is missing for WCAG compliance?
Updated by Alexander Opitz almost 7 years ago
- Subject changed from Form: I want to create a form to Form: I want to create a WCAG conform form
What is the state of checking this?
Spoke with Björn, he doesn't see any relevance to the new Form.
Updated by Andrea Moroni almost 7 years ago
- File AXE-Issue.PNG AXE-Issue.PNG added
I've checked today several forms made with the new Form EXT and found one critical issue on all forms...
Form elements must have labels see attached image
checked with https://www.deque.com/products/axe/ and WCAG Accessibility Audit chrome Plugins
Updated by Björn Jacob almost 7 years ago
This is the honeypot field. It is used for spam protection. We don't need it for the user. Maybe we find a solution to hide it for normal users. If the user enters data, the form is classified as spam.
Updated by Alexander Opitz almost 7 years ago
But the honeypot field could also get a random label? But question would be, what does screen reader do with this field?
Updated by Riccardo De Contardi almost 7 years ago
IIRC the label is not necessary if you use the title attribute (https://www.w3.org/TR/WCAG20-TECHS/H65.html)
Updated by Björn Jacob almost 7 years ago
Okay, valid point. But now the tricky question. What would be the text (either for the label or the title attribute)? Wanna call it "Hey spammers" or "Honeypot" or "Don't fill me"? I think it is rather complicated to find an appropriate label which stops human beings from filling it out without telling the bot "c'mon this is a honeypot".
Updated by Riccardo De Contardi almost 7 years ago
What about using aria-hidden="true"
?
Updated by Björn Jacob almost 7 years ago
- Sprint Focus set to On Location Sprint
Updated by Björn Jacob almost 7 years ago
- Sprint Focus changed from On Location Sprint to Remote Sprint
Updated by Björn Jacob over 6 years ago
- Tracker changed from Story to Task
- Status changed from Needs Feedback to In Progress
- Assignee set to Björn Jacob
I am changing this issue to "Task" since I cannot do it for "Stories". On it.
Updated by Gerrit Code Review over 6 years ago
- Status changed from In Progress to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56992
Updated by Gerrit Code Review over 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56992
Updated by Gerrit Code Review over 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56992
Updated by Gerrit Code Review over 6 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56992
Updated by Gerrit Code Review over 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56996
Updated by Björn Jacob over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 090a852fd0d8b5e1b6062614a4197dbcb6d06a92.