Skip to content

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

@Xingsir1991

Description

@Xingsir1991
  • I have searched the issues of this repository and believe that this is not a duplicate.

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;​">​

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions