Skip to content

[Bug Report] el-radio,点击选择框时,控制台报Blocked aria-hidden on ...... #22936

@yunmengmeng

Description

@yunmengmeng

Element UI version

2.15.14

OS/Browsers version

chrome

Vue version

2.7.16

Reproduction Link

https://element.eleme.cn/2.15/#/zh-CN/component/radio

Steps to reproduce

点击任意一个选择框,控制台报
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.
image

What is Expected?

看了一下代码,是因为在radio.js文件加了"aria-hidden": "true"这么一个属性
不影响实际使用。网上搜了一圈,发现没有人提到这个现象,所以提一下

What is actually happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions