Print this page

aria-orientation

Characteristics

Type:

  • DOMString

Used in Roles:

  • scrollbar
  • separator
  • slider

Value:

  • token
    • vertical: The element is oriented vertically.
    • horizontal (default): The element is oriented horizontally.

Indicates whether the element and orientation is horizontal or vertical.

Syntax

<element aria-orientation="horizontal|vertical" ... />