• Resolved Rad

    (@radwolf83)


    Hello:

    When I analyse the site in Google Pagespeed I get accessibility error like:

    • Heading elements do not appear in descending sequential order.

    The business name in the contact details appears with an H4 tag and I think it should be H3.

    I don’t know how to fix it myself, but I think it’s important.

    Any help? Thanks

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @radwolf83,

    Thank you for contacting Rank Math support.

    You can use the following filter to change the heading tag in the shortcode output:

    add_filter('rank_math/contact_info/html', function($html){	$html = str_replace('h4', 'h3', $html);	return $html;});

    Here is how to add a filter to your site: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Thread Starter Rad

    (@radwolf83)

    Thank, it works!!

    I’m doing the second method from tutorial.

    Thanks a lot.

    Plugin Support Rank Math Support

    (@rankmathsupport)

    Hello @radwolf83,
     
    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
     
    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on
    https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post
     
    about your overall experience with Rank Math? We appreciate your time and patience.
     
    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
     
    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Accesibility error’ is closed to new replies.