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 check 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 check is searching for missing H1 tags only.
For information on how to create Custom Checks, please see this article.