swagger-api/swagger-ui

a11y: missing labels on controls (text fields, select boxes)

Open

#6512 aperta il 13 ott 2020

Vedi su GitHub
 (4 commenti) (0 reazioni) (1 assegnatario)JavaScript (8801 fork)batch import
Hacktoberfestbacklogcat: a11y

Metriche repository

Star
 (25.447 star)
Metriche merge PR
 (Merge medio 20h 34m) (14 PR mergiate in 30 g)

Descrizione

Swagger UI renderer breaks accessibility rules: WCAG 1.3.1, WCAG 4.1.2

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

image

Guida contributor