Skip to content

Commit

Permalink
Merge pull request #6938 from samvera/6797-description-tab-on-new-use…
Browse files Browse the repository at this point in the history
…r-collection-page-missing-role-context

Add presentation role to list items
  • Loading branch information
randalldfloyd authored Nov 1, 2024
2 parents 6b467fd + fdee678 commit 4e73002
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/views/hyrax/dashboard/collections/_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
<%= render "shared/nav_safety_modal" %>
<div class="tabs mt-4" id="collection-edit-controls">
<ul class="nav nav-tabs" id="dashboard-collection-tab" role="tablist">
<li class="nav-item">
<li class="nav-item" role="presentation">
<a href="#description" role="tab" data-toggle="tab" class="nav-link active nav-safety-confirm">
<%= t('.tabs.description') %>
</a>
</li>
<% if @form.persisted? %>
<% if collection_brandable?(collection: @collection) %>
<li class="nav-item">
<li class="nav-item" role="presentation">
<a href="#branding" role="tab" data-toggle="tab" class="nav-link nav-safety-confirm">
<%= t('.tabs.branding') %>
</a>
</li>
<% end %>
<% if collection_discoverable?(collection: @collection) %>
<li class="nav-item">
<li class="nav-item" role="presentation">
<a href="#discovery" role="tab" data-toggle="tab" class="nav-link nav-safety-confirm">
<%= t('.tabs.discovery') %>
</a>
</li>
<% end %>
<% if collection_sharable?(collection: @collection) %>
<li class="nav-item">
<li class="nav-item" role="presentation">
<a href="#sharing" role="tab" data-toggle="tab" class="nav-link nav-safety-confirm">
<%= t('.tabs.sharing') %>
</a>
Expand Down

0 comments on commit 4e73002

Please sign in to comment.