[wp-trac] [WordPress Trac] #55717: aria-hidden="true" attribute in comment template for visible text (required fields)
WordPress Trac
noreply at wordpress.org
Fri May 13 07:55:32 UTC 2022
#55717: aria-hidden="true" attribute in comment template for visible text (required
fields)
---------------------------------------+----------------------------
Reporter: juliemoynat | Owner: audrasjb
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 6.1
Component: Comments | Version: 5.8
Severity: normal | Resolution:
Keywords: has-patch required-fields | Focuses: accessibility
---------------------------------------+----------------------------
Comment (by afercia):
If removing `aria-hidden` is the preferred option, then there are a few
more things to take care of.
- `aria-hidden` should be removed from the asterisk used for the form
fields as well.
- At that point, we should make sure assistive technologies announce the
asterisk correctly. Some screen readers may not announce it at all or
announce it as `star`.
- The asterisk should be moved out from the field labels. Otherwise, it
would be part of the accessible name of the form fields. See example in
the screenshot below, where a field would be announced as"
`Comment start, required, edit text`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55717#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list