ARIA math Role
The math role marks content that represents a mathematical expression. The MathML math element has this role and is the best way to mark up formulas.
Description
The math role identifies content that represents a mathematical expression. The MathML <math> element has this role and is supported in all modern browsers, so screen readers can read formulas and let users explore them piece by piece.
If an expression is shown as an image or built from other markup, add role="math" with an aria-label giving a readable version of the formula. Using MathML is much better, since users can navigate its structure.
Use the native HTML <math> element where you can: it already has the math role, with the expected keyboard and browser behavior built in.
Properties
- Category
- Document Structure
- HTML equivalent
<math>- Accessible name from
- author
- Required parent role
- None
- Required child roles
- None
ARIA Attributes
- Required
- None
- Supported
- None
- Prohibited
- None
- Global
- All global ARIA attributes can also be used, such as
aria-label,aria-labelledby,aria-describedby,aria-hidden.
Syntax
<element role="math">
Example
Browser Support
The following information will show you the current browser support for the math ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.
Desktop





Tablets & Mobile





