Add aria-labels to close-handlers on flash messages

pull/3636/head
Magdalena Kafka 9 years ago
parent d426edf0cd
commit 9c41c385d4
  1. 2
      app/views/planning_element_type_colors/confirm_destroy.html.erb
  2. 2
      app/views/project_associations/confirm_destroy.html.erb
  3. 2
      app/views/project_types/confirm_destroy.html.erb

@ -34,7 +34,7 @@ See doc/COPYRIGHT.rdoc for more details.
<div class='flash warning'>
<%= l('timelines.really_delete_color') %>
<i class="icon-close close-handler"></i>
<i class="icon-close close-handler" aria-label="{{ ::I18n.t('js.close_popup_title') }}"></i>
</div>
<fieldset class="form--fieldset">

@ -34,7 +34,7 @@ See doc/COPYRIGHT.rdoc for more details.
<div class='flash warning'>
<%= l('timelines.really_delete_project_association_between_project_a_and_project_b',
:project_a => @project, :project_b => @project_association.project(@project)) %>
<i class="icon-close close-handler"></i>
<i class="icon-close close-handler" aria-label="{{ ::I18n.t('js.close_popup_title') }}"></i>
</div>
<%= format_text @project_association, :description %>

@ -34,7 +34,7 @@ See doc/COPYRIGHT.rdoc for more details.
<div class='flash warning'>
<%= l('timelines.really_delete_project_type') %>
<i class="icon-close close-handler"></i>
<i class="icon-close close-handler" aria-label="{{ ::I18n.t('js.close_popup_title') }}"></i>
</div>
<fieldset class="form--fieldset">

Loading…
Cancel
Save