Hi AEM community,
I would like to make my AEM (6.5) pages compliant with HTML5.
I'm able to put html5 tags (header, nav, footer) in my page's structure except for the tag <main role="main">. I do not understand how can I wrap all my content page with this html5 tag.
How do you implement this rule in your site's page ?
Thanks for your help.
Solved! Go to Solution.
Hi @Jojo_08
You can configured core container component with check main tags.
For other HTML5 semantics, you need to update components. you can create cq:htmlTag node for each component and specify custom tags like section, article etc in the cq:tagName property
Hi @Jojo_08
HTML root tags will be available in page component. Please check and define there
Else you can define as part of page template policies
Hope this helps
Hi @Jojo_08
You can configured core container component with check main tags.
For other HTML5 semantics, you need to update components. you can create cq:htmlTag node for each component and specify custom tags like section, article etc in the cq:tagName property
@Jojo_08 Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies