aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main
diff options
context:
space:
mode:
authorWouter Admiraal <wouter.admiraal@sonarsource.com>2019-06-21 13:41:37 +0200
committersonartech <sonartech@sonarsource.com>2019-06-28 08:45:47 +0200
commit481ef47416e6ff6fdbd45c5e2741bd421c9f5aa3 (patch)
tree92f6565aea7222c315957111250027c364c2da5a /server/sonar-web/src/main
parentb426dd7d8b726839bd899898b6bdd4f1ba85b8f3 (diff)
downloadsonarqube-481ef47416e6ff6fdbd45c5e2741bd421c9f5aa3.tar.gz
sonarqube-481ef47416e6ff6fdbd45c5e2741bd421c9f5aa3.zip
SONAR-11772 Make project activity graph on Overview more accessible
Diffstat (limited to 'server/sonar-web/src/main')
-rw-r--r--server/sonar-web/src/main/js/components/preview-graph/PreviewGraph.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/components/preview-graph/PreviewGraph.tsx b/server/sonar-web/src/main/js/components/preview-graph/PreviewGraph.tsx
index 917bed05128..bbd954e03a7 100644
--- a/server/sonar-web/src/main/js/components/preview-graph/PreviewGraph.tsx
+++ b/server/sonar-web/src/main/js/components/preview-graph/PreviewGraph.tsx
@@ -34,6 +34,7 @@ import {
} from '../../apps/projectActivity/utils';
import { formatMeasure, getShortType } from '../../helpers/measures';
import { getBranchLikeQuery } from '../../helpers/branches';
+import { translate } from '../../helpers/l10n';
import { withRouter, Router } from '../hoc/withRouter';
interface History {
@@ -184,6 +185,7 @@ class PreviewGraph extends React.PureComponent<Props, State> {
return (
<div
+ aria-label={translate('overview.project_activity.click_to_see')}
className="overview-analysis-graph big-spacer-bottom spacer-top"
onClick={this.handleClick}
role="link"