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
When tabbing through the elements within the main block Inserter, at some point focus goes to a visually hidden 'Close block inserter' button. The button is visually hidden but it still shows its tooltip on focus:
Ideally, for better accessibility, interactive controls should be visible. I do understand why this button is visually hidden but this design pattern is also inconsistent with other panels rendered within the secondary sidebar. For example, the Document overview panel (formerly 'List view') does have a visible close button:
Ideally, this button should be visible.
Alternatively, it should not show a tooltip that visually looks 'detached' from the UI.
Description
Noticed while debugging #45973
When tabbing through the elements within the main block Inserter, at some point focus goes to a visually hidden 'Close block inserter' button. The button is visually hidden but it still shows its tooltip on focus:
Ideally, for better accessibility, interactive controls should be visible. I do understand why this button is visually hidden but this design pattern is also inconsistent with other panels rendered within the secondary sidebar. For example, the Document overview panel (formerly 'List view') does have a visible close button:
Ideally, this button should be visible.
Alternatively, it should not show a tooltip that visually looks 'detached' from the UI.
Step-by-step reproduction instructions
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