diff --git a/sonar-html-plugin/src/main/resources/org/sonar/l10n/web/rules/Web/HeaderCheck.json b/sonar-html-plugin/src/main/resources/org/sonar/l10n/web/rules/Web/HeaderCheck.json index 4e516dc7..2074aaa8 100644 --- a/sonar-html-plugin/src/main/resources/org/sonar/l10n/web/rules/Web/HeaderCheck.json +++ b/sonar-html-plugin/src/main/resources/org/sonar/l10n/web/rules/Web/HeaderCheck.json @@ -3,7 +3,7 @@ "type": "CODE_SMELL", "code": { "impacts": { - "MAINTAINABILITY": "HIGH" + "MAINTAINABILITY": "BLOCKER" }, "attribute": "LAWFUL" }, diff --git a/sonar-html-plugin/src/main/resources/org/sonar/l10n/web/rules/Web/ParentElementIllegalCheck.html b/sonar-html-plugin/src/main/resources/org/sonar/l10n/web/rules/Web/ParentElementIllegalCheck.html index 9b1beb3a..2b46f855 100644 --- a/sonar-html-plugin/src/main/resources/org/sonar/l10n/web/rules/Web/ParentElementIllegalCheck.html +++ b/sonar-html-plugin/src/main/resources/org/sonar/l10n/web/rules/Web/ParentElementIllegalCheck.html @@ -1,4 +1,4 @@ -
This rule is deprecated; use {rule:Web:ChildElementIllegalCheck} instead.
+This rule is deprecated; use {rule:Web:S1931} instead.
Checker for illegal parent element.
E.g.: title must not have parent element body.
diff --git a/sonar-html-plugin/src/main/resources/org/sonar/l10n/web/rules/Web/S1135.json b/sonar-html-plugin/src/main/resources/org/sonar/l10n/web/rules/Web/S1135.json index 1f6d301f..49038ec2 100644 --- a/sonar-html-plugin/src/main/resources/org/sonar/l10n/web/rules/Web/S1135.json +++ b/sonar-html-plugin/src/main/resources/org/sonar/l10n/web/rules/Web/S1135.json @@ -24,5 +24,5 @@ 546 ] }, - "quickfix": "unknown" + "quickfix": "infeasible" } diff --git a/sonar-html-plugin/src/main/resources/org/sonar/l10n/web/rules/Web/S5254.html b/sonar-html-plugin/src/main/resources/org/sonar/l10n/web/rules/Web/S5254.html index c2d119c2..4d92996f 100644 --- a/sonar-html-plugin/src/main/resources/org/sonar/l10n/web/rules/Web/S5254.html +++ b/sonar-html-plugin/src/main/resources/org/sonar/l10n/web/rules/Web/S5254.html @@ -3,12 +3,8 @@It enables assistive technologies, such as screen readers, to provide a comfortable reading experience by adapting the pronunciation and accent to the language. It also helps braille translation software, telling it to switch the control codes for accented characters for instance.
-Other benefits of marking the language include:
-Other benefits of marking the language include assisting user agents in providing dictionary definitions or helping users benefit from translation +tools.
Both the lang
and the xml:lang
attributes can take only one value.
For example, a <button>
element has a default role of button
. If you explicitly define the role of a
<button>
element as button
, it’s considered redundant because it’s the default role of that element.
Remove redundant ARIA role attribute.
-<button role="button" onClick={handleClick}>OK</button>-
Remove ARIA role attributes when they are redundant.
<button onClick={handleClick}>OK</button>+