Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing label on search form #1379

Closed
dmundra opened this issue Nov 15, 2022 · 3 comments · Fixed by #1380
Closed

Missing label on search form #1379

dmundra opened this issue Nov 15, 2022 · 3 comments · Fixed by #1380
Labels
Bug A bug Needed: replication Bug replication is required

Comments

@dmundra
Copy link
Contributor

dmundra commented Nov 15, 2022

Problem

The search form doesn't have a required label. This is an accessibility issue, "a form control does not have a properly associated text label, the function or purpose of that form control may not be presented to screen reader users."

Reproducible Project

You can see the error reported by the Wave tool: https://wave.webaim.org/report#/https://sphinx-rtd-theme.readthedocs.io/en/stable/.

Error Logs/Results

Wave error report

Expected Results

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 when I can.

@stsewd
Copy link
Member

stsewd commented Nov 16, 2022

This is a duplicate of #970, a related PR is #1024.

@dmundra
Copy link
Contributor Author

dmundra commented Nov 16, 2022

@stsewd I missed that. Thanks for linking it. It would be good to implement one of solutions so as to fix the issue.

@stsewd
Copy link
Member

stsewd commented Nov 16, 2022

@stsewd I missed that. Thanks for linking it. It would be good to implement one of solutions so as to fix the issue.

Your PR is a good to fix this problem soon, I think we should merge it. Mine is more a deeper change to match with upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug Needed: replication Bug replication is required
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants