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

PrimeVue Bug: 点击 Tree 组件根节点 (package),有时触发 aria-hidden 错误 #32

Open
zjp-CN opened this issue Aug 10, 2024 · 0 comments

Comments

@zjp-CN
Copy link
Member

zjp-CN commented Aug 10, 2024

Blocked aria-hidden on a <button> 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.
<button type="button" class=​"p-tree-node-toggle-button" tabindex=​"-1" aria-hidden=​"true" 
data-pc-section=​"nodetogglebutton">​…​</button>​flex

aria-hidden

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