Skip to main content

KeyboardShortcut

  • Changelog

Use the KeyboardShortcut to display one or more keys that represent a keyboard shortcut for a specific action.

Package @dynatrace/strato-components, latest version 3.15.1. Below are the changes to KeyboardShortcut. See Components changelog for all changes to the package.

3.15.0 Released Oct 1, 2026​

Updates​

  • Fixed the shortcut losing contrast when placed inside a Button prefix/suffix on an accent surface. (APPDEV-19926)
  • Fixed the keys inside an accent Container always using the neutral on-accent text color instead of the one matching the container's color, which made them fall below the WCAG AA contrast threshold. (APPDEV-19979)
  • keys now accepts mod, which renders as "Cmd" on macOS and "Ctrl" on every other platform, or as an appropriate object for a combination that differs per platform. (APPDEV-19759)

3.11.0 Released Aug 10, 2026​

Updates​

  • Fixed platform-specific key labels. (APPDEV-18437)
Still have questions?
Find answers in the Dynatrace Community