ARIA Structure Roles

ARIA role: time

A machine-readable date or time or a related textual representation. Prefer time with a valid datetime when needed; a role alone does not provide machine-readable data. 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="time"

Parameters & Attributes

NameTypeDescription
roletokenExplicit role token time; use only where allowed. Omit when native semantics match.

Working Example

Example Snippethtml
<time datetime="2026-11-25">25 November 2026</time>
HTML Reference