Skip to content

Accessibility Updates - "main" landmark roles #17104

@ChaitanyaKaranam

Description

@ChaitanyaKaranam

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/activeIndicates that an issue or PR is actively being worked on by a contributor.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions