Skip to content

Block inserter lacking a clear close button #47016

Closed

Description

@getdave

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.

Activity

  1. added
    [Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).
    [Feature] InserterThe main way to insert blocks using the + button in the editing interface
    on Jan 10, 2023
  2. draganescu commented on Jan 10, 2023

    @draganescu
    Contributor

    This seems to be a feature request for the quick inserter.

  3. alexstine commented on Jan 13, 2023

    @alexstine
    Contributor

    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.

  4. carolinan commented on Jan 19, 2023

    @carolinan
    Contributor

    I think this needs some design guidance before it can be implemented.

  5. jasmussen commented on Jan 20, 2023

    @jasmussen
    Contributor

    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.

  6. ciampo commented on Jan 20, 2023

    @ciampo
    Contributor

    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.

  7. getdave commented on Jan 21, 2023

    @getdave
    ContributorAuthor

    I implemented a proof of concept in #47327

  8. getdave commented on Jan 30, 2023

    @getdave
    ContributorAuthor

    Screen Shot 2023-01-30 at 10 18 14 (1)

    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?

  9. karmatosed commented on May 31, 2025

    @karmatosed
    Member

    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.

  10. jasmussen commented on Sep 7, 2026

    @jasmussen
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Needs Design FeedbackNeeds general design feedback.[Feature] InserterThe main way to insert blocks using the + button in the editing interface[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Status] In ProgressTracking issues with work in progress

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions