/ ! \ review & merge #7 first, as this pull request builds on top of those changes.
For narrow screen sizes the header links now get condensed into a "hamburger" dropdown menu.
This is implemented only using CSS and is based on where the user focus is:
- inside the menu or on the "open-nav" element -> it is open
- outside the menu or on the "close-nav" element -> it is closed
Only one of the open/close elements is visible, so they look like the same button.
Screen readers will just ignore these and navigate into the menu, so will keyboard users navigating with the tab key.
Secondary changes:
- Move page header to separate file for readability
> **/ ! \\** review & merge #7 first, as this pull request builds on top of those changes.
For narrow screen sizes the header links now get condensed into a "hamburger" dropdown menu.
This is implemented only using CSS and is based on where the user focus is:
- inside the menu or on the "open-nav" element -> it is open
- outside the menu or on the "close-nav" element -> it is closed
Only one of the open/close elements is visible, so they look like the same button.
Screen readers will just ignore these and navigate into the menu, so will keyboard users navigating with the tab key.
Secondary changes:
- Move page header to separate file for readability