2. May 11-12, 2009
Testing for
Resources
These slides at
http://jimthatcher.com/testing
PowerPoint testing.ppt
Resources in order of appearance there too
This class is very much a resource list!
3. May 11-12, 2009
Testing for
Questions
Please ask questions or
… Make comments at any time
… If it isn’t clear to you – ASK!
4. May 11-12, 2009
Testing for
Outline
Testing for Web Accessibility – Means?
Standards and Guidelines
Testability
Contrast example
Automatic Testing tools
Free tools
Commercial Tools
Testing tool report
Tools that assist with Human Review
Lets test a page
5. May 11-12, 2009
Testing for
Testing for Web Accessibility
Web Accessibility:
Web resources are accessible if people with disabilities
can use them as effectively as non-disabled people
(UT Accessibility Institute)
So testing means user testing with disabled and non-
disabled people?
Instead there are “standards and guidelines” against
which we can test
6. May 11-12, 2009
Testing for
Standards and Guidelines
WCAG 1.0 Web Content Accessibility Guidelines 1.0
http://w3.org/TR/WCAG10
Section 508 Standards
http://www.access-board.gov/508.htm
WCAG 2.0
http://w3.org/TR/WCAG20/
Section 508 refresh See Section 6
http://www.access-board.gov/sec508/refresh/report/
IBM web guidelines
http://ibm.com/able/guidelines/web/accessweb.html
7. May 11-12, 2009
Testing for
Priority
Section 508
16 provisions all priority one!
WCAG 1.0 14 guidelines
65 Checkpoints – 16 Priority 1, 30 Priority 2, 19 Priority 3
checkpoints
WCAG 2.0 12 guidelines
56 Success Criteria – 18 Level A, 17 Level AA, 21 Level AAA
success criteria
508 Refresh – who knows –
Public comment 1Q 2010 – at the earliest
8. May 11-12, 2009
Testing for
WCAG 2 – testability is key
All WCAG 2.0 success criteria are
written to be testable. While some
can be tested by computer
programs, others require human
testers for part or all of the test.
My favorite testability example …
Contrast
9. May 11-12, 2009
Testing for
Testability - Example
WCAG 1.0 Priority 2:
2.2 Ensure that foreground and background
color combinations provide sufficient contrast
when viewed by someone having color
deficits or when viewed on a black and white
screen.
“Sufficient contrast”?
“Color deficits”?
11. May 11-12, 2009
Testing for
Testability - Contrast
WCAG 2.0 Level AA:
1.4.3 Text and images of text have a contrast ratio
of at least 4.5:1 … 3:1 for larger text (18pt or 14pt
bold) (Level AA)
Contrast Ratio?
Tools will answer that question –
http://www.paciellogroup.com/resources/contrast-
analyser.html (also pull down from toolbar)
Try that with http://Flickr.com
Another to check out: http://Graybit.com
12. May 11-12, 2009
Testing for
Testable? Automatic tests?
Testable by a computer vs. requiring human
judgment
Only ~25% of accessibility errors can be
detected by computers (Mike Cooper)
Many claim compliant/accessible because no
errors reported by testing tool
Testing all for Section 508 Standards
discussed
http://jimthatcher.com/testing1.htm
13. May 11-12, 2009
Testing for
A current example of testing …
Recovery.gov complies with all of the automatic
checkpoints of the Section 508 Accessibility
Guidelines, and has been manually verified for nearly
all of the manual checkpoints. This compliance has
been tested using Watchfire WebXACT program.
(To be in America)
Accessibility of Recovery.gov
http://jimthatcher.com/recovery.htm
14. May 11-12, 2009
Testing for
Automatic tests (about 12 tests)
(3) Missing alt on <img>, <area>, or <input> with
type=“image”
(3) Empty alt on <img> in <a> without text, same for
<button> or <input> with type=“image”
(1) Form control with no title or label (or empty)
(2) No title on frame or iframe
(1) Sever-side image map (image link with ismap)
(1) Missing lang attribute for page
(1) [No HTML headings (h1, h2, …) on page]
15. May 11-12, 2009
Testing for
Testing tools (outline)
Automatic web accessibility testing
Human Review – tools that assist
User testing
Beyond the scope of this class
But check out Shawn Lawton Henry’s
Just Ask: Integrating Accessibility Throughout Design
The whole book is there
One of 11 co-authors of Web Accessibility: Web Standards
and Regulatory Compliance
16. May 11-12, 2009
Testing for
Automatic Testing (outline)
Automatic web accessibility testing
Free 1-page tools
More general free tools
Desktop tools
Enterprise tools
Tools lists:
http://www.w3.org/WAI/ER/tools/complete
http://www.colostate.edu/Dept/ATRC/tools.htm
http://www.webaim.org/articles/tools/
17. May 11-12, 2009
Testing for
Some Free 1-page tools on the web
CynthiaSays (HiSoftware)
http://cynthiasays.com
Bobby is gone!
Truwex (Erigami)
http://checkwebsite.erigami.com/accessibility.html
New kid on the block 2 years ago
Worldspace by Deque – New Kid this year
http://worldspace.deque.com
For Google Toolbar, http://tinyurl.com/9h7elc
Sample file http://jimthatcher.com/testing/testfile.htm
18. May 11-12, 2009
Testing for
Sample File for Testing
http://jimthatcher.com/testing/testfile.htm
Issue Cynthia Truex Worldspace
1 Server-side map Yes Yes Yes
2 Two input fields – label but same id No No No
3 Empty alt on image link No Yes Yes
4 No alt on image (duh) Yes Yes Yes
5 title attributes on input fields (good) No Yes Yes
6 No alt on image button Yes No Yes
7 No alt in image map area Yes Yes Yes
8 Iframe with no title No Yes Yes
20. May 11-12, 2009
Testing for
More General Free Tools
The WAVE (Utah State) (version 4.0)
http://wave.webaim.org
AChecker http://www.atutor.ca/achecker/
(WCAG 2.0)
Functional Accessibility Evaluator (U of Ill)
http://appserv.rehab.uiuc.edu/fae
21. May 11-12, 2009
Testing for
Desktop Commercial Tools
Ramp ($69-$1499)
http://www.deque.com
InFocus ($1795)
http://www.ssbtechnologies.com
22. May 11-12, 2009
Testing for
Enterprise Tools (expensive)
WebKing by Parasoft
http://parasoft.com/jsp/products/home.jsp?product=W
ebKing
Rational Policy Tester by IBM
(was WebXM by Watchfire)
http://tinyurl.com/9hao4g
Worldspace by Deque
http://deque.com/products/
23. May 11-12, 2009
Testing for
Six Commercial Tools,
A Comparison
Chapter 13 –
Web Accessibility: Web Standards and Regulato
ry Compliance …
See http://jimthatcher.com/testing.htm.
Forty “issues”
http://jimthatcher.com/step/new
Based on 70 files
http://jimthatcher.com/step/new/stepfiles.htm
Example – how the tools deal with link text
24. May 11-12, 2009
Testing for
Link text - WCAG 1.0
WCAG 1.0 13.1: Clearly identify the target of each
link. (P2) (Not 508 requirement)
Interpreted to mean good link text or title attribute
on anchor element.
It is testable –
evaluators would
usually agree on
“good link text.”
25. May 11-12, 2009
Testing for
Link text – automatic tests
Raise errors (or warnings) for Common phrases,
“more,” “click here,” “more …,” “details” etc.
List of such is editable with several tools.
Inadequate phrase like “click here” but with title
attribute – should pass
Same link text different href – should fail without
title.
Extreme case - Empty link text or spaces for link text
is error without title.
26. May 11-12, 2009
Testing for
Link text – WCAG 2.0
2.4.4 The purpose of each link can be
determined from the link text and its
programmatically determined link context.
(A)
2.4.9 The purpose of each link can be
identified from the link text. (AAA)
27. May 11-12, 2009
Testing for
Testing tools and link text
Test OK Bobby
In-
Focus
LIFT Ramp W-King W-XM
21. “Click here” 4 yes no no yes yes yes
22. Image link with
empty alt-text
4 yes no yes yes no yes
23. Image link with
spaces for alt-text
5 yes no yes yes yes yes
24. Link with text and
image with empty
alt-text
3 no no yes yes no yes
25. “Click here” plus
title
2 no no no yes yes no
Details at http://jimthatcher.com/testing4.htm
28. May 11-12, 2009
Testing for
Testing tools - Results
Total Bobby
In-
Focus
LIFT Ramp W-King W-XM
Correct
Results
40 28 23 27 38 34 26
Details at http://jimthatcher.com/testing4.htm
29. May 11-12, 2009
Testing for
Human Review
Human Review
Notepad (source code)
Screen Readers and other AT
Special issue tools (like contrast)
Toolbars (the best news)
Jim’s Favelets
(User testing – Beyond scope )
30. May 11-12, 2009
Testing for
Assistive Technology
Testing with assistive technologies
HPR (IBM)
No longer available
JAWS (Freedom Scientific)
http://www.hj.com
Window-Eyes (GW Micro)
http://www.gwmicro.com
Fangs
http://www.standards-schmandards.com/projects/fangs/
31. May 11-12, 2009
Testing for
Toolbars
- for anyone interested in accessibility
Web accessibility toolbar - The Paciello Group
http://www.paciellogroup.com/resources/wat-ie-about.html
Best thing that has happened for accessibility –
and a toolbar for Firefox
Web Developer Extension for Firefox
http://chrispederick.com/work/webdeveloper
32. May 11-12, 2009
Testing for
IBM Accessibility Testing
Matt King started monitoring all of IBM.com (13
million pages) in 1999.
Reports to Mgrs and VPs
Five Years later – Detectable errors way down.
Accessible?
Need Human Review – but too many pages
Idea: use sampling – like a political poll –evaluate
sample pages and conclude results for whole site
http://www.research.ibm.com/journal/sj/443/king.html
33. May 11-12, 2009
Testing for
Human Review for IBM
Needed time per page around 3-5 minutes
The toolbars don’t do what testing tools do.
Need value of software testing tools in the
human review (e.g., no alt attribute or no form
label) Don’t make me look for these.
Simplify human evaluation – scoring (AIR)
My evaluation techniques (modified from Toolbar)
http://jimthatcher.com/favelets (includes description of
the process)
34. May 11-12, 2009
Testing for
The Testing Process I use
Sample report
http://jimthatcher.com/testing/Sample-accessibility.doc
Lets look at some of the same pages –
http://www.sec.gov!
It is a mix of Web Accessibility Toolbar
and “Jim’s favelets”
The way to do accessibility testing
#4: There is a spectrum of possibilities from validating to usability testing
#12: http://www.cyberseniors.org/artman/publish/index.shtml – example of compliancy claim. Not any more.
Center for Applied Special Technology
#14: http://www.cyberseniors.org/artman/publish/index.shtml – example of compliancy claim. Not any more.