ARIA mark Role
The mark role marks text that is highlighted for reference, such as search matches or text a comment refers to. The mark element has this role.
Description
The mark role identifies content that is marked or highlighted for reference or notation purposes, because of its relevance in the current context. Search results with the search terms highlighted, and the passage a comment refers to, are typical examples. The <mark> element has this role.
A highlighted range can point to an associated comment or other explanation with aria-details. Like other text-level roles, it can't be given an accessible name, and many screen readers don't announce it by default unless the user turns on formatting announcements.
Use the native HTML <mark> element where you can: it already has the mark role, with the expected keyboard and browser behavior built in.
Properties
- Category
- Document Structure
- HTML equivalent
<mark>- Accessible name from
- prohibited
- Required parent role
- None
- Required child roles
- None
ARIA Attributes
- Required
- None
- Supported
- None
- Prohibited
aria-label,aria-labelledby- Global
- All global ARIA attributes can also be used, such as
aria-label,aria-labelledby,aria-describedby,aria-hidden.
Syntax
<element role="mark">
Example
Browser Support
The following information will show you the current browser support for the mark ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.
Desktop





Tablets & Mobile





