Skip to content

Divider ​

catnip-divider is hidden from assistive technology by default. Set decorative to false when the separation should be exposed as a separator, and name it with dividerAriaLabel when needed.

Screen readers ​

ModeSemantics
Decorative (default, decorative="true")aria-hidden="true": purely visual; no separator role.
Semantic (decorative="false")role="separator", aria-orientation, and an optional aria-label from dividerAriaLabel when the separation should be named.

What you own ​

  • Mode: Keep the default decorative="true" for typical layout lines. Set decorative="false" to expose the divider as a separator, and add dividerAriaLabel (only used when decorative is false) when the separation should be named.

Catnip Design System by Signicat