Slides: https://bit.ly/a11y-ag
austingil.com | @heyAustinGil
Slides: https://bit.ly/a11y-ag
austingil.com | @heyAustinGil
I work at Akamai (akamai.com)
We offer a lot of relevant services
Really hard not to mention (kind of my job)
Impossible to be 100% unbiased
This is not a sales pitch in disguise
I’m here to teach practical, general concepts
I may mention Akamai because it’s familiar
But this info applies anywhere
"Accessibility is the practice of making your websites usable by as many people as possible." - MDN
Impairments can be:
And they can also be:
Accessibility has a lot of positive benefits
It’s hard to learn
It’s hard to remember
It’s hard to implement
It’s hard to test
Feb 2022 - 50,829,406 distinct errors / 50.8 errors per page webaim.org/projects/million
IMPORTANT: Based on automated WCAG metrics
Natural Habitat:
If a background color is #bada55 , what color should the foreground text be…?
(Hint: WCAG AA requires color contrast ratio of 4.5:1)
Stark (getstark.co)
Accessible alternatives
Natural Habitat:
VS Code:
Pros: Very easy to get started
Cons: Hard to coordinate across teams (IDE, extension, settings)
Components:
Libraries:
Make it easy to do right
Make it hard to do wrong
img:not([alt]){
outline: 5px dashed red;
outline-offset: 5px;
}
A11y.css (ffoodd.github.io/a11y.css)
(Remove from production at build!)
CLI analysis = 😍
+ a11y checks = 😍😍😍
Pros: Runs in terminal (cross platform)
Cons: Must run it manually
Integrate CLI tools to automatically check (& fix) code during git process
pre-commit
pre-push
(github.com/evilmartians/lefthook)
Pros: Prevents bad code being pushed
Cons: --no-verify
Make it easy to do right
Make it hard to do wrong
Natural Habitat:
Integrate automated a11y review to PRs
Accesslint (accesslint.com)
Analyze real pages directly from dev tools
axe DevTools by Deque (deque.com/axe/devtools)
Run arbitrary JavaScript on any webpage.
Similar to extensions, but not in dev tools.
Run a11y analysis from your deployment pipeline, automatically.
Playwright (playwright.dev) & Cypress (cypress.io) are amazing
@axe-core/playwright
& cypress-axe
Make it easy to do right and hard to do wrong.
Not everyone needs to care about a11y (🌶).
Robots multiply your impact (🤖 = 👨💻x100).
But robots don’t replace humans.
They unlock time/brainpower to focus on bigger things.
100% lighthouse scores is the start line, not the finish line.
Organizers
Sponsors
Venue staff
YOU!!!