swagger-api/swagger-ui
GitHub で見るa11y: missing labels on controls (text fields, select boxes)
Open
#6,512 opened on 2020年10月13日
Hacktoberfestbacklogcat: a11y
Repository metrics
- Stars
- (25,447 stars)
- PR merge metrics
- (平均マージ 20h 34m) (30d で 14 merged PRs)
説明
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
