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

Search box #20

Closed
brianteeman opened this issue Aug 16, 2022 · 6 comments
Closed

Search box #20

brianteeman opened this issue Aug 16, 2022 · 6 comments

Comments

@brianteeman
Copy link
Contributor

I think this is an upstream issue but I couldn't find out where so I am just flagging it up for now as something to check

The search box generates code that includes the code
aria-labelledby="autocomplete-0-label"

There is no label of that name so this results in an invalid aria error

@HLeithner
Copy link
Member

The label exists it's the button magnifying glass left to the input field
image

it looks pretty much useless for a11y but maybe I'm wrong

@brianteeman
Copy link
Contributor Author

strange

image

image

@brianteeman
Copy link
Contributor Author

and the number keeps changing - very bizaar

@HLeithner
Copy link
Member

It's this magnifying glass
image

and it only exists if you click on the button

so actually you are right there is no label as long as you didn't opened the search

we use https://github.com/cmfcmf/docusaurus-search-local maybe you can open an issue there?

@brianteeman
Copy link
Contributor Author

ah - ok - I see what you mean now. I will raise an issue.

@brianteeman
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants