From 77c597e7ffd868fb98133a7362eeced9c1fa59f2 Mon Sep 17 00:00:00 2001 From: Tracy A McCormick Date: Thu, 14 May 2026 10:16:36 -0400 Subject: [PATCH 1/2] Fix accessibility issue on Show Pages: improve breadcrumb and thumbnail title contrast MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change breadcrumb link color to #000000 for better contrast (≥4.5:1). Resolves issue #3054. --- app/assets/stylesheets/hyku.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/stylesheets/hyku.scss b/app/assets/stylesheets/hyku.scss index 6a81a326b..0efc9fc0a 100644 --- a/app/assets/stylesheets/hyku.scss +++ b/app/assets/stylesheets/hyku.scss @@ -766,3 +766,8 @@ dd { font-size: 0.875rem; color: #6c757d; } + +// Accessibility fix for contrast on Show Pages +.breadcrumb-item a { + color: #000000; +} From 705f6302a8196bd5a62fa4433e5c05b8beb9660a Mon Sep 17 00:00:00 2001 From: Tracy A McCormick Date: Thu, 14 May 2026 14:28:47 -0400 Subject: [PATCH 2/2] Fix accessibility contrast for breadcrumb links on show pages Closes #3054 The tenant-configurable link color (#2e74b2) has insufficient contrast (4.16:1) against the breadcrumb background (#e9ecef), failing WCAG AA (4.5:1 minimum). Override the breadcrumb link color to #000000 in _appearance_styles.html.erb, after the dynamic link color rule, ensuring the override takes effect regardless of tenant appearance settings. Also removes the earlier, incorrect .breadcrumb-item a rule from hyku.scss which was ineffective since the inline style block loads after application.css. --- app/assets/stylesheets/hyku.scss | 7 +------ app/views/shared/_appearance_styles.html.erb | 5 +++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/assets/stylesheets/hyku.scss b/app/assets/stylesheets/hyku.scss index 0efc9fc0a..7ee0496e3 100644 --- a/app/assets/stylesheets/hyku.scss +++ b/app/assets/stylesheets/hyku.scss @@ -765,9 +765,4 @@ dd { margin-bottom: 0.75rem; font-size: 0.875rem; color: #6c757d; -} - -// Accessibility fix for contrast on Show Pages -.breadcrumb-item a { - color: #000000; -} +} \ No newline at end of file diff --git a/app/views/shared/_appearance_styles.html.erb b/app/views/shared/_appearance_styles.html.erb index c835a4d16..a21817af3 100644 --- a/app/views/shared/_appearance_styles.html.erb +++ b/app/views/shared/_appearance_styles.html.erb @@ -229,4 +229,9 @@ body.community .community-explore-collections:hover .card-title a { color: <%= appearance.primary_button_text_color %>; } +/* Accessibility fix for contrast on Show Pages */ +nav.breadcrumb a { + color: #000000 !important; +} +