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

Error Blocked aria-hidden show up when clicking on Popup Proxy (cover mode) #17810

Open
mityaua opened this issue Feb 6, 2025 · 1 comment
Open

Comments

@mityaua
Copy link

mityaua commented Feb 6, 2025

What happened?

In the Popup Proxy component, if I open the popup in cover mode, the following error appears in the console. However, it looks to work all as expected.

Blocked aria-hidden on an element because its descendant retained focus. The 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.
Element with focus: div
Ancestor with aria-hidden: <div class=​"q-dialog__backdrop fixed-full" aria-hidden=​"true" tabindex=​"-1" style=​"--q-transition-duration:​ 300ms;​">​​

What did you expect to happen?

I expect no error message when I call popup.

Reproduction URL

https://quasar.dev/vue-components/popup-proxy/#breakpoint

How to reproduce?

  1. Go to the Quasar's website https://quasar.dev/vue-components/popup-proxy/#breakpoint on Chrome
  2. Scroll down to Breakpoint section
  3. Open the browser's Developer tools
  4. Click on date picker several times (3 or more)
  5. You should be able to observe and error in the developer tools.

Image

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Components (quasar)

Platforms/Browsers

Chrome

Quasar info output

Relevant log output

Blocked aria-hidden on an element because its descendant retained focus. The 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.
Element with focus: div
Ancestor with aria-hidden:  <div class=​"q-dialog__backdrop fixed-full" aria-hidden=​"true" tabindex=​"-1" style=​"--q-transition-duration:​ 300ms;​"></div>

Additional context

Sometimes it happens in dialog mode (with breakpoint prop).

Copy link

github-actions bot commented Feb 6, 2025

Hi @mityaua! 👋

It looks like you provided an invalid or unsupported reproduction URL.
Do not use any service other than Codepen, jsFiddle, StackBlitz, CodeSandbox, and GitHub.
Make sure the URL you provided is correct and reachable. You can test it by visiting it in a private tab, another device, etc.
Please edit your original post above and provide a valid reproduction URL as explained.

Without a proper reproduction, your issue will have to get closed.

Thank you for your collaboration. 👏

@mityaua mityaua changed the title Error show up when clicking on Popup Proxy (cover mode) Error Blocked aria-hidden show up when clicking on Popup Proxy (cover mode) Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant