Navigation Role

Previous Menuitem role

Navigation role is a landmark role. The navigation (role) is assigned to the portion of the page which provides the navigational elements. A navigation role is similar to the <nav> tag of HTML 5. Sometimes websites may have more than one navigational panels. In such scenarios we can have navigation role for both the panels and differentiate them with aria-label property.

<div aria-label=”primary” role=”navigation”>
Navigation panel goes here
Next Option role