swagger-api/swagger-ui
View on GitHuba11y: missing labels on controls (text fields, select boxes)
Open
#6,512 opened on Oct 13, 2020
Hacktoberfestbacklogcat: a11y
Repository metrics
- Stars
- (25,447 stars)
- PR merge metrics
- (Avg merge 20h 34m) (14 merged PRs in 30d)
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
