From e09d2c9bcf758449b499657650a9dcbcaf2e06ad Mon Sep 17 00:00:00 2001 From: Anthony Adinolfi Date: Wed, 20 Mar 2024 15:40:42 -0400 Subject: [PATCH] Slider WA refinements to contrast and focus control --- css/cwd_slider.css | 10 +++++----- css/cwd_slider.css.map | 2 +- js/cwd_slider.js | 13 ++++++++++--- sass/cwd_slider.scss | 10 +++++----- 4 files changed, 21 insertions(+), 14 deletions(-) diff --git a/css/cwd_slider.css b/css/cwd_slider.css index 46f2279..49537f7 100644 --- a/css/cwd_slider.css +++ b/css/cwd_slider.css @@ -243,12 +243,12 @@ main .slider-caption h2, #main .slider-caption h2 { border-radius: 20px; } .slider-container .campaign-nav a:hover .dot, .slider-container .campaign-nav a:focus .dot { - background: rgba(0, 0, 0, 0.4); } + background: rgba(0, 0, 0, 0.6); } .slider-container .campaign-nav a.active .dot { background: #fff !important; color: #1f739e !important; - box-shadow: 0 0 2px rgba(0, 0, 0, 0.2); } + box-shadow: 0 0 0 1px white, 0 0 0 2px rgba(0, 0, 0, 0.5); } .slider-container .campaign-nav .next-prev { float: left; @@ -310,11 +310,11 @@ main .slider-caption h2, #main .slider-caption h2 { height: 1em; line-height: 1em; background: #000; - background: rgba(0, 0, 0, 0.4); - box-shadow: 0 0 2px rgba(255, 255, 255, 0.3); } + background: rgba(0, 0, 0, 0.5); + box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5); } .slider-container .campaign-nav.no-numbers a:hover .dot, .slider-container .campaign-nav.no-numbers a:focus .dot { - background: rgba(0, 0, 0, 0.7); } + background: rgba(0, 0, 0, 0.8); } .slider-container .campaign-nav .active .hidden:before { content: '(current slide) '; } diff --git a/css/cwd_slider.css.map b/css/cwd_slider.css.map index 28fa500..219fbc3 100644 --- a/css/cwd_slider.css.map +++ b/css/cwd_slider.css.map @@ -5,5 +5,5 @@ "../sass/cwd_slider.scss" ], "names": [], - "mappings": "AAAA;0CAC0C;AAE1C,AAAA,OAAO,CAAC;EACP,gBAAgB,EAAE,eAA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EAAE,qBAAqB;EACrC,kBAAkB,EAAE,IAAI,GACxB;;AACD,AAAA,sBAAsB,AAAA,MAAM,CAAC;EAC5B,kBAAkB,EAAE,KAAK,GACzB" } \ No newline at end of file diff --git a/js/cwd_slider.js b/js/cwd_slider.js index 5f61237..ed99e53 100644 --- a/js/cwd_slider.js +++ b/js/cwd_slider.js @@ -1,4 +1,4 @@ -/* CWD Image Slider (ama39, last update: 12/1/23) +/* CWD Image Slider (ama39, last update: 3/20/24) - ... - >> TODO: more introduction and documentation will be added here soon (in the meantime, please see the "Scripted Components" documentation for more information) << - preloads images and creates "buffer" layers to allow cover placement and ensure smooth transitions @@ -32,6 +32,7 @@ var default_bg_color = '#363f47'; // basic fill color behind images (may be visi // Global Variables var slider_count = 0; var captionless = true; // switched to false when visible captions are detected on any slide (applies a body class for adjusting the design) +var keyboard_nav = true; // used to track and distinguish between mouse clicks and keyboard or screen reader navigation // Navigation Options var align = 'left'; // alignment: 'left' or 'right' (NYI) @@ -234,14 +235,20 @@ function cwd_slider(div,caption,time,speed,auto,random,height,path,bg,heading2,q $(caption_div + ' ul').children('li').eq(current_slide).children('a').addClass('active'); $(caption_div + ' ul').find('a').each(function(i){ - $(this).click(function(e){ + $(this).mouseenter(function(e){ + keyboard_nav = false; + }).mouseleave(function(e){ + keyboard_nav = true; + }).click(function(e){ e.preventDefault(); clearInterval(slide_interval); if (!is_transitioning) { if (i != current_slide) { changeSlide(i,false); } - $(caption_div).find('.caption-focus').eq(i).focus(); + if (keyboard_nav) { + $(caption_div).find('.caption-focus').eq(i).focus(); + } } else if ($.isNumeric(queued_request) == false && i != current_slide) { queued_request = i; diff --git a/sass/cwd_slider.scss b/sass/cwd_slider.scss index 77b307c..6b8696e 100644 --- a/sass/cwd_slider.scss +++ b/sass/cwd_slider.scss @@ -255,12 +255,12 @@ main .slider-caption h2, #main .slider-caption h2 { border-radius: 20px; } .slider-container .campaign-nav a:hover .dot, .slider-container .campaign-nav a:focus .dot { - background: rgba(0,0,0,0.4); + background: rgba(0,0,0,0.6); } .slider-container .campaign-nav a.active .dot { background: #fff !important; color: #1f739e !important; - box-shadow: 0 0 2px rgba(0,0,0,0.2); + box-shadow: 0 0 0 1px rgba(255,255,255,1), 0 0 0 2px rgba(0,0,0,0.5); } .slider-container .campaign-nav .next-prev { float: left; @@ -326,11 +326,11 @@ main .slider-caption h2, #main .slider-caption h2 { height: 1em; line-height: 1em; background: #000; - background: rgba(0,0,0,0.4); - box-shadow: 0 0 2px rgba(255,255,255,0.3); + background: rgba(0,0,0,0.5); + box-shadow: 0 0 0 1px rgba(255,255,255,0.5); } .slider-container .campaign-nav.no-numbers a:hover .dot, .slider-container .campaign-nav.no-numbers a:focus .dot { - background: rgba(0,0,0,0.7); + background: rgba(0,0,0,0.8); } .slider-container .campaign-nav .active .hidden:before { content: '(current slide) ';