Skip to content

Commit

Permalink
Merge pull request #28 from markteekman/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
markteekman authored Apr 30, 2022
2 parents 478ff80 + 01fd446 commit 6821aa1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ In this starter you'll find a couple of things:
- Accessible landmarks in the `DefaultLayout.astro` file such as `header`, `main` and `footer`
- Accessible landmark examples in the `index.astro` file such as `section` and `nav`
- `SkipLinks.astro` component to skip to either the main menu or the main content
- `Navigation.astro` component with keyboard accessible navigation (arrow keys, escape key)
- `Navigation.astro` component with keyboard accessible (dropdown) navigation (arrow keys, escape key)
- `ResponsiveToggle.astro` component with an accessible responsive toggle button for the navigation
- `DarkMode.astro` component toggle with accessible button and a user system preferred color scheme
- Outline focus indicator which works on dark and light backgrounds
- `.sr-only` token class for screen reader only text content
- `prefers-reduced-motion` disables animations for users that have this preference turned on

## Utilities

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "accessible-astro-starter",
"description": "An Accessible Starter Theme for Astro including several accessiblity features and tools to help you build faster.",
"version": "1.3.0",
"version": "1.3.1",
"author": "Mark Teekman",
"homepage": "https://accessible-astro.dev",
"scripts": {
Expand Down
5 changes: 5 additions & 0 deletions src/assets/scss/base/_reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ html {

@media (prefers-reduced-motion: reduce) {
scroll-behavior: auto;

body * {
animation-duration: 0s !important;
animation-delay: 0s !important;
}
}
}

Expand Down

0 comments on commit 6821aa1

Please sign in to comment.