Alex Moldovan
@alexnmoldovan
Co-Founder @ JSHeroes
UI/UX Developer @ teleportHQ
Accessibility is the design of products, devices, services, or environments for people with disabilities.
Accessibility is the design of products, devices, services, or environments for people with disabilities.
Alice
Bob
Charlie
Dominic
https://www.microsoft.com/design/inclusive/
Before software can be reusable it first has to be usable.
Availability and Accessibility
Safety and Privacy
Convenience and Cost
Delightful Experience
Availability and Accessibility
Safety and Privacy
Convenience and Cost
Delightful Experience
Availability and Accessibility
Safety and Privacy
Convenience and Cost
Delightful Experience
✅ Aim for >3:1 - AA
✅ Prioritize Text
✅ Minimum 16px text
✅ Font-family consistency
✅ Standard paragraphs and letter spacing
✅ 80 characters per line
✅ No unexpected transitions
✅ Use prefers-reduced-motion
✅ No parallax / scroll to
✅ Stop the divfest
✅ Define landmarks
✅ Use headings in the right order
✅ Use the <label> tag
✅ Should be keyboard accessibile
✅ Use nav and list elements
✅ Use meaningful alt text
✅ Use clear title for links
✅ Avoid "click here" and "read more"
✅ Support for tab navigation
✅ Menu / lists - support left/right & up/down arrows
✅ Escape / Enter support
✅ Never do outline: 0
✅ Style your own outline
✅ At a minimum support keyboard outline
https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible
✅ :focus should accompany :hover / onclick
✅ Follow the natural order (tabindex > 0 is an antipattern)
✅ Focus trap / loop in modal windows
✅ Handle focus after navigation / content change
✅ Interactive elements should be at least 44px big
✅ Small icons should use paddings to increase touch area
VoiceOver
Orca
Working on accessibility is about doing someone a favor
Working on accessibility is about doing someone a favor
I'm open to questions!
@alexnmoldovan
Co-Founder @ JSHeroes
Thank You!
Code Generator @ teleportHQ