Skip to content
Design System
GitHub

Permission gate

v0.64.0, changelogBeta

Shows, disables with a reason, makes read-only or replaces what a permission string guards.

Roles

What a screen reader is told each part is, measured in the examples on the Overview tab.

  • button
  • group
  • Follows the WAI-ARIA pattern Button.

Keyboard

KeysAction
TabA disabled action stays a Tab stop and shows its reason while focused
Enter / SpaceOn a disabled action, shows the reason; the action does not run

Colour contrast

Computed from the shipped theme for the colours this component uses, on page and card backgrounds; the lower of the two is shown. WCAG 2.2 AA.