aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src
diff options
context:
space:
mode:
authorU-DESKTOP-GN2POE0\jared <jared.stofflet@gmail.com>2016-12-29 22:36:32 -0500
committerStas Vilchik <vilchiks@gmail.com>2017-02-02 15:48:32 +0100
commit6b5beb16675db71236ecf5a3b0c50dff8d7e52fc (patch)
treea67a529117e3960f93a736a56038e34fe33b423e /server/sonar-web/src
parent90f7d5054888239d60307487d9ff0cd8803832f5 (diff)
downloadsonarqube-6b5beb16675db71236ecf5a3b0c50dff8d7e52fc.tar.gz
sonarqube-6b5beb16675db71236ecf5a3b0c50dff8d7e52fc.zip
Add aria labels to issue rule and filter buttons in issue list. This is required since these buttons do not have
text describing what they do so are announced as "button" when using Jaws screen reading software.
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r--server/sonar-web/src/main/js/apps/issues/templates/issues-issue-filter.hbs3
-rw-r--r--server/sonar-web/src/main/js/components/issue/templates/issue.hbs3
2 files changed, 4 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/issues/templates/issues-issue-filter.hbs b/server/sonar-web/src/main/js/apps/issues/templates/issues-issue-filter.hbs
index f7f1bd1b215..16a212ddd60 100644
--- a/server/sonar-web/src/main/js/apps/issues/templates/issues-issue-filter.hbs
+++ b/server/sonar-web/src/main/js/apps/issues/templates/issues-issue-filter.hbs
@@ -1,5 +1,6 @@
<li class="issue-meta">
- <button class="button-link issue-action issue-action-with-options js-issue-filter">
+ <button class="button-link issue-action issue-action-with-options js-issue-filter"
+ aria-label="{{t "issue.filter_similar_issues"}}">
<i class="icon-filter icon-half-transparent"></i>&nbsp;<i class="icon-dropdown"></i>
</button>
</li>
diff --git a/server/sonar-web/src/main/js/components/issue/templates/issue.hbs b/server/sonar-web/src/main/js/components/issue/templates/issue.hbs
index 3f4975d1f27..a828ecf5e3e 100644
--- a/server/sonar-web/src/main/js/components/issue/templates/issue.hbs
+++ b/server/sonar-web/src/main/js/components/issue/templates/issue.hbs
@@ -5,7 +5,8 @@
<td>
<div class="issue-message">
{{message}}&nbsp;
- <button class="button-link js-issue-rule issue-rule icon-ellipsis-h"></button>
+ <button class="button-link js-issue-rule issue-rule icon-ellipsis-h"
+ aria-label="{{t 'issue.rule_details'}}"></button>
</div>
</td>