
org.sonar.l10n.web.rules.Web.IllegalAttributeCheck.html Maven / Gradle / Ivy
This rule checks that the specified attributes are not present in HTML tags.
Noncompliant Code Example
For a disallowed attribute list of: a.name
:
<a href="blah.com" name="Blah link"> <!-- Noncompliant; name attribute is used -->
Compliant Solution
<a href="blah.com">
© 2015 - 2025 Weber Informatics LLC | Privacy Policy