ARIA separator Role
The separator role marks a divider between sections of content or groups of menu items. When focusable, it becomes a widget the user can drag to resize panes.
Description
The separator role identifies a divider that separates and distinguishes sections of content or groups of items, such as the line between groups in a menu or toolbar. The <hr> element has this role. A static separator is not interactive and its contents are not exposed.
A separator can also be a focusable widget: the draggable splitter between two panes, for example in a code editor. In that case it needs tabindex="0", an accessible name, and aria-valuenow (with aria-valuemin and aria-valuemax) giving the position, and the arrow keys should move it. The default orientation is horizontal; a splitter between side-by-side panes is vertical.
Use the native HTML <hr> element where you can: it already has the separator role, with the expected keyboard and browser behavior built in.
Properties
- Category
- Widget
- HTML equivalent
<hr>- Accessible name from
- author
- Required parent role
- None
- Required child roles
- None
ARIA Attributes
- Required
- None
- Supported
aria-disabled,aria-orientation,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext- Prohibited
- None
- Global
- All global ARIA attributes can also be used, such as
aria-label,aria-labelledby,aria-describedby,aria-hidden.
Syntax
<element role="separator">
Example
Browser Support
The following information will show you the current browser support for the separator ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.
Desktop





Tablets & Mobile





