From 08c4bd2bc8657f70d2bdcce8ccc23a004999ba1e Mon Sep 17 00:00:00 2001 From: Mohamed Abdul Rasheed Date: Thu, 7 May 2026 06:59:07 -0400 Subject: [PATCH] LIBAVALON-527: Add accessibility statement to Avalon PUI. - Added section above the footer to display the accessibility statement. - Added a link to the accessibility statement in the top navigation to improve its visibility. https://umd-dit.atlassian.net/browse/LIBAVALON-527 Co-authored-by: Copilot --- app/assets/stylesheets/custom.css | 34 +++++++++++++++++++ app/views/_user_util_links.html.erb | 5 +++ .../modules/_accessibility_statement.html.erb | 28 +++++++++++++++ app/views/modules/_footer.html.erb | 3 ++ 4 files changed, 70 insertions(+) create mode 100644 app/views/modules/_accessibility_statement.html.erb diff --git a/app/assets/stylesheets/custom.css b/app/assets/stylesheets/custom.css index e9656d2a4a..4bc71633c6 100644 --- a/app/assets/stylesheets/custom.css +++ b/app/assets/stylesheets/custom.css @@ -213,6 +213,40 @@ footer { color: #fff; line-height: 2.5rem; } +/* UMD Customization */ +#accessibility-statement { + background-color: #f2f2f2; + color: #000; + line-height: 1.5; + padding-top: 1rem; +} + +#accessibility-statement .accessibility-statement-inner { + border-left: 4px solid #6c757d; + padding-left: 1rem; +} + +#accessibility-statement .accessibility-statement-title { + font-size: 1rem; + font-weight: 600; + margin-bottom: 0.5rem; + text-transform: uppercase; + letter-spacing: 0.03em; +} + +#accessibility-statement .accessibility-statement-text { + margin-bottom: 0; +} + +#accessibility-statement a { + color: inherit; + text-decoration: underline !important; +} + +ul.navbar-nav.ml-auto .nav-link { + text-decoration: underline; +} +/* End UMD Customization */ .subfooter{ background: #272727; padding: 20px; diff --git a/app/views/_user_util_links.html.erb b/app/views/_user_util_links.html.erb index 6ccc132dad..71382718e1 100644 --- a/app/views/_user_util_links.html.erb +++ b/app/views/_user_util_links.html.erb @@ -122,3 +122,8 @@ Unless required by applicable law or agreed to in writing, software distributed <%# End UMD Customization %> <% end %> +<%# UMD Customization %> + +<%# End UMD Customization %> diff --git a/app/views/modules/_accessibility_statement.html.erb b/app/views/modules/_accessibility_statement.html.erb new file mode 100644 index 0000000000..053528fe1b --- /dev/null +++ b/app/views/modules/_accessibility_statement.html.erb @@ -0,0 +1,28 @@ +<%# +Copyright 2011-2024, The Trustees of Indiana University and Northwestern + University. Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software distributed + under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR + CONDITIONS OF ANY KIND, either express or implied. See the License for the + specific language governing permissions and limitations under the License. +--- END LICENSE_HEADER BLOCK --- +%> + +
+
+
+
+
+

Digital Archive Usage Statement

+

University of Maryland Libraries provides online access to its unique digital materials for reference, research, and record-keeping purposes. Many of these materials, including but not limited to historic manuscripts and newspapers, handwritten diaries, non-English language materials, and archival audiovisual items, present unique accessibility challenges and may not be fully accessible in their current format. If a site visitor wishes to use Digital Collections content beyond this intended scope, it is the user's responsibility to ensure content meets any necessary accessibility requirements. For more information, please visit the University of Maryland's Web Accessibility web page.

+
+
+
+
+
diff --git a/app/views/modules/_footer.html.erb b/app/views/modules/_footer.html.erb index a99415c814..6c6d831ef2 100644 --- a/app/views/modules/_footer.html.erb +++ b/app/views/modules/_footer.html.erb @@ -17,6 +17,9 @@ Unless required by applicable law or agreed to in writing, software distributed