Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve accessibility of home page slides (#125)
* set attr inert to true for all non-active slides to remove non-viewable items from the tab index * set focus on active slide when updating * set attr aria-hidden to true on inactive slides: to hide their content from screen reader users * made slides section elements with accessible names - made slides container a main element * set active slide aria-hidden to false... rather than remove the attribute (is this better for assistive tech?) * updated dep caniuse-lite * adjust html to utilize carousel pattern from wai apg: see: https://www.w3.org/WAI/ARIA/apg/patterns/carousel/:wq * fixed slides keyboard navigation (in dev env) * added missing alt text to images * updated slide 8 h4s to be h3s * added code comments * cleaned up logic for setting of active slide * fixed code comment
- Loading branch information