[Storybook] Disabled
component are still focusable in Firefox
#45253
Labels
Storybook
Storybook and its stories for components
[Type] Bug
An existing feature does not function as intended
Description
This is likely a regression introduced by #44865, which causes the
Disabled
component to rely on theinert
attribute.The
inert
attribute is not supported by Firefox browsers, and the polyfill doesn't seem to work in preventing elements wrapped inDisabled
from being keyboard-focusable.What needs to be clarified is whether the polyfill is loaded at all in Storybook — depending on that, this may be either an environment-specific issue, or a Gutenberg-wide problem
Step-by-step reproduction instructions
isDisabled
is set totrue
Screenshots, screen recording, code snippet
Kapture.2022-10-24.at.20.32.27.mp4
Environment info
Firefox, MacOS
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: