Document usage of keyboard input shortcuts
Description
The keyboard input element is used to inform the user of which keyboard key they need to press in order to perform an action via keyboard.
Questions that the documentation should answer
- When do we write
optvs⌥? Or do you write both?- Use full words "option" and "command" #1129 (comment 1199034560)
- How do we handle differences between Windows and Mac keyboard shortcuts?
Relates to #1123 (closed)
Checklist
Make sure the following are completed before closing the issue:
-
Assign the correct component label to this issue. -
Create an MR with the additions or updates needed. -
When applicable, create a new Pajamas issue using the "Figma update" issue template to update the component in Figma. Bring the issue to your team planning session for prioritization and scheduling. Mark the issue as related to this one. -
When applicable, create an MR in GitLab UI to update the component. If you do not have capacity or are unable to update the component directly, create a new GitLab UI issue using the "Component" issue template. Bring the issue to your team planning session for prioritization and scheduling. Mark the issue as related to this one. -
When introducing a major or breaking change, communicate the changes within the Engineering Week in Review and UX Weekly meeting. -
🎉 Congrats, you made it! You can now close this issue.
Edited by Michael Le