Practical fixes for common WCAG failures
Erik kwam vertellen over practische oplossingen voor problemen die zich vaak voordoen bij WCAG dit staat voor Web Content Accessibility Guidelines.
Deze regels moeten bedrijven van 2025 gaan volgen en hij kwam veelvoorkomende problemen uitleggen en de oplossingen hiervoor geven. Hij werkt zelf bij IDEA11Y waar ze werken aan Inclusive design and accessibility.
Accessibility = a accessible product that's usable by everyone, including people with disabilities.
Keyboard = Pressing the tab key should take you to every interactive element in an intuitive order. Pressing Shift+Tab should take you the opposite way. If you can reach and use every bit of functionality, your of to a good start.
Issues = No skip link(sommige dingen overslaan),
Uncontrolled focus state(duidelijk aangeven waar je ben), div role="button" slechte html zorgt voor slechte accessibility. Contrast = Alles moet een goed contrast hebben zodat dingen zichtbaar zijn ook zodat je bijvoorbeeld in de zon dingen kan zien.
How to test contrast =
User interface components and states should have a contrast ratio of at least 3:1. Measure this ratio against their surrounding colors. The contrast ratio of large tekst(at least 24px, or at least 19px and bold) should be 3:1 or more. All other text should be at least 4:5:1. These are minimum requirements, not goals
Common issues =
Placeholders,
Branding colours,
States ( button disabled )
Alternatives =
How to test for alternatives = offer captions for video. Offer a transcript for podcasts. For images, offer tekst alternatives. Text alternatives should convey the purpose of the image or content of the image. A decorative image needs no alternative
Most common issues = - Images in buttons or links
Sizing = How to test sizing
Compare a mobile phone to a tablet,
a laptop or a PC. No screen size is
the same. Make sure that what you
make offers the same content and
functionality to all sizes. Let people
experience it at whatever size they
want or need.
Issues = - Design not made for 320 pixel width
External content
Reflectie
Ik begin steeds meer te begrijpen hoe belangrijk accesibility op het web eigenlijk is het komt tijdens meerdere weekly nerds naar voren en ook bij deze weekly nerd was het erg interessant. Ik moet toegeven dat het mij eerst niet veel interesseerde maar om nu bijvoorbeeld praktische oplossingen te zien is het al een stuk interessanter.