diff --git a/_includes/header.html b/_includes/header.html index a4e13d3..6456774 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -19,4 +19,4 @@ -{% include nav.html %} + diff --git a/_includes/nav.html b/_includes/nav.html index bf91f42..79cbc25 100644 --- a/_includes/nav.html +++ b/_includes/nav.html @@ -1,9 +1,9 @@ -Skip to main content - + + Site - + Toggle navigation diff --git a/_layouts/color-test.html b/_layouts/color-test.html index f41953d..e1a5ba5 100644 --- a/_layouts/color-test.html +++ b/_layouts/color-test.html @@ -1,8 +1,11 @@ {% include header.html %} -{% include search_results.html %} + + Skip site navigation + {% include nav.html %} + - -{{ content }} - + + {{ content }} + {% include footer.html %} diff --git a/_layouts/day-menu.html b/_layouts/day-menu.html index 50495c2..26393ea 100644 --- a/_layouts/day-menu.html +++ b/_layouts/day-menu.html @@ -1,8 +1,11 @@ {% include header.html %} -{% include search_results.html %} + + Skip site navigation + {% include nav.html %} + {% assign menu = site.data[page.menu] %} -{% comment %} #main element needed for skip-menu link but we can't add it inside the loop {% endcomment %} + {% for meal in menu %} @@ -21,5 +24,6 @@ {{ page.title }} {% endfor %} + {% include footer.html %} diff --git a/_layouts/day-schedule.html b/_layouts/day-schedule.html index fc5b11f..0542b70 100644 --- a/_layouts/day-schedule.html +++ b/_layouts/day-schedule.html @@ -1,7 +1,10 @@ {% include header.html %} -{% include search_results.html %} + + Skip site navigation + {% include nav.html %} + - + {% assign day = page.day | slice: -1 %} @@ -24,6 +27,6 @@ {% assign day = page.day | slice: -1 %} {% endif %} - + {% include footer.html %} diff --git a/_layouts/default.html b/_layouts/default.html index 27e044e..2802bf3 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,6 +1,9 @@ {% include header.html %} -{% include search_results.html %} - -{{ content }} - + + Skip to main content + {% include nav.html %} + + + {{ content }} + {% include footer.html %} diff --git a/_layouts/presentation.html b/_layouts/presentation.html index 8f02d0e..82b2d39 100644 --- a/_layouts/presentation.html +++ b/_layouts/presentation.html @@ -1,5 +1,8 @@ {% include header.html %} -{% include search_results.html %} + + Skip site navigation + {% include nav.html %} + {% if page.type == 'workshop' %} {% assign page_date = page.date %} @@ -17,7 +20,7 @@ {% endif %} - + @@ -204,6 +207,6 @@ Location {% endif %} - + {% include footer.html %} diff --git a/_layouts/secondary-nav.html b/_layouts/secondary-nav.html index 512175c..ec64894 100644 --- a/_layouts/secondary-nav.html +++ b/_layouts/secondary-nav.html @@ -1,10 +1,15 @@ {% include header.html %} + + Skip site navigation + {% include nav.html %} + - - + + {{ page.title }} Sub-Pages + Skip to main content {% if page.nav == 'general-info' %} {% else %} @@ -33,12 +38,12 @@ - + {{ content }} - + - + {% include footer.html %} diff --git a/assets/_scss/_a11y-fixes.scss b/assets/_scss/_a11y-fixes.scss new file mode 100644 index 0000000..c14e37c --- /dev/null +++ b/assets/_scss/_a11y-fixes.scss @@ -0,0 +1,27 @@ + +/* make navigation toggle button meet contrast (turn off transparency) */ +.navbar-dark .navbar-toggler { + color: rgba(255, 255, 255, 1); + border-color: rgba(255, 255, 255, 1); +} + +.navbar-dark .navbar-toggler:focus { + outline-offset: -4px; + outline-style: solid; +} + +.navbar-dark .navbar-toggler-icon { + background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); +} + +/* more visibly distinct skip links */ +a.sr-only.sr-only-focusable:focus { + position: absolute; + z-index: 10; + top: 8px; + left: 8px; + background: $accent; + padding: 8px; + border: solid 2px currentColor; + font-weight: bold; +} \ No newline at end of file diff --git a/assets/css/main.scss b/assets/css/main.scss index f09a9b4..e4d6374 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -27,4 +27,5 @@ @import 'sponsors'; @import 'color-test'; @import 'forms-pages'; -@import 'lanyards'; \ No newline at end of file +@import 'lanyards'; +@import 'a11y-fixes'; diff --git a/conduct/index.html b/conduct/index.html index 69fa7cc..a05faf1 100644 --- a/conduct/index.html +++ b/conduct/index.html @@ -1,6 +1,6 @@ --- layout: secondary-nav -title: Conduct +title: Conduct & Safety nav: conduct active: 'Conduct & Safety' --- diff --git a/general-info/attend.html b/general-info/attend.html index 15a0274..744deee 100644 --- a/general-info/attend.html +++ b/general-info/attend.html @@ -46,7 +46,7 @@ Workshops {% if site.data.registration.conference.show %} - Registration Fees + Registration Fees Main Conference: {{ site.data.registration.conference.cost }} @@ -130,7 +130,7 @@ Registration Fees - Additional Information + Additional Information {% if site.data.registration.childcare.show %}