Skip to content

appfolio/a11y-academy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Developing for Accessibility

This repository covers the content for the Developing for Accessibility academy session.

This app is built on top of Create React App and Reactstrap

🏅 #Goals/Learning Outcomes

  • Learn guiding principles for developing for accessiblity
    • Use accessible HTML
    • Use a pattern/component library so it's easy to be consistently accessible
    • Use automated tools to test the accessibility of your app
    • Manually audit your site because automated tools can't catch everything 😅
  • Learn how to use automated tools for developing accessible apps
    • Static code analysis
    • Automated tests
    • Browser extensions
  • Learn to fix common accessibility mistakes

🚀 Starting the project

The fixme branch has a bunch of accessibility violations to fix.

git checkout fixme

Install dependencies

npm install

Start the app

npm start

Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits. You will also see any lint errors in the console.

Note that if there are Typescript errors, the app won't compile. To bypass this set the environment variable TSC_COMPILE_ONERROR=true, e.g.

TSC_COMPILE_ONERROR=true npm start

Run the linter

npm run lint

Run tests

This project uses axe-core to automate accessibility testing.

npm test

⚠️ Fixing Violations

🎓 Resources

Learn More

Browser Tools/Extensions

Development Tools

Core Library Accessibility Docs

Other Libraries

  • React Testing Libary - a general purpose testing library for React (replacement for Enzyme) with accessibility as a first class concern

Other Stuff

This project was inspired by Marcy Sutton's Empathy Driven Development project and her talk at JSConf EU 2018.

Special thanks to Brianna Koch and Nic Bertino for their help in developing this course.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published