Code: Select all
Blocked aria-hidden on an element because its descendant retained focus. The 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.
Element with focus: div
Ancestor with aria-hidden:
< /code>
Der Code für dasselbe ist < /p>
return (
!open && onClose()}>
e.preventDefault()} className="p-0 overflow-auto">
Person Detail
Edit Person
Delete
);