https://www.sarasoueidan.com
Use outlines on your focusable elements
Slide 32
Slide 32 text
https://mabl.com
Slide 33
Slide 33 text
Skip navigation links
Slide 34
Slide 34 text
https://www.sarasoueidan.com
Slide 35
Slide 35 text
No content
Slide 36
Slide 36 text
Skip navigation links
Slide 37
Slide 37 text
No content
Slide 38
Slide 38 text
Lots impact,
Low code.
Slide 39
Slide 39 text
Sometimes simple
is not that simple
“Code debt just called; it wants your happiness back.”
@evaferreira92
Slide 40
Slide 40 text
Prioritize
Impact and easy to solve
@evaferreira92
Slide 41
Slide 41 text
Prioritize
• Big impact, easy to solve
• Mix with small impact, easy to solve
Ideal for Fridays 💃
• Big impact, hard to solve
• Small impact, hard to solve
@evaferreira92
Slide 42
Slide 42 text
Lesson 3
Slide 43
Slide 43 text
People mean well
… Most of the time.
Slide 44
Slide 44 text
Aria-label
all the things!
The Infobae & the React Testing Library stories
@evaferreira92
“Every image should
have an alt text!”
@evaferreira92
Slide 52
Slide 52 text
Rules for alternative texts
• The alt attribute is compulsory
• It can be empty if the image is decorative (alt=“”)
• Do not be redundant
• If it has an action, describe the action, not the image
@evaferreira92
What do we test?
We test users’ stories.
@evaferreira92
Slide 62
Slide 62 text
Can a user with
[assistive technology]
do [action]?
@evaferreira92
Slide 63
Slide 63 text
Test users’ stories
• Can a user with keyboard navigation - create an account?
• Can a user with a screen reader - add a product to the cart?
• Can a user watch this video - using captions?
@evaferreira92
Slide 64
Slide 64 text
Test for people.
@evaferreira92
Slide 65
Slide 65 text
Automated tests
WCAG
Slide 66
Slide 66 text
No content
Slide 67
Slide 67 text
WCAG
• Set of rules created by W3C a long time ago.
• Standard in the industry
• What gives the foundation for a11y laws all around
the globe
• Different success criteria depending on target
audience, target country, type of company, etc.
@evaferreira92
Slide 68
Slide 68 text
Of course,
always
aim for no errors.
@evaferreira92
Slide 69
Slide 69 text
How many websites
do you think pass
with no errors?
5%? 20%? 40%?