Skip to content

Commit

Permalink
Merge pull request #6959 from samvera/6746-recently-uploaded-labels-d…
Browse files Browse the repository at this point in the history
…o-not-meet-color-contrast-accessibility-requirements

Added text-dark for accessibility
  • Loading branch information
randalldfloyd authored Nov 4, 2024
2 parents ea6f782 + fe33af6 commit bb28056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/hyrax/homepage/_recent_document.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<% end %>
</h3>
<p class="recent-field">
<span class="recent-label"><%= t('hyrax.homepage.recently_uploaded.document.depositor_label') %>:</span> <%= link_to_profile recent_document.depositor(t('hyrax.homepage.recently_uploaded.document.depositor_missing')) %>
<span class="recent-label text-dark"><%= t('hyrax.homepage.recently_uploaded.document.depositor_label') %>:</span> <%= link_to_profile recent_document.depositor(t('hyrax.homepage.recently_uploaded.document.depositor_missing')) %>
</p>
<p class="recent-field">
<span class="recent-label"><%= t('hyrax.homepage.recently_uploaded.document.keyword_label') %>:</span> <%= link_to_facet_list(recent_document.keyword, 'keyword', t('hyrax.homepage.recently_uploaded.document.keyword_missing')).html_safe %>
<span class="recent-label text-dark"><%= t('hyrax.homepage.recently_uploaded.document.keyword_label') %>:</span> <%= link_to_facet_list(recent_document.keyword, 'keyword', t('hyrax.homepage.recently_uploaded.document.keyword_missing')).html_safe %>
</p>
</div>
</div>
Expand Down

0 comments on commit bb28056

Please sign in to comment.