Identify Empty Heading tags
Identify pages on your site where heading tags are being used, but are empty.
Blaine Herman avatar
Written by Blaine Herman
Updated over a week ago

Type of policy: XPath

What it is used for: Empty heading tags can be confusing for screen readers, and even search engines. These can be bad for your SEO, and for the accessibility of your website. This policy can be used for H1, H2, H3, etc. 

How to set it up:

  • Use XPath

  • Set policy to “Page contains" the XPath

  • Use the following:  //h1[text() = '']

Note that the above policy is searching for missing H1 tags only. 


For information on how to create Policies, please see Policy Overview.

Did this answer your question?