Skip to content

Command Palette: Moving away from cmdk #76950

@t-hamano

Description

@t-hamano

What problem does this address?

The command palette depends on cmdk, but we are encountering several accessibility issues.

As far as I know, these issues need to be resolved upstream, but unfortunately, it doesn't seem to be actively maintained.

Furthermore, it has been pointed out here that cmdk has accessibility issues.

#49330 (comment)

What is your proposed solution?

Technically, we should be able to completely decouple from cmdk and build our own fully accessible command palette. Since cmdk's core functionality is contained within a single file, the amount of code required for implementation should not be excessive.

Please let me know if there are any obstacles to moving away from cmdk.

cc @WordPress/gutenberg-core @joedolson

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs Technical FeedbackNeeds testing from a developer perspective.[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