Skip to content

Commit

Permalink
Use a labeled <aside> for tools sidebar
Browse files Browse the repository at this point in the history
This mirrors template changes in Blacklight 8.8 that convert the
sidebar from a <section> into an <aside> with label.

Ref projectblacklight/blacklight@2fa70cf

Closes #1437
  • Loading branch information
thatbudakguy committed Jan 27, 2025
1 parent 92024aa commit 38b4ac2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/layouts/catalog_result.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<%= render Blacklight::Document::PageHeaderComponent.new(document: @document, search_context: @search_context, search_session: search_session) %>
<% end %>
<% content_for(:content) do %>
<section class="<%= show_sidebar_classes %>">
<aside class="<%= show_sidebar_classes %>" aria-label="<%= t('.aria.sidebar') %>">
<%= content_for(:sidebar) %>
</section>
</aside>

<section class="<%= show_content_classes %>">
<%= yield %>
Expand Down

0 comments on commit 38b4ac2

Please sign in to comment.