From 078eea9cc8fd37740660a8d679b10afdfbdb5c4f Mon Sep 17 00:00:00 2001 From: David Zuckerman Date: Thu, 19 Mar 2026 12:44:30 -0700 Subject: [PATCH] accessibility, fixed heading labels, missing lang attr --- app/views/layouts/application.html.erb | 8 ++++---- app/views/search_casefiles/_form.html.erb | 4 +--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 0f3636a..90e2895 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,5 +1,5 @@ - + <%= content_for?(:title) ? content_for(:title) : 'Early Arrivals Records Search (EARS)' %> <%= stylesheet_link_tag :application %> @@ -8,11 +8,11 @@
- <%= link_to image_tag(asset_path('nara.jpg'), alt: 'Chinese Immigration to the United States collection home'), "https://web.archive.org/web/20220124061848/https://bancroft.berkeley.edu/collections/chinese-immigration-to-the-united-states-1884-1944/index.html" %> + <%= link_to image_tag(asset_path('nara.jpg'), alt: 'Chinese Immigration to the United States collection home'), "https://web.archive.org/web/20220124061848/https://bancroft.berkeley.edu/collections/chinese-immigration-to-the-united-states-1884-1944/index.html", aria: { label: 'Open Chinese Immigration to the United States collection home' } %>
-

The Early Arrivals Records Search (EARS)

-

A dataset from Investigation Arrival Case Files, San Francisco and Hawaii, Records of the U.S. Immigration and Naturalization Service, Record Group 85, National Archives at San Francisco.

+

The Early Arrivals Records Search (EARS)

+

A dataset from Investigation Arrival Case Files, San Francisco and Hawaii, Records of the U.S. Immigration and Naturalization Service, Record Group 85, National Archives at San Francisco.

diff --git a/app/views/search_casefiles/_form.html.erb b/app/views/search_casefiles/_form.html.erb index e6dfc01..a4ee5fd 100644 --- a/app/views/search_casefiles/_form.html.erb +++ b/app/views/search_casefiles/_form.html.erb @@ -7,9 +7,7 @@ <% end %>

- - <%= f.submit %> - + <%= f.submit 'Search', aria: { label: 'Search case files' } %> <% end %>