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

Bug - SearchInput - advanced example toggle does not have aria-expanded by default #11399

Open
thatblindgeye opened this issue Jan 9, 2025 · 0 comments

Comments

@thatblindgeye
Copy link
Contributor

Describe the problem
In the advanced search input example, the toggle that opens the advanced search does not have the aria-expanded attribute on page load. It only renders the attribute after clicking it once, at which point it updates between true and false as expected.

How do you reproduce the problem?
Go to the example and open dev tools, notice the button does not have aria-expanded. Then click the toggle a couple of times and notice the attribute gets added and updated as expected.

Expected behavior
The aria-expanded attribute would be present by default with a value based on its initial expanded state (false in the case of this example).

Is this issue blocking you?
List the workaround if there is one.

Screenshots
If applicable, add screenshots to help explain the issue.

What is your environment?

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

What is your product and what release date are you targeting?

Any other information?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs triage
Development

No branches or pull requests

1 participant