Prepared Docs

Prepared Docs

⌘K

    Loading navigation…

User

  1. Primitives
  2. Interactable
  3. Accessibility
  4. Aria Attributes

Interactable

ARIA Attributes

Use appropriate ARIA attributes to convey interactive element state and behavior.

aria-pressed for Toggles

Indicate toggle state for elements that switch between two states.

aria-expanded for Expandable Content

Communicate the state of expandable sections.

aria-label for Additional Context

Provide context when the visible content is insufficient.

aria-describedby for Descriptions

Link additional descriptive content to interactive elements.

Previous

Accessibility / Screen Reader Support

Next

Accessibility / Disabled State Communication

On this page

aria-pressed for Toggles
aria-expanded for Expandable Content
aria-label for Additional Context
aria-describedby for Descriptions