diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-03-20 09:34:26 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2016-03-20 09:34:26 +0000 |
commit | eaea4e9fee7e70c6df4db5b749fbe94937bbd35c (patch) | |
tree | 2c8fff46458f1aa05d2fe6202d61319bf2024a81 /app/views/reports | |
parent | e63bf1d5970cec0e63029dd1deb36539fc844dae (diff) | |
download | redmine-eaea4e9fee7e70c6df4db5b749fbe94937bbd35c.tar.gz redmine-eaea4e9fee7e70c6df4db5b749fbe94937bbd35c.zip |
Improve accessibility for icon-only links by adding hidden text (#21805).
Patch by Daniel Ritz.
git-svn-id: http://svn.redmine.org/redmine/trunk@15271 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/reports')
-rw-r--r-- | app/views/reports/issue_report.html.erb | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/app/views/reports/issue_report.html.erb b/app/views/reports/issue_report.html.erb index 1cb3ccdd3..95c40ad6d 100644 --- a/app/views/reports/issue_report.html.erb +++ b/app/views/reports/issue_report.html.erb @@ -3,25 +3,37 @@ <div class="splitcontentleft"> <h3> <%=l(:field_tracker)%> - <%= link_to '', project_issues_report_details_path(@project, :detail => 'tracker'), :class => 'icon-only icon-zoom-in' %> + <%= link_to l(:label_details), + project_issues_report_details_path(@project, :detail => 'tracker'), + :class => 'icon-only icon-zoom-in', + :title => l(:label_details) %> </h3> <%= render :partial => 'simple', :locals => { :data => @issues_by_tracker, :field_name => "tracker_id", :rows => @trackers } %> <br /> <h3> <%=l(:field_priority)%> - <%= link_to '', project_issues_report_details_path(@project, :detail => 'priority'), :class => 'icon-only icon-zoom-in' %> + <%= link_to l(:label_details), + project_issues_report_details_path(@project, :detail => 'priority'), + :class => 'icon-only icon-zoom-in', + :title => l(:label_details) %> </h3> <%= render :partial => 'simple', :locals => { :data => @issues_by_priority, :field_name => "priority_id", :rows => @priorities } %> <br /> <h3> <%=l(:field_assigned_to)%> - <%= link_to '', project_issues_report_details_path(@project, :detail => 'assigned_to'), :class => 'icon-only icon-zoom-in' %> + <%= link_to l(:label_details), + project_issues_report_details_path(@project, :detail => 'assigned_to'), + :class => 'icon-only icon-zoom-in', + :title => l(:label_details) %> </h3> <%= render :partial => 'simple', :locals => { :data => @issues_by_assigned_to, :field_name => "assigned_to_id", :rows => @assignees } %> <br /> <h3> <%=l(:field_author)%> - <%= link_to '', project_issues_report_details_path(@project, :detail => 'author'), :class => 'icon-only icon-zoom-in' %> + <%= link_to l(:label_details), + project_issues_report_details_path(@project, :detail => 'author'), + :class => 'icon-only icon-zoom-in', + :title => l(:label_details) %> </h3> <%= render :partial => 'simple', :locals => { :data => @issues_by_author, :field_name => "author_id", :rows => @authors } %> <br /> @@ -31,21 +43,30 @@ <div class="splitcontentright"> <h3> <%=l(:field_version)%> - <%= link_to '', project_issues_report_details_path(@project, :detail => 'version'), :class => 'icon-only icon-zoom-in' %> + <%= link_to l(:label_details), + project_issues_report_details_path(@project, :detail => 'version'), + :class => 'icon-only icon-zoom-in', + :title => l(:label_details) %> </h3> <%= render :partial => 'simple', :locals => { :data => @issues_by_version, :field_name => "fixed_version_id", :rows => @versions } %> <br /> <% if @project.children.any? %> <h3> <%=l(:field_subproject)%> - <%= link_to '', project_issues_report_details_path(@project, :detail => 'subproject'), :class => 'icon-only icon-zoom-in' %> + <%= link_to l(:label_details), + project_issues_report_details_path(@project, :detail => 'subproject'), + :class => 'icon-only icon-zoom-in', + :title => l(:label_details) %> </h3> <%= render :partial => 'simple', :locals => { :data => @issues_by_subproject, :field_name => "project_id", :rows => @subprojects } %> <br /> <% end %> <h3> <%=l(:field_category)%> - <%= link_to '', project_issues_report_details_path(@project, :detail => 'category'), :class => 'icon-only icon-zoom-in' %> + <%= link_to l(:label_details), + project_issues_report_details_path(@project, :detail => 'category'), + :class => 'icon-only icon-zoom-in', + :title => l(:label_details) %> </h3> <%= render :partial => 'simple', :locals => { :data => @issues_by_category, :field_name => "category_id", :rows => @categories } %> <br /> |