πΈοΈ Spider: [SEO improvement] Semantic HTML Fix#160
Conversation
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: Converted the outermost
<main>wrapper in theactualitesdetail page (src/app/(frontend)/[locale]/actualites/[slug]/page.tsx) to a<div>and retained the inner<main>wrapper for the primary article content. Added explanatory SEO comments.π― Why: In HTML5,
<main>elements cannot be nested. Theactualites/[slug]/page.tsxcontained a page-level layout (with sidebars) alongside the core article, leading to an invalid nested<main>structure.π Impact: This fixes an invalid HTML semantic issue, improving the document's structure for search engines to crawl and index correctly while maintaining full accessibility and layout integrity.
PR created automatically by Jules for task 2711643877845475508 started by @kourdroid