diff --git a/app/views/hyrax/batch_select/_add_button.html.erb b/app/views/hyrax/batch_select/_add_button.html.erb index db763a84bf..a66c5b82ab 100644 --- a/app/views/hyrax/batch_select/_add_button.html.erb +++ b/app/views/hyrax/batch_select/_add_button.html.erb @@ -1,3 +1,3 @@
- <%= check_box_tag "batch_document_ids[]", document.id, false, class:"batch_document_selector", id: "batch_document_#{document.id}", checks: "active" %> + <%= check_box_tag "batch_document_ids[]", document.id, false, class:"batch_document_selector", id: "batch_document_#{document.id}", checks: "active", 'aria-labelledby': "batch_document_#{document.id}" %>
\ No newline at end of file diff --git a/app/views/hyrax/embargoes/_list_expired_active_embargoes.html.erb b/app/views/hyrax/embargoes/_list_expired_active_embargoes.html.erb index 07cc8b5edf..37889239e8 100644 --- a/app/views/hyrax/embargoes/_list_expired_active_embargoes.html.erb +++ b/app/views/hyrax/embargoes/_list_expired_active_embargoes.html.erb @@ -22,7 +22,7 @@ - + <%= render partial: 'table_headers' %> @@ -31,7 +31,7 @@ - + @@ -40,9 +40,9 @@ <% end %>
<%= t('.select_all') %>
<%= render 'hyrax/batch_select/add_button', document: curation_concern %> <%= curation_concern.human_readable_type %><%= link_to curation_concern, edit_embargo_path(curation_concern) %> <%= visibility_badge(curation_concern.visibility) %> <%= curation_concern.embargo_release_date %> <%= visibility_badge(curation_concern.visibility_after_embargo) %>
- <%= check_box_tag "embargoes[#{i}][copy_visibility]", curation_concern.id, true %> - <%= t('.change_all', cc: curation_concern) %> - <%= visibility_badge(curation_concern.visibility_after_embargo) %>? + <%= check_box_tag "embargoes[#{i}][copy_visibility]", curation_concern.id, true, 'aria-labelledby': "embargoes_#{i}_copy_visibility" %> +