role=menubar cannot have ancestor with role=img Web Standard

Description

An element with role=menubar should not appear as a descendant of an element with role=img

Help

The name, role, and state of an interactive control are ignored when the control is nested inside another interactive control, meaning the control is announced incorrectly by screen readers.

Applicable standards

Change history

  • 2026.62 Oct 2026 Added.

This page describes a web site issue detected in HTML documents by SortSite Desktop and OnDemand Suite.

Rule ID: W3cHtml5AssertNested-role-img-role-menubar