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">
Element UI version
2.15.8
OS/Browsers version
macOS
Vue version
2.6.12
Reproduction Link
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">