H42 Possible Unmarked Heading Warning

Possible heading

Lorem ipsum dolor sit amet, foo bar HTML_CodeSniffer nonummy est.

Explanation

According to Success Criterion 1.3.1 (Info and Relationships), authors should use semantic markup wherever possible.

This includes usage of heading level elements (h1 to h6) when content is intended to be a heading. Where bolded or italicised text is the only content in a paragraph, HTML_CodeSniffer will throw this warning, flagging a heading that may have been marked using certain tags (eg. strong, em, b, i) instead of a heading element.

Expected Warnings

Relevant Success Criteria

Relevant Techniques