Main content

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" ... /> 
More in this category: « aria-multiselectable aria-owns »