On this page

Separator

What Separator gives you and what your team does.

Conformance

Separator meets WCAG 2.2 level AA when used as described on these pages.

Keyboard

  • Not interactive.

What Separator gives you

  • Hidden from screen readers by default; :decorative="false" gives role="separator".

What your team does

  • Use :decorative="false" only for a break people should hear.

WCAG criteria

Criterion Level How
1.3.1 Info and Relationships A Decorative lines are hidden