swagger-api / swagger-api/swagger-ui
a11y: missing labels on controls (text fields, select boxes)
Open
@char0n is already working on this.
Since Sep 30, 2021.
backlog
cat: a11y
Hacktoberfest
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
Swagger UI renderer breaks accessibility rules: WCAG 1.3.1, WCAG 4.1.2
- path: http://localhost:1723
- also text fields, checkboxes etc
Fix ONE of the following:
- aria-label attribute does not exist or is empty
- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
- Form element does not have an implicit (wrapped)
- Form element does not have an explicit
- Element has no title attribute or the title attribute is empty
See screenshot: fields in RED are failing

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.