org.sonar.l10n.web.rules.Web.S1436.html Maven / Gradle / Ivy
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>