Learn how to use accessibility automation to find and fix problems on your website efficiently. You'll need to understand that automated accessibility won't give you an accessible web site; but it'll get you well on the way cheaply.
2. Twitter: @joedolson
Hashtag: #wcmpls
Find these slides
These slides are posted at Slideshare:
http://www.slideshare.net/joedolson/automating
-accessibility-wordcamp-minneapolis-2015
3. Twitter: @joedolson
Hashtag: #wcmpls
3 Rules of Automated Testing:
- Some issues can’t be tested automatically.
- Testing tools must test the DOM
- Test early, test often.
4. Twitter: @joedolson
Hashtag: #wcmpls
Automatically test all the things.
...But you won’t find everything.
Easily Testable:
1) <form>
Your Name:
<input type=’text’ name=’name’
id=’name’ value=’’ />
</form>
2) <img src=’src.jpg’ />
Not so testable:
1) Click on the red button:
<button>One</button> <button>Two</button>
2) <img src=’giraffe.jpg’ alt=’Lion’ />
6. Twitter: @joedolson
Hashtag: #wcmpls
Ya gotta test the DOM
- JavaScript changes the DOM
- These changes can fix or break accessibility
http://mothereffingtoolconfuser.com/
10. Twitter: @joedolson
Hashtag: #wcmpls
1)Fully Automated Testing
- Needs to only return definite errors.
- Needs to test multiple pages at a time.
- Needs to tell you where you have issues,
and how to fix them.
Recommendation: Tenon.io
11. Twitter: @joedolson
Hashtag: #wcmpls
Tenon.io
- API driven Accessibility testing service
- Operates a headless browser to generate
the DOM before testing
- Integrates with WordPress using Access
Monitor http://wordpress.org/plugins/access-
monitor
13. Twitter: @joedolson
Hashtag: #wcmpls
2) Manual + Automation
- Returns both definite and possible issues*
- Tells you where the issue is and how to
verify whether it’s an error.
* By now, definite issues should be fixed.
Recommendation: WAVE Toolbar
16. Twitter: @joedolson
Hashtag: #wcmpls
Using Tenon with WordPress
Access Monitor
- Set up a schedule to monitor pages
- Run tests on single or batches of pages
- Test admin & front-end
- Filter out redundant results in batches.
18. Twitter: @joedolson
Hashtag: #wcmpls
Limitations when testing software
- What do you need to test? The DOM
- What do you produce with themes and plug-
ins? CODE
- Need to run before you can test.