[wp-trac] [WordPress Trac] #62733: Improve accessibility of the comment form
WordPress Trac
noreply at wordpress.org
Mon Dec 23 23:14:11 UTC 2024
#62733: Improve accessibility of the comment form
-------------------------------+------------------------------
Reporter: martatorre | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: accessibility
-------------------------------+------------------------------
Comment (by joedolson):
When you say "Some fields are not properly labeled with aria-label
attributes" I'm not sure what you're expecting.
An `aria-label` is not a necessary field for accessibility; it's an
alternative method to provide a label if there's no option to add an HTML
`label`. The default WordPress comment form makes use of properly
associated `label` elements with a `for`/`id` relationship, and `aria-
label` attributes are not needed. However, as @audrasjb mentions, themes
can and frequently do override the standard markup, so you may be dealing
with a non-default comment form.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62733#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list