Accessibility feature "Skip to Main content" using Layout Container | Community
Skip to main content
Bhuwan_B
New Participant
Aug 2, 2023 12:20 PM UTC
Solved

Accessibility feature "Skip to Main content" using Layout Container

Is there an out-of-the-box way to set the id to Layout Container to target the main element of the Page? I was referring below article, but it is using Container and not Layout Container. 

https://aemsimplifiedbynikhil.wordpress.com/2021/07/16/skip-to-main-content-accessibility-for-aem-web-applications-aem-6-5-9-aemaacs/

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
EstebanBustamante
EstebanBustamanteAccepted solution
New Participant
Aug 2, 2023 1:27 PM UTC

No, I don't think so. The recommended approach is to leverage core components. In your particular case, it would be more beneficial to utilize the Container component, which is built on top of the Layout Component, allowing you to take advantage of its upgrades such as the "id" field.

Esteban Bustamante

1 reply

EstebanBustamante
EstebanBustamanteAccepted solution
New Participant
Aug 2, 2023 1:27 PM UTC

No, I don't think so. The recommended approach is to leverage core components. In your particular case, it would be more beneficial to utilize the Container component, which is built on top of the Layout Component, allowing you to take advantage of its upgrades such as the "id" field.

Translate
Esteban Bustamante