Skip to content

[Bug]: Drawer produce "Blocked aria-hidden on an element because its descendant retained focus" #1184

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

Open
2 tasks
casperdias opened this issue Apr 17, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@casperdias
Copy link

Reproduction

Use Example Drawer and open the console when opening the drawer

Describe the bug

When I try to implement Drawer, all the ui work perfectly but i get warn in console

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.

Did anyone how to fix it?

System Info

System:
    OS: Linux 5.15 Ubuntu 24.04.2 LTS 24.04.2 LTS (Noble Numbat)
    CPU: (12) x64 13th Gen Intel(R) Core(TM) i7-1355U
    Memory: 2.82 GB / 7.58 GB
    Container: Yes
    Shell: 5.2.21 - /bin/bash
  Binaries:
    Node: 23.5.0 - ~/.nvm/versions/node/v23.5.0/bin/node
    npm: 10.9.2 - ~/.nvm/versions/node/v23.5.0/bin/npm
  Browsers:
    Chrome: 135.0.7049.84
  npmPackages:
    @vueuse/core: ^12.8.2 => 12.8.2
    radix-vue: ^1.9.11 => 1.9.17
    vue: ^3.5.13 => 3.5.13

Contributes

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests
@casperdias casperdias added the bug Something isn't working label Apr 17, 2025
@sadeghbarati
Copy link
Collaborator

Related unovue/reka-ui#1280

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants