Favorites

ARIA link Role

link
ARIA Widget RoleThis ARIA role is supported by all modern browsers.
Updated 28th November 2026

The link role marks an element that takes the user to another page or another place on the same page. The a element with an href attribute has this role.

☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee

Description

The link role identifies an interactive reference to a resource: activating it navigates the user to another page, a file, or another location in the same page. Screen readers announce "link" and users expect it to work with Enter.

An <a> element with an href has this role and gives you everything for free: focus, Enter to activate, the context menu, opening in a new tab and the browser history. An <a> without href is not a link. A custom link needs tabindex="0" and script for Enter and navigation, and still lacks most native features.

The rule of thumb: if it goes somewhere, it is a link; if it does something on the current page, it is a button. Use aria-current="page" to mark the link to the current page.

Use the native HTML <a>, <area> element where you can: it already has the link role, with the expected keyboard and browser behavior built in.

Properties

Category
Widget
HTML equivalent
<a>, <area>
Accessible name from
contents, author
Required parent role
None
Required child roles
None

ARIA Attributes

Required
None
Supported
aria-disabled, aria-expanded, aria-haspopup
Prohibited
None
Global
All global ARIA attributes can also be used, such as aria-label, aria-labelledby, aria-describedby, aria-hidden.

Syntax

<element role="link">

Example

<!-- Preferred -->
<a href="#pricing">See pricing</a>

<!-- Only if you can't use <a> -->
<span role="link" tabindex="0"
onclick="location.hash='pricing'"
onkeydown="if(event.key==='Enter')this.click();"
style="color:blue;text-decoration:underline;cursor:pointer">See pricing</span>

Browser Support

The following information will show you the current browser support for the link ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.

This ARIA role is supported by all modern browsers.

Desktop

Chrome
Edge
Firefox
Opera
Safari

Tablets & Mobile

Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-
Supported Unknown Not supported
☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee