The Publish navigate region focus style hides the whole sidebar #48031
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Package] Edit Post
/packages/edit-post
[Package] Edit Site
/packages/edit-site
[Package] Interface
/packages/interface
[Type] Bug
An existing feature does not function as intended
[Type] Regression
Related to a regression in the latest release
Description
This appears to be a regression after #47734.
The CSS changes from #47734 fixed the publish sidebar when saving multi-entities but broke the focus style of the Publish region when normally navigating through the editor regions.
When the Publish region is focused, the whole sidebar is now hidden under a white container. Also, the focus style extends to the whole sidebar, while it should show only around the 'Open publish panel' container.
Step-by-step reproduction instructions
To confirm the regression:
Note: It's perfectly understandable that such visual regressions occur. However, this is not the first time the navigate region focus style breaks. It broke several times, actually. One more reason to take into strong consideration the introduction of visual regression testing, see for example a related Draft PR here: #46210
Screenshots, screen recording, code snippet
Expected:
Actual:
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: