You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For both Sidebar toggle and Table Of Contents Toggle:
When JavaScript activates on the page, it will turn the anchor links for the sidebar and table of contents into toggle buttons for drawers
Button toggle state is set using aria-expanded attribute
Each time the button is pressed, based on the resulting aria-expanded attribute value, classes will also be toggled in the sidebar/table of contents drawer element that will bring the elements into show/hide the drawer
Classes will also toggle an overlay that will be displayed in the area outside of the drawer. Clicking on the overlay will turn off the change the toggle state to "false" and update drawer classes to hide drawers
For both Sidebar toggle and Table Of Contents Toggle:
aria-expandedattributearia-expandedattribute value, classes will also be toggled in the sidebar/table of contents drawer element that will bring the elements into show/hide the drawer