Web Accessibility 101
By Mashhood Rastgar @ Recurship
Strongly recommend going through the whole course
https://classroom.udacity.com/courses/ud891
What is Accessibility?
E.g.
More focus is on making the web accessible to all users, including those with impairments or disabilities.
Understanding Diversity
Types of impairments:
We need to ensure our content can be consumed by everyone.
Disability can be of 3 types
Visual Impairment
They use the tools around them using screen readers or braille readers. For them keyboard navigation is very important.
For people with color vision problem, high contrast is important when creating / implementing design.
Improvement: FOcus
Improvement: Tabindex
Note: Focus (tab-index) is only to be used on INTERACTIVE ELEMENTS
Do not use it on HEADERS, or paragraphs.
IMPROVEMENT: Skip LINKs
Improvement: Write SEmantic HTML
IMPROVEMENT: WAI-ARIA spec
Continue: ARIA
Check out the full spec to see all the functionality, however some important ones are listed on the right.
Important thing to know is what most of the time libraries will add these attributes for us (like Bootstrap). However if we are making custom elements we need to have these attributes and their values adjusted accordingly.
IMPROVEMENT: Style
How do I test for accessibility?
You can just use your keyboard for testing the navigation.
You can also use extensions like ChromVox Lite which convert the webpage into what a screenreader would be looking at (removed styles etc).
You can ask people with disabilities to test and give feedback.
Chrome dev tools has an excellent Audit option now, reports in seconds on possible improvements. Also has ability to check for responsiveness.
Thank You!