Question about missing in theme markup

Posted in: Newspaper
Post count: 128

Hi TagDiv team,

I noticed that in the Newspaper theme (both demo and my site) the <main id=”main” role=”main”> element is missing in the HTML markup. This is causing accessibility and SEO warnings in PageSpeed Insights.

Could you please clarify if this is intentional, or if there’s a recommended way to include a proper <main> element in the theme?

Thank you for your help!

Best regards,
Norbert

Post count: 35449

Hi Norbert,
These are new CWV standards, and they apply to website accessibility, not SEO: https://dequeuniversity.com/rules/axe/4.11/landmark-one-main
Unfortunately, our theme does not currently include all of these landmarks, only some elements have them. However, this is already on our list, and our developers will do their best to improve all theme elements.
Thank you!

Post count: 128

Hey,
semantics is also SEO, and it’s worth knowing! @ncalex

Post count: 35449

Hi,
Sorry if I misunderstood it. I knew that semantic HTML is not SEO, but yes, it is an ok practice to use them, and most likely helps with the SEO part.
If my information is wrong, I apologize, I’m not an SEO expert.
Thank you for your understanding!

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.