Skip to main content
Bhuwan_B
Community Advisor
Community Advisor
August 2, 2023
Solved

Accessibility feature "Skip to Main content" using Layout Container

  • August 2, 2023
  • 1 reply
  • 1688 views

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.
Best answer by EstebanBustamante

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.

1 reply

EstebanBustamante
Adobe Champion and Community Advisor
EstebanBustamanteAdobe Champion and Community AdvisorAccepted solution
Adobe Champion and Community Advisor
August 2, 2023

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