mirror of
https://github.com/danog/sass-site.git
synced 2024-11-30 04:29:17 +01:00
⚒ Fix menu a11y issues
This commit is contained in:
parent
fe483b0a8c
commit
beac1ac6f2
@ -1,4 +1,4 @@
|
||||
%nav.sl-c-list-navigation-wrapper.sl-c-list-navigation-wrapper--collapsible
|
||||
%h2#content-nav Contents
|
||||
%div.sl-c-list-navigation-wrapper.sl-c-list-navigation-wrapper--collapsible
|
||||
%h2 Contents
|
||||
|
||||
= documentation_toc
|
||||
|
@ -1,7 +1,7 @@
|
||||
= wrap_layout :layout do
|
||||
.sl-l-medium-holy-grail
|
||||
.sl-l-medium-holy-grail__body
|
||||
%nav.sl-l-medium-holy-grail__navigation(aria-labelledby='content-nav' role='navigation')
|
||||
%nav.sl-l-medium-holy-grail__navigation(aria-label='Content navigation' role='navigation')
|
||||
= yield_content :navigation
|
||||
|
||||
.sl-l-medium-holy-grail__main
|
||||
|
@ -99,9 +99,9 @@
|
||||
.sl-l-container.sl-background--white{class: section_class}= yield
|
||||
|
||||
.sl-c-alert
|
||||
.sl-l-container.sl-c-list-horizontal-wrapper
|
||||
.sl-l-container.sl-c-list-horizontal-wrapper(aria-labelledby='release-nav')
|
||||
%ul.sl-l-grid--justify-center
|
||||
%li
|
||||
%li#release-nav
|
||||
Current Releases:
|
||||
|
||||
%li
|
||||
|
@ -7,7 +7,7 @@
|
||||
- if current_page.data.table_of_contents
|
||||
- content_for :complementary do
|
||||
|
||||
%nav.page-sections.sl-c-list-navigation-wrapper.sl-c-list-navigation-wrapper--collapsible
|
||||
%h3 Page Sections
|
||||
%nav.page-sections.sl-c-list-navigation-wrapper.sl-c-list-navigation-wrapper--collapsible(aria-labelledby='page-sections')
|
||||
%h3#page-sections Page Sections
|
||||
|
||||
= current_page.metadata[:table_of_contents]
|
||||
|
Loading…
Reference in New Issue
Block a user