diff options
Diffstat (limited to 'server/sonar-web/src/main')
2 files changed, 9 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/home/EvolutionDeprecated.tsx b/server/sonar-web/src/main/js/apps/quality-profiles/home/EvolutionDeprecated.tsx index 0724e81957d..305f660c19e 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/home/EvolutionDeprecated.tsx +++ b/server/sonar-web/src/main/js/apps/quality-profiles/home/EvolutionDeprecated.tsx @@ -130,6 +130,11 @@ export default class EvolutionDeprecated extends React.PureComponent<Props> { <Link className="link-no-underline" to={getDeprecatedActiveRulesUrl({ qprofile: profile.key })} + aria-label={translateWithParameters( + 'quality_profile.lang_deprecated_x_rules', + profile.languageName, + profile.activeDeprecatedRuleCount + )} > {translateWithParameters( 'quality_profile.x_rules', diff --git a/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/EvolutionDeprecated-test.tsx.snap b/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/EvolutionDeprecated-test.tsx.snap index 12606344d36..e2443422339 100644 --- a/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/EvolutionDeprecated-test.tsx.snap +++ b/server/sonar-web/src/main/js/apps/quality-profiles/home/__tests__/__snapshots__/EvolutionDeprecated-test.tsx.snap @@ -37,6 +37,7 @@ exports[`should render correctly 1`] = ` JavaScript , <ForwardRef(Link) + aria-label="quality_profile.lang_deprecated_x_rules.JavaScript.4" className="link-no-underline" to={ { @@ -83,6 +84,7 @@ exports[`should render correctly 1`] = ` JavaScript , <ForwardRef(Link) + aria-label="quality_profile.lang_deprecated_x_rules.JavaScript.3" className="link-no-underline" to={ { @@ -122,6 +124,7 @@ exports[`should render correctly 1`] = ` JavaScript , <ForwardRef(Link) + aria-label="quality_profile.lang_deprecated_x_rules.JavaScript.2" className="link-no-underline" to={ { @@ -154,6 +157,7 @@ exports[`should render correctly 1`] = ` JavaScript , <ForwardRef(Link) + aria-label="quality_profile.lang_deprecated_x_rules.JavaScript.2" className="link-no-underline" to={ { |