accessible-astro-starter

An Accessible Starter Theme for Astro 4.0 including accessibility features such as landmarks, better focus-outline and skip-links navigation. Ships with Tailwind, Prettier and ESLint support.

MIT License

Stars
743
Committers
15

Bot releases are hidden (Show)

accessible-astro-starter - v1.0.5

Published by markteekman about 3 years ago

Utilities refactor and some small changes

  • Updated Astro to 0.20.8
  • Moved all utilities to separate folder and files
  • Added alignment utilities
  • Makes better use of SCSS in space utilities
accessible-astro-starter - v1.0.4

Published by markteekman about 3 years ago

Updates to styles

Base styles have been refactored a bit to allow for less tweaks when using the template

accessible-astro-starter - v1.0.3

Published by markteekman about 3 years ago

Breaking Astro update on styles and misplaced stylelintrc file

Changes

  • Updated to Astro 0.20.3. As of Astro 0.20.0 compiling in the /public folder is no longer supported, so all *.scss files are now moved to /src/styles and dynamically imported in DefaultLayout.astro like this:
<!-- global css -->
<link rel="stylesheet" href={Astro.resolve('../styles/globals.css')} />

Fixes

  • Moved the stylelintrc file from the /public folder to the root folder
accessible-astro-starter - v1.0.2

Published by markteekman about 3 years ago

Astro Update and small change in _list.scss

Updated Astro to the latest version (0.19.1) and changed the list style targeting to only default lists without classes

accessible-astro-starter - v1.0.1

Published by markteekman about 3 years ago

Small patch concerning some accessibility improvements

Thanks to Sander Nijsingh-Lankhorst from Cardan Technobility for pointing out some improvements on the initial release, including:

  • Removing landmark roles, this is a now redundant fallback method for HTML4, HTML5 tags are fully supported nowadays.
    -- Removed role="banner" from header
    -- Removed role="main" from main
    -- Removed role="contentinfo" from footer
  • A skip link to the main navigation is not necessary when the first tabbable item is the main menu (it is now commented out, you can still use it for those cases when you do need to skip content before the main menu)
  • Removed <strong> tags from the index.astro example, as screen readers put emphasis on these sort of tags
accessible-astro-starter - v1.0.0

Published by markteekman about 3 years ago

Initial release

  • The first release of this starter project using Astro v0.18.9
Badges
Extracted from project README
buymeacoffee-button
Related Projects