SIA-R94menuitem has non-empty accessible name

Accessibility requirements

This rule tests conformance of the following accessibility requirements:


This rule checks that each element with a menuitem role has a non-empty accessible name.


This rule applies to every element in the HTML namespace with a semantic role of menuitem that is included in the accessibility tree.


  1. The element has an accessible name that is not empty ("").


This rule makes the following assumption:

Accessibility support

In some assistive technologies, the menuitem role will only be announced in browsing mode. When they receive focus this role is not announced. Additionally, the title attribute is not in all circumstances a reliable way to provide an accessible name. Use aria-label instead.

Implementation of Presentational Roles Conflict Resolution varies from one browser or assistive technology to another. Depending on this, some elements can have a semantic role of button and fail this rule with some technology but users of other technologies would not experience any accessibility issue.


This document includes material copied from or derived from Copyright © 2024 W3C® (MIT, ERCIM, Keio, Beihang).