swagger-api/swagger-ui

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

Open

#6.512 aberto em 13 de out. de 2020

Ver no GitHub
 (4 comments) (0 reactions) (1 assignee)JavaScript (8.801 forks)batch import
Hacktoberfestbacklogcat: a11y

Métricas do repositório

Stars
 (25.447 stars)
Métricas de merge de PR
 (Mesclagem média 20h 34m) (14 fundiu PRs em 30d)

Description

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

Guia do colaborador