All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.web.rules.Web.NonConsecutiveHeadingCheck.html Maven / Gradle / Ivy

Go to download

Analyze HTML (also within PHP/Ruby/etc. templates) and JSP/JSF code.

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