-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Command Palette: Moving away from cmdk #76950
Copy link
Copy link
Open
Labels
Needs Technical FeedbackNeeds testing from a developer perspective.Needs testing from a developer perspective.[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Package] Commands/packages/commands/packages/commands[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Metadata
Metadata
Assignees
Labels
Needs Technical FeedbackNeeds testing from a developer perspective.Needs testing from a developer perspective.[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).Changes that impact accessibility and need corresponding review (e.g. markup changes).[Package] Commands/packages/commands/packages/commands[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Fields
Give feedbackNo fields configured for issues without a type.
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