We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Focus is not returned to focusable elements within an svg. ie:
svg
<svg> <a onClick={() => setIsOpen(true)} tabIndex={0} role="button" > <circle ... /> </a> </svg>
A focusable anchor within an svg is an instance of SVGElement and will be ignored here:
SVGElement
headlessui/packages/@headlessui-react/src/utils/active-element-history.ts
Line 7 in 20f46dd
Would you consider a PR to extend this check to SVGElement?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Focus is not returned to focusable elements within an
svg
.ie:
<svg> <a onClick={() => setIsOpen(true)} tabIndex={0} role="button" > <circle ... /> </a> </svg>
A focusable anchor within an svg is an instance of
SVGElement
and will be ignored here:headlessui/packages/@headlessui-react/src/utils/active-element-history.ts
Line 7 in 20f46dd
Would you consider a PR to extend this check to
SVGElement
?The text was updated successfully, but these errors were encountered: