• Resolved lbaccess

    (@lbaccess)


    Hello,
    I added a text block in Classic Widgets to the footer of my site. The title of that text block is “Contact”. By default, my theme sets that title size to H5. That generates an Incorrect Heading Order error:

    Affected code: <h5 class=”qodef-widget-title”>CONTACT</h5>

    The theme developer offered this alteration to change the H5 to another heading, or in this case, a simple <p>:

    jQuery(document).ready(function() {
    jQuery(‘#qodef-page-footer .widget h5.qodef-widget-title’).each(function() {
    jQuery(this).replaceWith(‘<p>’+jQuery(this).html()+'</p>’);
    });
    });

    The change is seen when I inspect the element in the browser. However, the plugin still reads it as an H5 and does not recognize the alteration. I’ve updated the pages and posts which the error occurs many times. Any ideas?

    • This topic was modified 2 years, 3 months ago by lbaccess.
Viewing 1 replies (of 1 total)
  • Plugin Author Steve Jones

    (@stevejonesdev)

    Hi @lbaccess,

    The plugin will not process changes made to the page via javascript. That is why you’re still seeing the error. I would ignore the issue and add a comment that you manually reviewed the issue.

Viewing 1 replies (of 1 total)
  • The topic ‘Incorrect Heading Order’ is closed to new replies.