swagger-api/swagger-ui

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

Open

#6,512 创建于 2020年10月13日

在 GitHub 查看
 (4 评论) (0 反应) (1 负责人)JavaScript (8,801 fork)batch import
Hacktoberfestbacklogcat: a11y

仓库指标

Star
 (25,447 star)
PR 合并指标
 (平均合并 20小时 34分钟) (30 天内合并 14 个 PR)

描述

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

贡献者指南