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
{{ message }}
Repository navigation
Block inserter lacking a clear close button #47016
As reported in #46939 (comment) the block inserter is lacking a clear close button. This makes it very difficult for users of assistive technology to exist the popover.
A clear button should be provided which closes the inserter and returns focus to the last focused element.
Yes but a must none the less. Not sure how I missed this elsewhere. Maybe I just never used it anywhere else before now. Escape is not a given sadly so having a close button makes it clear.
Related to a conversation here, I'd like to hear thoughts on having it be an on-focus close button that appears, for example, at the end of the list of tabbables.
As @jasmussen suggests, could we add a visually hidden button that can be focused via keyboard navigation? The button could become visually visible when focused, similarly to the "skip to content" links that are usually added at the top of a web page.
This appears resolved. The inserter now uses a shared TabbedSidebar component (packages/block-editor/src/components/tabbed-sidebar) that renders a visible, labeled close button, added in #62343 and refined in #66756 (both merged). Closing as fixed. Please reopen with a repro if this was in error.
Activity
draganescu commentedon Jan 10, 2023
This seems to be a feature request for the quick inserter.
alexstine commentedon Jan 13, 2023
Yes but a must none the less. Not sure how I missed this elsewhere. Maybe I just never used it anywhere else before now. Escape is not a given sadly so having a close button makes it clear.
carolinan commentedon Jan 19, 2023
I think this needs some design guidance before it can be implemented.
jasmussen commentedon Jan 20, 2023
Related to a conversation here, I'd like to hear thoughts on having it be an on-focus close button that appears, for example, at the end of the list of tabbables.
ciampo commentedon Jan 20, 2023
As @jasmussen suggests, could we add a visually hidden button that can be focused via keyboard navigation? The button could become visually visible when focused, similarly to the "skip to content" links that are usually added at the top of a web page.
getdave commentedon Jan 21, 2023
I implemented a proof of concept in #47327
getdave commentedon Jan 30, 2023
Here's an example of where we already include a clear Close button in the UI. I wonder whether would could borrow the same pattern?
karmatosed commentedon May 31, 2025
I think having the design feedback label makes sense. I am not sure this also needs design, so for now going to focus back on that label.
jasmussen commentedon Sep 7, 2026
This appears resolved. The inserter now uses a shared TabbedSidebar component (packages/block-editor/src/components/tabbed-sidebar) that renders a visible, labeled close button, added in #62343 and refined in #66756 (both merged). Closing as fixed. Please reopen with a repro if this was in error.