Skip to content

Missing labels for the search boxes in the readthedocs theme (accessibility issue) #3045

@dmundra

Description

@dmundra

We use mkdocs for our company handbook and when running the Wave accessibility evaluation tool we noticed that the search boxes are missing labels. You can see the error here https://wave.webaim.org/report#/https://handbook.civicactions.com/en/latest/search.html?q=leave and screenshot:

Wave error report

Recommendation is to use aria-label to add the missing label. See https://www.w3.org/TR/WCAG20-TECHS/ARIA14.html for examples. I will submit a pull request to add the missing label.

I reported the same error for the Sphinx readthedocs theme: readthedocs/sphinx_rtd_theme#1379

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions