Inserter: Tab-focus diverges from other tab-bars #62441
Labels
[Feature] Inserter
The main way to insert blocks using the + button in the editing interface
[Type] Bug
An existing feature does not function as intended
Description
If you load the site editor or post editor fresh, then open the inserter, the focus-visible ring is shown on the "Blocks" tab. This is different from similar panels, like the list view, block inspector, document inspector, where this focus-ring is only visible if you used keyboard interactions to open the panel. Shown in this GIF:
The behavior across tab-bars should be consistent. Specifically, the focus-visible property added to the tab-bar should continue to behave as intended, with the ring visible when using the keyboard, and not when clicking.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
Nightly WordPress, trunk Gutenberg.
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: