Skip to content

Commit

Permalink
Merge pull request #3405 from projectblacklight/tab-order
Browse files Browse the repository at this point in the history
change tab order to be more accessible
  • Loading branch information
corylown authored Jan 17, 2025
2 parents 242e7ee + 116b466 commit b8cf213
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/views/layouts/spotlight/spotlight.html.erb
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<% content_for(:content) do %>
<% if content? :sidebar %>
<section id="content" class="<%= main_content_classes %> <%= content_for(:content_position) || 'order-last' %>" aria-label="<%= t('blacklight.search.search_results') %>">
<%= yield %>
</section>

<aside id="sidebar" class="<%= sidebar_classes %> <%= content_for(:sidebar_position) || 'order-first' %>" aria-label="<%= t('blacklight.search.documents.aria.limit_search') %>">
<aside id="sidebar" class="<%= sidebar_classes %> <%= content_for(:sidebar_position) %>" aria-label="<%= t('blacklight.search.documents.aria.limit_search') %>">
<%= content_for(:sidebar) %>
</aside>

<section id="content" class="<%= main_content_classes %> <%= content_for(:content_position) %>" aria-label="<%= t('blacklight.search.search_results') %>">
<%= yield %>
</section>
<% else %>
<section id="content" class="col-md-12">
<%= yield %>
Expand Down

0 comments on commit b8cf213

Please sign in to comment.