The “main” element must not appear as a descendant of the “section” element. - Forum | JoomShaper
Staff replied Helix Framework

The “main” element must not appear as a descendant of the “section” element.

Asked by Nuno 1 year ago Last activity 1 year ago

"Good morning,

I am setting up my website following the best web accessibility practices.
I am using the Helix Framework and I am getting an error because the <main> element is inside a <section>.
How can I modify the layout so that <main id="sp-component" class="col-lg-8 "> is not inside a <section>?"

Error message: "The “main” element must not appear as a descendant of the “section” element."

Kind regards,

Nuno Mota

6 replies

Ofi Khan Staff

Hello Nuno,

Thank you for reaching out to our technical support forum. I’m sorry to hear about the trouble you’re experiencing.

I have informed the developer team about this issue. Hopefully, it will be fixed soon.

Best regards

Nuno Asked this

Hello Ofi,

Thank you very much!
Do you have any idea the time nedeed for this?
Or if exists any kind of override?

Best regards,

Nuno

Ofi Khan Staff

Sorry, I do not have any date to share. I would ask the team to give it priority.

Nuno Asked this

Hi,

There is any kind of override so that i can solve this?
kid regards,

Nuno

Ofi Khan Staff

Unfortunately, it is not solvable with overrides. It is in the core plugin. It has to be fixed from our end. I will ask the team so that they must include on the next Helix update. I appreciate your patience and time in this matter.

Ofi Khan Staff

Just checking in to see if you had any feedback regarding the solution provided. If the answer resolved your query, you can mark it as accepted to help close the post and guide others with similar questions. There is a button to accept answers after each comment.

If there's anything else you need assistance with, feel free to let us know!

Log in to reply.