From 42f80ca3a6238c8c7881ba5930674eb547df01c5 Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Tue, 28 Apr 2020 15:07:36 -0400 Subject: [PATCH] Clean up accessibility. --- .../less/components/accessibility.less | 20 +++++++++---------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/themes/bootstrap3/less/components/accessibility.less b/themes/bootstrap3/less/components/accessibility.less index 558308b9464..bf8301521e1 100644 --- a/themes/bootstrap3/less/components/accessibility.less +++ b/themes/bootstrap3/less/components/accessibility.less @@ -3,10 +3,15 @@ /* ACCESSIBILITY IMPROVEMENTS */ +a { + text-decoration: underline; +} + +/* AAA Color Contrasts */ @badge-bg: #595959; -@breadcrumb-color: #535353; // AAA compliant -@breadcrumb-active-color: #444; // AAA compliant +@breadcrumb-color: #535353; +@breadcrumb-active-color: #444; @state-danger-text: #8a211e; .alert-danger, @@ -14,16 +19,9 @@ color: @state-danger-text; } -a { - text-decoration: underline; -} - -.sr-only { - color: #000; - background-color: #fff; -} - /** + * OVERRIDE BS3 COLLAPSE MENU HIDDEN + * * instead of display: none, keep things sr accessible * https://tailwindcss.com/docs/screen-readers/ */ -- GitLab