Sketchbook
On this page

Tag <sb-kbd> · status stable · version 0.1.0

Example

Press Esc to close.
<span>Press <sb-kbd>Esc</sb-kbd> to close.</span>

Properties

Accessibility

  • Role: generic (kbd has no ARIA role); the text is read as is
  • Native element: kbd
  • Accessible name: Content: the key text. An icon-only key needs a visually hidden or aria-label name from the author.

View as Markdown