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

Console error on conflicting properties for a <div> on the Join Court container #430

Open
jaybuidl opened this issue Sep 4, 2024 · 0 comments

Comments

@jaybuidl
Copy link
Member

jaybuidl commented Sep 4, 2024

Blocked aria-hidden on a <div> element because the element that just received focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor. Consider using the inert attribute instead, which will also prevent focus. For more details, see the aria-hidden section of the WAI-ARIA specification at https://w3c.github.io/aria/#aria-hidden

This error means you're trying to hide an element from assistive technology (like screen readers) while it's currently focused. This is a problem because it prevents users relying on these technologies from accessing the content.

Here's a breakdown:

  • aria-hidden="true": This attribute tells assistive technologies to ignore the element.
  • tabindex="0": This attribute makes the element focusable.

The conflict: You've made the element focusable and hidden from assistive technology. This creates a confusing experience for users who rely on screen readers to navigate the page.

image

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

1 participant