Error In W3C Validator - Question | JoomShaper

Error In W3C Validator

MD

Martin Dusil

Helix Framework 1 year ago

Hi. If I install Helix Ultimate and run the W3C validator on an article, it reports one error: <main id="sp-component" class="col-lg-12 "> - Error: The main element must not appear as a descendant of the section element.

How can I fix this error? I am preparing a website for a state institution, and the website must not contain any errors according to the W3C standard.

Thank you. Martin

0
1 Answers
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 1 year ago #170448

Hello Martin Dusil

Thanks for bringing up the issue on the front. Unfortunately, this cannot be overriden on Helix Ultimate. You have to customize the original file. I have updated the file by replacing <main> tag with <div> tag. But every time you update Helix Ultimate, it will be changed to default <main> tag. So, keep this file separately. I will request the developer team to check this. If possible, then they will update it in the main file in the future to comply with W3C validator.

Please go to this location:

plugins/system/helixultimate/layouts/frontend

and replace conponentarea.php file with the attached file. You need to unzip the file and then replace.

conponentarea.php.zip

Best regards

0