WAI-ARIA: aria-orientation (Property)
Description
Indicates whether the element’s orientation is horizontal, vertical, or unknown/ambiguous.
Note: In ARIA 1.1, the default value for aria-orientation changed from horizontal to undefined. Implicit defaults are defined on some roles (e.g., slider defaults to horizontal; scrollbar defaults to vertical) but remain undefined on roles where an expected default orientation is ambiguous (e.g., radiogroup).
Browser Compatibility For aria-orientation
desktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
ariaOrientation | ChromeFull support81 | EdgeFull support81 | FirefoxNo supportNo | Internet ExplorerNo supportNo | OperaFull support68 | SafariFull support12.1 | WebView AndroidFull support81 | Chrome AndroidFull support81 | Firefox for AndroidNo supportNo | Opera AndroidFull support58 | Safari on iOSFull support12.2 | Samsung InternetFull support13.0 |
aria-orientation Example
Example coming soon
Characteristics
Used in Roles
Inherits into Roles
Value
- token
One of a limited set of allowed values. An explicit value of undefined for this type is the equivalent of providing no value. - horizontal
- The element is oriented horizontally.
- undefined (default)
- The element’s orientation is unknown/ambiguous.
- vertical
- The element is oriented vertically.
Semantic HTML
No HTML element equivalent.
Reference
- W3C (opens new window)
- MDN Web Docs