Version
4.2.3
Environment
win11, edge 128.0.2739.67,vue:3.5.4
Reproduction link
ant-design/ant-design#50170
Steps to reproduce
引用a-modal组件。然后打开弹窗时,console报错
What is expected?
不报错
What is actually happening?
报错:Modal pops up with the following error message: 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