#62733 closed defect (bug) (worksforme)
Improve accessibility of the comment form
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | reporter-feedback close |
Focuses: | accessibility | Cc: |
Description
The comment form in WordPress could benefit from better labeling to be fully accessible to users with disabilities. Some fields are not properly labeled with aria-label attributes.
Change History (7)
#2
@
7 weeks ago
Hello,
Yes, we need more information here.
Please note that themes authors can override default form settings, so it may strongly depends on your active theme.
#3
@
7 weeks ago
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.
This ticket was mentioned in Slack in #accessibility by joedolson. View the logs.
4 weeks ago
#5
@
4 weeks ago
- Keywords close added
The most likely cases here are that this is either the core form, and aria-label
is missing because it is not required; or it's a theme-provided form that may have some accessibility problems.
I recommend closing this issue, but I'll give it an additional week for feedback from @martatorre so we can get more information if it is a core issue.
Hey @martatorre, Welcome to Trac. Thanks for raising this.
I've checked the relevant parts of the form and they seemed to be fine. However, it would be really helpful if you could provide specific examples of fields that you noticed are missing proper aria labels. Maybe a screenshot of what you're referring to. Also, additional information like WordPress version, Theme, and its version would be helpful.
Please feel free to share the specific areas you're concerned about.