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

Opening the Modal causes an error in the Chrome console: aria-hidden #6436

Open
5 tasks done
wcnhna opened this issue Oct 7, 2024 · 0 comments · May be fixed by #6463
Open
5 tasks done

Opening the Modal causes an error in the Chrome console: aria-hidden #6436

wcnhna opened this issue Oct 7, 2024 · 0 comments · May be fixed by #6463
Assignees
Labels
bug Something isn't working

Comments

@wcnhna
Copy link

wcnhna commented Oct 7, 2024

描述错误

Opening the Modal causes an error in the Chrome console:
Blocked aria-hidden on a

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.

复现步骤

Opening the Modal causes an error in the Chrome console.

最小复现链接

https://www.naiveui.com/zh-CN/os-theme/components/modal

系统信息

System:
    OS: Windows 11 10.0.22631
    CPU: (16) x64 13th Gen Intel(R) Core(TM) i5-13500H
    Memory: 4.96 GB / 15.75 GB
  Binaries:
    Node: 20.18.0 - C:\Program Files\nodejs\node.EXE
    npm: 10.9.0 - C:\Program Files\nodejs\npm.CMD
    pnpm: 9.12.0 - ~\AppData\Roaming\npm\pnpm.CMD
  Browsers:
    Edge: Chromium (129.0.2792.79)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    naive-ui: ^2.40.1 => 2.40.1
    vue: ^3.5.11 => 3.5.11

使用的包管理器

pnpm

验证

@wcnhna wcnhna added the untriaged need to sort label Oct 7, 2024
@jahnli jahnli added bug Something isn't working and removed untriaged need to sort labels Oct 11, 2024
@jahnli jahnli self-assigned this Oct 15, 2024
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

Successfully merging a pull request may close this issue.

2 participants