From c57bb0429bcc9f68c5b836fcb5ec8f370d88d303 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 25 Nov 2025 02:52:10 -0600 Subject: [PATCH] app: Ensure 'Skip to main content' can have focus There were a few duplicate rules in the SCSS file that were overriding Bootstrap defaults. Additionally, there was a mistake made with the name of the CSS class to use. Fixes: ADA-392 --- app/assets/stylesheets/application.scss | 14 -------------- app/views/layouts/application.html.erb | 2 +- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index b4629bb..4840afe 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -32,13 +32,6 @@ a:hover, a:active, a:focus { } } -//Used for main page skip links per WebAIM recommendations -.visually-hidden { - position: absolute; - top: -9999px; - left: -9999px; -} - .tblheader { font-weight: bold; color: blue; @@ -257,13 +250,6 @@ a:hover, a:active, a:focus { } } -//Used for main page skip links per WebAIM recommendations -.visually-hidden { - position: absolute; - top: -9999px; - left: -9999px; -} - .tblheader { font-weight: bold; color: blue; diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 9da2dfe..9c1528b 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -11,7 +11,7 @@
- +
<%= layouts_nav %> <%= render(partial: 'layouts/flash') %>