diff --git a/lib/embed/media_tag.rb b/lib/embed/media_tag.rb index e9dc4d0cc..fbcb4f878 100644 --- a/lib/embed/media_tag.rb +++ b/lib/embed/media_tag.rb @@ -43,6 +43,7 @@ def media_element(label, file, type) data-src="#{streaming_url_for(file, :dash)}" data-auth-url="#{authentication_url(file)}" controls='controls' + aria-labelledby="access-restricted-message-div-#{file_index}" class="#{'sul-embed-many-media' if many_primary_files?}" style="height: #{media_element_height}; display:none;" height="#{media_element_height}"> @@ -125,7 +126,7 @@ def access_restricted_overlay(stanford_only, location_restricted) # TODO: line1 and line1 spans should be populated by values returned from stacks <<-HTML.strip_heredoc