Skip to content

Components: enable "copy to clipboard" functionality with keyboard #34795

Closed

Description

Part of #34284

What

Add keyboard support for the "copy to clipboard" functionality

Why

Not all users interact with the color picker with a pointer device

A/C

  • The DOM element that can be currently clicked to copy to clipboard should be flagged as a button, and have a meaningful label (e.g. click to copy to clipboard)
    • This should work keeping in mind the already present tooltip
  • When the above mentioned DOM element has focus, pressing spacebar should copy the value to the clipboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions