Skip to content

Title bar: accessibility naming of command center prompt #51394

@annezazu

Description

@annezazu

In talking with @joedolson at WCEU, we went through the Title Bar and the accessible name to open the command center has a different accessible name on every page because it's inheriting that from the title bar. The name needs to incorporate the visible text so it has to include the name of that page but that doesn't make any sense when it's opening up the command prompt. Ultimately, it has nothing to do with the Page itself since the command center is site wide. Clicking on the title of the page or template makes it seem as if it would relate to the page or template itself when really it's site wide. This especially matters since it's using the H1.

One options to consider is to have a dedicated control that conveys it's site wide and doesn't contain other unrelated text. We could reuse what's in the sidebar with the search icon instead of command-k perhaps:

Screen Shot 2023-06-10 at 12 52 41 PM

This relates to the overall work around stabilizing the Title Bar: #50378

cc @WordPress/gutenberg-design

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs Accessibility FeedbackNeed input from accessibility[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Package] Commands/packages/commands[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions