Β
Β
meet.js Krk, 03.2023
estimated number of people with disabilities
and 4.5% of the whole population is color blind
has a significant mental disability
has a disabling hearing loss
has a form of visual impairment
color blindness,
significant mental disability,
disabling hearing loss,
broken limb,
having full hand,
impairments following surgery,
amputated limb
eye or ear infection
loud venue
excessive fatigue,
no-mouse navigation
contrasts and color usage
hints for screen readers
zooooooming-in rules
Testable guidelines for making web content accessible to everyone
according to WebAIM report (2022) based on 1,000,000 sites:
In the UK alone, Β£17.1 billion consumer spend was estimated to be driven away by inaccessible websites (2019)
2% of e-commerce spent was already driven by blind people (2019)
π‘ pricing, sign up page, main search
Β π‘code impact (e.g., Design System)
Β π‘what types of issues are the most impactful in your case?
Video captions? Keyboard nav?
it('deselects the chosen option', async () => {
renderFilter({currentValue: [DEVICE_TYPE.TABLET]});
userEvent.click(screen.getByRole('combobox', {
name: 'Device type filter'
}));
await screen.findByRole('listbox');
userEvent.click(screen.getByRole('option', {
name: 'tablet'
}));
// ...
});
it('deselects the chosen option', async () => {
renderFilter({currentValue: [DEVICE_TYPE.TABLET]});
userEvent.click(screen.getByText('Device'));
await screen.findByText('desktop');
userEvent.click(screen.getByText('tablet'));
// ...
});
// woops, multiple elements found!
π©πΌβπ»
π§πΎβπ»
π©πΌβπ»
π§πΎβπ»
π¨π»βπ»
π©π½βπ»
π©πΌβπ»
π§πΎβπ»
π¨π»βπ»
π©π½βπ»
π¨πΏβπ»
π§πΌβπ»
π¨π½βπ»
π©π»βπ»
π©π½βπ»
...but automate whatever you can!
π
auditing - extensionsΒ (e.g., Wave), dev-tools (e.g., ARC toolkit)
dev-time analysis (e.g., eslint plugin, Axe for React)
automated tests (e.g., Axe for Jest, Cypress)
CI-integrable tools (e.g., pa11y, Lighthouse)
more resources for testing web accessibility
at the end
π§βπ¦―
it's us, trying to develop
accessible experience
π§βπ¦―
let's help each other
on that mission π
Americans with Disabilities Act (ADA) - ensures people with disabilities are not discriminated
companies sued include: Nike, Amazon, Netflix, Domino's
11,000+ law suits in 2021 on federal level and it keeps counting
EU Web Accessibility Directive - public sector websites and apps must meet AA standard
other regulations in Canada, Australia, UK, ...
EU directive, national laws should be active starting with June 2025
no Polish application yet
but directive already outlines high level requirements and sectors, e.g., e-commerce, banking
we can expect more explicit laws referring to WCAG standard
today!
accessibility checklist - https://webaim.org/standards/wcag/checklist
testing web accessibility blog - https://www.adrianbolonio.com/blog
accessibility-focused newsletter - https://ashton.codes/subscribe-to-frequent11y/
state of web accessibility report - https://webaim.org/projects/million/
e-commerce share driven by blind people - Β https://cdn2.hubspot.net/hubfs/153358/Nucleus-The%20Internet%20is%20unavailable.pdf
lost revenue in UK by inaccessible sites - https://www.clickawaypound.com/downloads/cap19final0502.pdf
no-mouse days - https://www.a11yproject.com/posts/no-mouse-days/
European Accessibility Act summary - https://eur-lex.europa.eu/legal-content/EN/LSU/?uri=CELEX%3A32019L0882
ADA law suits - https://www.adatitleiii.com/2023/02/ada-title-iii-federal-lawsuits-numbers-are-down-but-likely-to-rebound-in-2023/