Basic Tips
- For clickable events - use an
atag orbuttonrather than a div. Using the correct HTML element means that keyboard users can easily tab through your content, and are able to "click" on items without using a mouse. - It's important to style the
:focusstate of your clickable elements. This makes it obvious to keyboard (and all) users that a particular element is active.
- Use a font-size of at least 16px
- When creating forms, do not use the
placeholderattribute as the label.
Background Info
- There are 1.8 million people with disabilities in Ontario (- Jonny)
Resources
- A11y Project: Never Remove CSS Outlines
- AChecker - tool to check for WCAG compliance of your website
- Geri Coady: Colour Accessibility Pocket Book
- The Accessibility of Wai-Aria
- A11y Checklist for Basic Accessibility
- Bulletproof Icon Fonts
- Great article on how to create accessible icons (using SVG / font-awesome / etc)
- Web AIM article on creating Skip Nav Link
WordPress Specific Resources
Interesting Articles on Accessibility Use Cases
-
Brad Frost: Accessibility and Low-Powered Devices
- "My wife’s cousin suffers from debilitating migraines. She’s done everything to reduce the migraines’ frequency, from dramatically altering her diet, to trying every available medical treatment, to even moving several times to different climates. Because of her condition, she has to minimize time spent with backlit screens."
- 16 Pixels: For Body Copy. Anything Less Is A Costly Mistake
-
Should you use HTML5 header and footer?
- "Matt Wilcox asked “I still don’t bother with etc. I assume all widely used browsers support them now. But, do they do anything more than div?”. It’s a good question. The answer I gave is “yes”. These two elements (and and ) give value to users of some assistive technologies on some browsers."
- 3% of users browse with IE9 and 14% of users have a disability. Why do we only cater for the former?