[wp-trac] [WordPress Trac] #55651: Associate the terms form fields with their descriptions
WordPress Trac
noreply at wordpress.org
Mon May 2 14:25:16 UTC 2022
#55651: Associate the terms form fields with their descriptions
---------------------------+-----------------------------
Reporter: afercia | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Keywords:
Focuses: accessibility |
---------------------------+-----------------------------
The form fields to create and edit taxonomy terms in `edit-tags.php` and
`term.php` do have descriptions. However, these descriptions are not
semantically associated with the input fields.
By using the `aria-describedby` attribute, assistive technologies would be
able to understand there's a programmatic association between the form
fields and the descriptions. Screen readers, for example, would
automatically read out the descriptions while tabbing through the form
fields.
It's a small improvement but I'd say using `aria-describedby` in these
cases should be a default practice.
See all the form fields (inlcuding the select element) in the screenshot
below.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55651>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list