Invalid HTML in com_content override

Summary:
The com_content override uses a <span> tag for itemprop (as did J!3.3). Because the editors insert <p> and other tags that are invalid HTML inside <span></span> some browsers fail to render content and validators output lots of errors.

The Wanderers template still uses <span></span> for itemprop tags.

Solution:
The discussion covers using <section> tags but the issue was resolved using <div> tags instead to be compatible with IE8 and other non-HTML5 browsers. I have tested this locally converting <span> to <div> on lines 196 & 198 of the file wanderers/html/com_content/article/default.php.

The related bug and issue is found here:

Bug: https://github.com/joomla/joomla-cms/pull/3511
Issue: https://issues.joomla.org/tracker/joomla-cms/3508

This section can only be seen by users with a valid subscription.
If you have a valid subscription, please login now

Support is
Online

The support team is online and will be able to answer your inquiries. Please stay calm, follow the rules and do not cross post.

We will attend to you as soon as we can.

Your time
Stack Ideas time