ARIA Widget Roles

ARIA role: link

An interactive reference that navigates to a destination. Prefer a with href; a custom link needs focus and Enter activation and must actually navigate. 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="link"

Parameters & Attributes

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

Working Example

Example Snippethtml
<a href="#help">Help</a><h2 id="help">Help</h2>
HTML Reference