Procházet zdrojové kódy

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.
tags/6.3-RC1
U-DESKTOP-GN2POE0\jared před 7 roky
rodič
revize
6b5beb1667

+ 2
- 1
server/sonar-web/src/main/js/apps/issues/templates/issues-issue-filter.hbs Zobrazit soubor

@@ -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>

+ 2
- 1
server/sonar-web/src/main/js/components/issue/templates/issue.hbs Zobrazit soubor

@@ -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>


+ 1
- 0
sonar-core/src/main/resources/org/sonar/l10n/core.properties Zobrazit soubor

@@ -601,6 +601,7 @@ issue.comment.delete_confirm_title=Delete Comment
issue.comment.delete_confirm_message=Do you want to delete this comment?
issue.comment.delete_confirm_button=Delete
issue.details=Details
issue.rule_details=Rule Details
issue.send_notifications=Send Notifications
issue.transition=Transition
issue.transition.confirm=Confirm

Načítá se…
Zrušit
Uložit