From 6f3e4395a95f34462751fb5a569805171cca55c4 Mon Sep 17 00:00:00 2001 From: djanelle-mit Date: Tue, 10 Mar 2026 10:53:23 -0400 Subject: [PATCH 1/4] Added button role to search tabs --- app/helpers/search_helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb index 82c69c4e..e57d6eb8 100644 --- a/app/helpers/search_helper.rb +++ b/app/helpers/search_helper.rb @@ -36,10 +36,12 @@ def link_to_tab(target, label = nil) link_to tab_label, results_path(params.permit(:q, :per_page, :booleanType, :tab).merge(tab: clean_target)), aria: { current: 'page' }, class: 'active tab-link', + role: 'button', data: { turbo_frame: 'search-results', turbo_action: 'advance' } else link_to tab_label, results_path(params.permit(:q, :per_page, :booleanType, :tab).merge(tab: clean_target)), class: 'tab-link', + role: 'button', data: { turbo_frame: 'search-results', turbo_action: 'advance' } end end From 87d7e32c523260c95db2a801e16464da4dd54747 Mon Sep 17 00:00:00 2001 From: djanelle-mit Date: Tue, 10 Mar 2026 14:12:33 -0400 Subject: [PATCH 2/4] Removing hidden screen reader title block on USE and GEO --- app/views/search/_result.html.erb | 1 - app/views/search/_result_geo.html.erb | 2 +- app/views/search/_result_primo.html.erb | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/views/search/_result.html.erb b/app/views/search/_result.html.erb index d8040e59..47b913fa 100644 --- a/app/views/search/_result.html.erb +++ b/app/views/search/_result.html.erb @@ -4,7 +4,6 @@

<%= result[:eyebrow] %>

<% end %>

- Title: <%= link_to_result(result) %>

diff --git a/app/views/search/_result_geo.html.erb b/app/views/search/_result_geo.html.erb index 6480185b..e5340d00 100644 --- a/app/views/search/_result_geo.html.erb +++ b/app/views/search/_result_geo.html.erb @@ -1,7 +1,7 @@
  • - Title: <%= link_to(result_geo[:title], record_path(result_geo[:identifier])) %> + <%= link_to(result_geo[:title], record_path(result_geo[:identifier])) %>

    diff --git a/app/views/search/_result_primo.html.erb b/app/views/search/_result_primo.html.erb index a5493346..a4af21f6 100644 --- a/app/views/search/_result_primo.html.erb +++ b/app/views/search/_result_primo.html.erb @@ -4,7 +4,6 @@

    <%= result[:eyebrow] %>

    <% end %>

    - Title: <% if result[:links]&.find { |link| link['kind'] == 'full record' } %> <%= link_to(result[:title], result[:links].find { |link| link['kind'] == 'full record' }['url']) %> <% else %> From 551192f6e5851f2768b1a578bf3bdd2b73683857 Mon Sep 17 00:00:00 2001 From: djanelle-mit Date: Tue, 10 Mar 2026 14:16:30 -0400 Subject: [PATCH 3/4] Added hidden SR H2 for suggested resource above TACOS intervention --- app/views/tacos/analyze.html.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/tacos/analyze.html.erb b/app/views/tacos/analyze.html.erb index 70ef9a7a..8dccc877 100644 --- a/app/views/tacos/analyze.html.erb +++ b/app/views/tacos/analyze.html.erb @@ -1,4 +1,5 @@ <% if @suggestions.present? && !Feature.enabled?(:geodata) %> +

    Suggested resource