element [Bug Report] chrome input组件报错

c0vxltue  于 4个月前  发布在  其他
关注(0)|答案(2)|浏览(60)

Element UI version

2.15.8

OS/Browsers version

macOS

Vue version

2.6.12

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. <input type=​"radio" aria-hidden=​"true" tabindex=​"-1" autocomplete=​"off" class=​"el-radio__original" value=​"1">​

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. <input type=​"radio" aria-hidden=​"true" tabindex=​"-1" autocomplete=​"off" class=​"el-radio__original" value=​"1">​

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. <input type=​"radio" aria-hidden=​"true" tabindex=​"-1" autocomplete=​"off" class=​"el-radio__original" value=​"1">​

3bygqnnd

3bygqnnd1#

+11111, 单选框组会报错,element的官网也会报错

lmvvr0a8

lmvvr0a82#

+11111, 单选框组会报错,element的官网也会报错

应该是chrome 问题,需要ui框架来统一修复。临时解决可以移除 组件上的 aria-hidden="true"

相关问题