vueComponent / ant-design-vue

🌈 An enterprise-class UI components based on Ant Design and Vue. 🐜
https://antdv.com/
Other
20.07k stars 3.78k forks source link

新版浏览器会报错aira-hidden问题 #7783

Open Xingsir1991 opened 4 weeks ago

Xingsir1991 commented 4 weeks ago

Version

1.7.7

Environment

vue2, ant-design-vue1.7.8

Reproduction link

https://1x.antdv.com/components/tabs-cn/

Steps to reproduce

我目前发现的是tab组件会报这个

What is expected?

修复控制台报错

What is actually happening?

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. <div tabindex=​"0" aria-hidden=​"true" style=​"width:​ 0px;​ height:​ 0px;​ overflow:​ hidden;​">​

Jzow commented 4 weeks ago

Ant Design 50170 这是官方库的更新,该存储库应该还没更新

Oralinge commented 2 weeks ago

什么时候更新