Main Role

Previous Log role

Main (role) will be assigned to the section of the web page that contains the main content. A “main” (role) is a landmark role. Usually the “Skip to main content” link targets to this portion of the page. In HTML 5, the <main> tag plays the role of “main” role. Provide the ARIA attribute “role=”main” to the div that has the main content as shown below.

<div role=”main”>
Main content goes here
Next Marquee role