ARIA link Role
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.
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
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
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.
Desktop





Tablets & Mobile





