You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Storybook] Disabled component are still focusable in Firefox #45253
This is likely a regression introduced by #44865, which causes the Disabled component to rely on the inert attribute.
The inert attribute is not supported by Firefox browsers, and the polyfill doesn't seem to work in preventing elements wrapped in Disabled 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
changed the title [-]Elements wrapped in `Disabled` component are still focusable in Firefox[/-][+][Storybook] `Disabled` component are still focusable in Firefox[/+]on Oct 25, 2022
Activity
youknowriad commentedon Oct 25, 2022
I confirmed that there's no regression in Firefox, it's just that there's no polyfill (not just the inert one) is actually loaded in storybook.
ciampo commentedon Oct 25, 2022
Thank you for the confirmation, Riad! I'm going to change the PR's description to better reflect that the issue is only in Storybook.
[-]Elements wrapped in `Disabled` component are still focusable in Firefox[/-][+][Storybook] `Disabled` component are still focusable in Firefox[/+]