Accessibility and 508 easily with ColdFusion and FuseBox4 xml

28
Accessibility and 508 easily with ColdFusion and FuseBox4 xml Sandra Clark [email protected] om

description

Accessibility and 508 easily with ColdFusion and FuseBox4 xml. Sandra Clark [email protected]. Overview. Accessibility and Speech Browsers 508 and WAI Survey Stop Designing for the Browser The Good and the Bad of Fusebox A Better Way Exceptions to the Rule. - PowerPoint PPT Presentation

Transcript of Accessibility and 508 easily with ColdFusion and FuseBox4 xml

Page 1: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

Accessibility and 508 easily with ColdFusion and FuseBox4 xml

Sandra Clark

[email protected]

Page 2: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

2

Overview

• Accessibility and Speech Browsers

• 508 and WAI

• Survey

• Stop Designing for the Browser

• The Good and the Bad of Fusebox

• A Better Way

• Exceptions to the Rule

Page 3: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

3

Why are Accessible Web Sites Important

• Accessible Web Sites are important for all types of web sites.

– 15 – 30% of the general population have functional limitations that can affect their ability to use technology products (http://isoc.org/briefings/002)

• Accessibility helps those who:

– Cannot use a mouse (only have access to keyboards)

– Are blind

– Have other vision impairments

– Are Deaf

– Are Color Blind.

Page 4: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

4

What is 508 and WAI

• Section 508 of the Rehabilitation Act Amendment of 1998 requires that US Federal Agencies and covered entities must make their electronic technology and information accessible to people with Disabilities

• WAI (Web Accessibility Initiative) by the World Wide Web Consortium (W3C)

– WCAG (Web Content Accessibility Guidelines)

• Deals with the authoring of web standards.

Page 5: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

5

The United States isn’t Alone

• Other countries have or are adopting and require adherence to either the WCAG or something similar.

Australia (W3C WCAG) Canada (W3C WCAG Priority 1

and 2 checkpoints) EU (W3C WCAG Priority 1) Belgium Denmark Finland France (WC3 WCAG) Germany Greece Japan

Ireland Italy (WCAG) Luxemburg Netherlands New Zealand Portugal (WCAG) Singapore Spain (WCAG) Sweden United Kingdom (WCAG)

Page 6: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

6

Survey

• In December 2002, I surveyed the entry home pages of 204 Federal Cabinet and their Departments.

– These are the entities REQUIRED to comply with Section 508

• Validated with a number of readers

– Bobby (Online 508 and WAI Validator)

– Simply Web 2000 (Free Speech Browser)

– pw Web Speak (Free, discontinued Speech Browser)

– IBM Home Page Reader (Speech Browser)

– Lynx (Text Only Browser)

Page 7: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

7

Survey Results

• Out of 204 Web Sites Surveyed

– Bobby Approved

• 77 pages passed (38%)

– Simply Web 2000

• 5 pages passed (2%)

– pwWebSpeak

• 50 pages passed (25%)

– IBM Home Page Reader

• 58 pages passed (28%)

– Lynx

• 182 pages passed (89%)

Page 8: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

8

GUESS WHAT?

• LYNX IS NOT A Speech Browser!

– Having something readable in Lynx is not indicative that it will be readable in a Screen reader.

Page 9: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

9

Validating Accessibility

• Validating Accessibility is like Validating a Web Site.

– Use Validation Testing

• Bobby or UsableNet’s Lift

– Different Speech Browsers

• But who has the time and money to test to make sure it works everywhere?

– This is what happens when people design sites for the letter of the law rather than the spirit.

Page 10: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

10

Designing to the letter of the law

• MEANS:

– The HTML passes Bobby.

– It works in the one screen reader you tested for and that’s the one you tell everyone to use.

– If you get sued, you can point to the above two points and hope its enough for the judge.

Page 11: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

11

Designing to the Spirit of the Law

• MEANS

– That the content of your web site or application can be read and understood no matter what type of browser is being used.

– That all disabled persons have the same type of access to your web site as able bodied people.

– You don’t have to worry about convincing a judge because there is no reason for a lawsuit based on accessibility issues.

Page 12: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

12

How can we do that?

• JavaScript is only used for nice-to-haves and the absence of it does not diminish the usability of your site.

– This covers DHTML. If you must have a DHTML menu have a link at the top letting people use another menuing system.

• Plug ins must be accessible or there must be equivalent content in an accessible format.

• The most important thing we can do is:

Page 13: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

13

Stop Designing to the Browser

• Remember the browser wars?

– Marquee and Blink?

• I remember signing a petition asking Netscape and MS to make their browsers work with standards

– They did (MS IE 6, Netscape 7 and Opera 6) are compliant.

– Guess What?

• We aren’t taking advantage of this

• We still design for the browser.

• DESIGN TO THE STANDARD

Page 14: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

14

Design to the Standards

• What "Standards"?– When we speak about "standards" for the Web, we mean:

• Structural Languages– XHTML

Extensible Hypertext Markup Language 1.0 and 1.1

http://www.w3.org/TR/xhtml1

http://www.w3.org/TR/xhtml11

– XML

Extensible Markup Language 1.0

http://www.w3.org/TR/2000/REC-xml-20001006

• Presentation Languages– CSS

Cascading Style Sheets Levels 1 and 2

http://www.w3.org/TR/REC-CSS1

http://www.w3.org/TR/REC-CSS2

– as well as emerging standards, such as those for television and PDA based browsers.

Page 15: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

15

Design to the Standards

• What "Standards (cont)"?

• Presentation Languages

– CSS

Cascading Style Sheets Levels 1 and 2

http://www.w3.org/TR/REC-CSS1

http://www.w3.org/TR/REC-CSS2

– as well as emerging standards, such as those for television and PDA based browsers.

Page 16: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

16

Why design to the standard

• “Designing and building with these standards simplifies and lowers the cost of production, while delivering sites that are accessible to more people and more types of Internet devices. Sites developed along these lines will continue to function correctly as traditional desktop browsers evolve, and as new Internet devices come to market.”

– http://www.webstandards.org

Page 17: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

17

Using Nested Tables for Layouts

• Most of us use tables for layout.

– This is not what tables in HTML were designed for

• By using tables for layouts, we are not only limiting ourselves, but we are limiting the ways in which our work can be utilized.

• Tables are limiting, the web is designed to be limitless.

Page 18: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

18

Separating Content from Presentation

• Content is the most important aspect of the web.

– What you get is more important than how you see it.

• Separating Content from Presentation gives you

– Increased accessibility

– Improved Performance

– Easier initial work and easier maintenance.

Page 19: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

19

CSS and Positioning

• By using Cascading Style Sheets for positioning and design, we are truly separating content from presentation.

• All Major Browsers (IE 6, Netscape 7, Opera 6) support CSS-2 (which includes Positioning).

• XHTML requires CSS for all presentation in its strict format.

• CSS-2 allows different style sheets to be employed for different media.

– Change the way your page looks on a printer without changing the page.

Page 20: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

20

Fusebox 4 and Accessibility

• The Fusebox philosophy encourages separation of business logic from presentation logic which is good.

– With CFMX, Macromedia is also encouraging separation of the two tiers with CFC’s.

• Makes design patterns like MVC easy!

• With the new version of Fusebox 4 xml, layouts are fully under the architect’s control.

– Fully allows for separating presentation and content which are necessary for fully accessible and compliant web sites

Page 21: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

21

Layouts and Fusebox 4 xml

• Content from a fuseaction can be captured into a content variable.

<fuseaction name=“dosomething”>

<do action=“otherfuseaction” contentvariable=“showme” />

</fuseaction>

<fuseaction name=“otherfuseaction” >

<include template=“act_dosomething” />

<include template=“dsp_showsomething” />

</fuseaction>

Page 22: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

22

Displaying content variables

Many ways to display your content.

Have a layout file in the fusebox.xml.cfm file.

<globalfuseactions>

<preprocess>

</preprocess>

<postprocess>

<do action="layouts.default" />

</postprocess>

</globalfuseactions>

Page 23: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

23

In lay_default.

<cfoutput>

<div id="main">

<div id="welcome">#showme#</div>

</div>

</cfoutput>

Page 24: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

24

What about Netscape 4?

• Browser Statistics from thecounter.com shows that Netscape usage has gone from 5.4% usage in 11/2001 to 2.3% in 11/2002

• Netscape and MSIE 4 and older editions do not support CSS 2.

Page 25: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

25

Browser Stats 11/2001 – 11/2002

0.0000%

10.0000%

20.0000%

30.0000%

40.0000%

50.0000%

60.0000%

70.0000%

80.0000%

Nov-01 Dec-01 Jan-02 Feb-02 Mar-02 Apr-02 May-02 Jun-02 Jul-02 Aug-02 Sep-02 Oct-02 Nov-02

MSIE 6.x

MSIE 5.x

NN 4.x

MSIE4.x

NN 5.x

Net Comp

Operax.x

NN6.x

Unknown

NN3.x

MSIE 2

MSIE3

NN 2

NN 1

MSIE 1

Page 26: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

26

What about Flash?

• Macromedia is pushing CFMX and Flash MX as a Rich User Interface.

• Flash MX does have some accessibility built in.

– Flash Player 6 now uses the Microsoft Active Accessibility (MSAA) API to exchange information with a web browser that supports MSAA, which channels information to and from assistive technologies that support MSAA.

– Today, the only screen reader that allows users to interact with Flash content is Windows-Eyes from GW Micro.

• Objects that can’t be currently made accessible include:

– invisible buttons and some specific form components: combo boxes, list boxes, and scroll bars.

Page 27: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

27

Recommendations and Resources

• Web Sites

– http://www.webstandards.org

– http://www.alistapart.com

– http://www.glish.com

• FuseBox4

– http://beta.fusebox.org

• 508

– http://www.access-board.gov/sec508/guide/index.htm

• Bobby

– http://bobby.watchfire.com/bobby/html/en/index.jsp

Page 28: Accessibility and 508 easily with ColdFusion  and FuseBox4 xml

28

Recommendations and Resources

• Discovering Fusebox 4 (September 2003)

– Publisher - Techspedition

– Authors: John Quarto von-Tividar, Sandy Clark, Brian LeRoux, Perry Woodin

• Constructing Accessible Web Sites

– Publisher – Glasshaus

– Author: Jim Thatcher

• Cascading Style Sheets: Separating Content from Presentation

– Publisher – Glasshaus

– Author: Owen Briggs

• Core CSS

– Publisher Prentice Hall

– Author: Keith Schengili - Roberts