org.sonar.l10n.web.rules.Web.NonConsecutiveHeadingCheck.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-web-plugin Show documentation
Show all versions of sonar-web-plugin Show documentation
Enables scanning of HTML, and JSP/JSF files.
The newest version!
Heading tags are used by search engines and screen reader softwares to construct an outline of the page.
Starting at <h1>
and not skipping any level eases this automatic construction.
Noncompliant Code Example
<h2>My Title</h2> <!-- Non-Compliant - h1 is not being used -->
<h3>My Sub Title</h3> <!-- Compliant -->
Compliant Solution
<h1>My Title</h1> <!-- Compliant -->
<h2>My Sub Title</h2> <!-- Compliant -->
© 2015 - 2024 Weber Informatics LLC | Privacy Policy