-
Notifications
You must be signed in to change notification settings - Fork 15.4k
Accessibility Updates - "main" landmark roles #17104
Description
This is a Feature Request
What would you like to be added
Need to landmark role main in the document to indicate primary content.
Why is this needed
From MDN
The main role is a navigational landmark role identifying the main content of a document. Landmarks can be used by assistive technology to quickly identify and navigate to large sections of the document. By classifying and labeling sections of a page, structural information conveyed visually through layout can be represented programmatically. Screen readers use landmark roles to provide keyboard navigation to important sections of a page. For those navigating via >landmark roles, the main role is an alternative for "skip to main content" links. There should only >be one main landmark role per document.
Comments
There are multiple main elements within the document. There can be only one per page.
Need to add main element to documents wherever applicable.