报错:Blocked aria-hidden on a <div> 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.
报错翻译:Modal弹出以下错误消息:在<div>元素上隐藏了阻塞的aria,因为刚刚收到焦点的元素不能对辅助技术用户隐藏。避免使用隐藏在聚焦元素或其祖先上的咏叹调。考虑改用惰性属性,这也会阻止焦点。
-----------
关于这个报错,它不影响功能的正常使用,但看着难受,还是有解决的办法的。
写在用到的地方。