Site editor: Site icon moves off-screen when tabbing through the UI #51257
Labels
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Type] Bug
An existing feature does not function as intended
[Type] Regression
Related to a regression in the latest release
Description
Turns out the addition of the 'View site' link to the site hub in the site editor, see #50420, broke the layout when tabbing with teh keyboard trough the UI. See animated GIF:
When the navigation panel is closed, the 'View site' link is stil focusable and can be tabbed to. Instead, I think it should not be rendered. It should work like the 'Open command center' button, which is rendered conditionally only in the 'view' mode. See
gutenberg/packages/edit-site/src/components/site-hub/index.js
Lines 159 to 175 in b30e1ef
Cc @glendaviesnz
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
The text was updated successfully, but these errors were encountered: