
org.sonar.l10n.web.rules.Web.S1436.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
Analyze HTML (also within PHP/Ruby/etc. templates) and JSP/JSF code.
The newest version!
This rule allows you to make sure that each HTML page contains an element with your configured ID, regardless of element type.
This rule is useful, for instance, if your design requires a placeholder to be present in each page, for example to dynamically insert a footer.
Compliant Solution
In the following example, the expected ID is "#footer":
<div id="#footer">
...
</div>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy