Block inserter lacking a clear close button
As reported in https://github.com/WordPress/gutenberg/issues/46939#issuecomment-1374652632 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.
This seems to be a feature request for the quick inserter.
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.
I think this needs some design guidance before it can be implemented.
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.
I implemented a proof of concept in https://github.com/WordPress/gutenberg/pull/47327
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?
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.