๐ธ๏ธ Spider: [SEO improvement] Fix invalid nested <main> tags in actualites detail page#149
๐ธ๏ธ Spider: [SEO improvement] Fix invalid nested <main> tags in actualites detail page#149kourdroid wants to merge 1 commit into
<main> tags in actualites detail page#149Conversation
Changed the inner `<main>` tag wrapper to a `<div>` in `src/app/(frontend)/[locale]/actualites/[slug]/page.tsx` to fix an invalid nested `<main>` tags issue. This improves HTML5 semantic validity and SEO crawlability. Co-authored-by: kourdroid <36898160+kourdroid@users.noreply.github.com>
|
๐ Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a ๐ emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
๐ก What:
Replaced an inner
<main>wrapper tag with a<div>tag in theactualites/[slug]/page.tsxdetail layout, as the outermost wrapper of the page already utilizes a<main>tag. Added an explanatory inline comment.๐ฏ Why:
HTML5 specifications dictate that a document should not contain multiple visible
<main>elements, and they certainly cannot be nested. This structural validation error negatively affects crawler readability.๐ Impact:
Resolves an HTML5 semantics violation, providing search engines with a clear, valid document structure that makes indexing the primary content more reliable.
PR created automatically by Jules for task 16698639310849918667 started by @kourdroid