Edit Widgets: Undo and Redo button use both disabled and aria-disabled #57647
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Package] Edit Widgets
/packages/edit-widgets
[Type] Bug
An existing feature does not function as intended
Description
The 'disabled' attribute on interactive controls should be user rarely and only for good reasons. Gutenberg uses a different pattern to make disabled control still focusable and discoverable:
noop
the controlAdditionally, the focus focus style on all the 'Document tools' ARIA toolbar looks broken because of some CSS overflow property set on a container.
Step-by-step reproduction instructions
disabled
and anaria-disabled
buttons. They are really disabled. Screenshot:Screenshots, screen recording, code snippet
No response
Environment info
No response
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: