Skip to content

digilou/a11y-style-guide

 
 

Repository files navigation

A11Y Style Guide

This application is a living style guide, generated from KSS documented styles...with an accessibility twist. See a live demo of the style guide.

How this all got started

We wear a lot of hats as front-end developers. Depending on the client or company you work for, you may be the designer, UX/UI specialist, site-builder, QA tester, and developer all rolled into one. How can we possibly add the accessibility hat on top of all that? What accessible pieces should we even include? Which pieces are easy wins vs. impossible juggernauts? How do we implement inclusive design and development when a project does not have a lot of time or budget to include that piece?

One way we can tackle these issues is by using an accessible component driven approach. By thinking about inclusiveness from the start, we can get a head start on accessibility while still building the required site components.

The A11Y style guide comes with pre-populated accessible components that include helpful links to related tools, articles, and WCAG guidelines to make your site more inclusive. These components also serve as a guide for both HTML markup and SCSS/CSS code, to inform designers, front-end and back-end developers at every stage of the website’s creation.

How do I use this tool?

  • Use it as a reference.
  • Use it as inspiration.
  • Use it as a base style guide.
  • Use it for creating base components.
  • Use it as a base for an accessible theme.
  • Contribute to the tool and make it better.
  • Fork it and give your own spin to it.

Really? What can't you do with it is an easier question?

Where to begin?

This has a KSS node base, so learn a bit about how KSS node works

To make local changes to components, do the following:

  • Fork the project
  • Navigate to the project root
  • nvm install stable (only need to do once - see the NVM project for troubleshooting)
  • nvm use stable
  • npm install (only need to do once)
  • git checkout -b my-new-feature (create your feature branch)
  • Make changes
  • npm run gulp (this will run all the gulp commands)
  • git commit -A (adds all changes)
  • git commit -m 'Add some feature' (commit your changes)
  • git push origin my-new-feature (push to the branch)
  • Create new Pull Request

This will run all the gulp commands including the style guide update. If you want to contribute back, please do so! This is a great Git resource if you need to brush-up on your skills (all levels)

Wait how did I get here?

Maybe you are a total beginner and wondering where to start? That's cool too...welcome! Learning accessibility can feel a bit like drinking out of a firehose, so here are some tips to follow on your journey toward accessibility: Getting Started with Website Accessibility

Releases

No releases published

Packages

No packages published

Languages

  • CSS 54.1%
  • JavaScript 23.3%
  • HTML 22.6%