ARIA Structure Roles
ARIA role: subscript
Text conventionally positioned below the baseline. Prefer sub for conventional notation; do not use merely for positioning. Author naming is prohibited. The example demonstrates a native equivalent or preferred alternative and deliberately omits redundant ARIA. Explicit roles do not implement visual presentation, interaction or focus management; verify allowed role/element combinations in ARIA in HTML. Accessibility exposure varies with browser, platform and assistive technology. Test relevant combinations; rendering is not proof of accessibility.
Formal Syntax & Structure
html syntaxhtml
role="subscript"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| role | token | Explicit role token subscript; use only where allowed. Omit when native semantics match. |
Working Example
Example Snippethtml
<p> H <sub>2</sub> O</p>