is your site accessible?

Post on 05-Jan-2016

33 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Presented by: The NYS Forum IT Accessibility Committee The NYS Forum Webmasters Guild Northeast ADA & IT Center. Is Your Site Accessible?. Web Site Testing for Accessibility. INTRODUCTION. - PowerPoint PPT Presentation

TRANSCRIPT

Is Your Site Accessible?

Web Site Testing for Accessibility

Presented by:The NYS Forum IT Accessibility CommitteeThe NYS Forum Webmasters GuildNortheast ADA & IT Center

Accessible Web Sites.lnk

NYS Technology Policy P04-002 requires that State agency web pages be validated for accessibility prior to posting

Comprehensive testing helps eliminate barriers

Assures your organization and your visitors of a quality web site

INTRODUCTION

Accessible Web Sites.lnk

You will learn: What “standards” are Why they matter What validation is About the different types of validation How to validate your page

OBJECTIVES:

Accessible Web Sites.lnk

You will learn: Why validation alone is not enough What features of your web page require

human judgement Where to find FREE resources to assist your

evaluation The benefits of having your site tested by a

user of assistive technology

OBJECTIVES:

Accessible Web Sites.lnk

Accessibility Issues

Accessible Web Sites.lnk

What are “standards?”

Set by the World Wide Web Consortium (W3C)

De facto standard-setting body for the web Made up of industry, academia and

practitioners Create rules for how web works – standards

Accessible Web Sites.lnk

Standards

Document type definitions (DTDs) Created & published by W3C

INPUT element definition in DTD

Accessible Web Sites.lnk

Standards

Document type declarations (also DTDs) INPUT element in web page code

Accessible Web Sites.lnk

Standards

Input element rendered in browser

Accessible Web Sites.lnk

Standards

Document type definitions contain allowable elements within any one version of the standard (loose, transitional, strict)

Used by: Web servers Browsers Page creators Validation programs

Accessible Web Sites.lnk

Why standards matter

Used by web server creators Used by browser manufacturers Used by web programmers Relied on to ensure interoperability Adherence to rules = predictable results Standards evolve; adherence to standards

smooths transitions to newer technology

Accessible Web Sites.lnk

What is “validation?”

Focused review of page code, measured against the published standard declared at top of page

Usually automated Notes deficiencies in HTML, page

structure, some accessibility features Offers suggestions for remediation

Accessible Web Sites.lnk

Validation

If you use a page authoring program, it may do some validation for you, as this screen shot from Macromedia’s Dreamweaver shows:

Accessible Web Sites.lnk

Why is validation significant for accessibility?

Compliant code is usually accessible code. Adherence to standards minimizes browser

peculiarities Eliminates one potential source of

accessibility problems

Accessible Web Sites.lnk

Does validation catch all problems?

NO! Some things require human judgement: ALT attributes accurate? All acronyms explained? Navigation usable and consistent? Does the page work in all browsers?

Accessible Web Sites.lnk

Humans Needed

Text/background contrast sufficient?

Accessible Web Sites.lnk

Humans Needed

Color used to convey information?

Accessible Web Sites.lnk

Humans Needed

Accessible equivalents for inaccessible elements?

Language appropriate?

Accessible Web Sites.lnk

Humans Needed All visual elements have a meaningful ALT

attribute or a LONGDESC attribute linking to additional information?

Do all non-text elements have meaningful alternatives?

Are links identified in a meaningful way? WRONG: CLICK HERE for a copy of the report RIGHT: You can download a copy of the report.

Accessible Web Sites.lnk

Humans Needed

Page using client-side SCRIPT (e.g., JavaScript) also includes NOSCRIPT option providing the same information or function of the script? Important to: Web-enabled cell-phones and PDA

users Web TV (yes, it’s still out there!) users “Malware-phobes”

Accessible Web Sites.lnk

Three truisms to keep in mind

1. You cannot assume that your visitor has anything more than a browser.

2. You have no control over how your visitor experiences your page

3. You don’t know how your visitor is coming to your site.

Accessible Web Sites.lnk

Automated Validation

The best things in life are FREE!

Accessible Web Sites.lnk

What does a validator do? Program that checks code against “rules”

for code “Rules” come from published standards World Wide Web Consortium develops

standards Specified in Document Type Definition

(DTD) at top of web page

Accessible Web Sites.lnk

Validation vs. Human Testing Validation: HTML code – is it correct?

Element syntax correct? Are elements requiring both opening and closing

tags properly closed? Do elements span paragraphs, etc.? Are elements in proper order?

Attribute syntax correct? Attribute contain valid values? Attribute allowed?

Accessible Web Sites.lnk

Validation vs. Human Testing

Validator Check Does it include an ALT attribute?

HUMAN Check ALT attribute value sufficiently descriptive? Should the image also have a LONGDESC attribute

(i.e., a link to a file containing a more detailed description than will fit in ALT attribute)

Is the image being used as a link? Is all of the page information still delivered if you can’t

view images?

<IMG SRC=“fileandpath.name” ALT=“info about image”>

Accessible Web Sites.lnk

Validation vs. Human Testing

Validator Check Does it include an ALT attribute?

HUMAN Check Does the image require < 150 characters to

describe adequately? Do you need a LONGDESC attribute &

associated written description?

<IMG SRC=“fileandpath.name” ALT=“info about image”>

Accessible Web Sites.lnk

Validation vs. Human Testing

Validator Check Is table coded correctly?

HUMAN Check If table is used for layout, does information

flow in the order it is intended to? If a data table is included in page, does

information flow in the order it is intended to?

Accessible Web Sites.lnk

Validation vs. Human Testing Validator Check

Do data tables include properly-coded contextual information?

HUMAN Check Adequate caption provided? Summary? Is the SCOPE attribute used for row and

column headings? Is the HEADER attribute used with ID to

provide context?

Accessible Web Sites.lnk

Validation vs. Human Testing Validator Check

Style sheet coded correctly? Scripts coded correctly?

HUMAN Check Can the page be understood if the visitor cannot/does not

use scripts or style sheets? Pages relying on scripts should also include provisions for

those using no scripts Pages laid out with style sheets must also make sense when

user agent does not accommodate style sheets.

Accessible Web Sites.lnk

Why Validate? Most accessibility errors will NOT be

visible on the page Validation catches HTML errors too

Can you tell which images on this page are accessible and which are not?

Accessible Web Sites.lnk

Which images are accessible?

<IMG SRC=“paulbowleseyes.jpg” BORDER=“1”>

<IMG SRC=“quesmark.gif BORDER=“0”>

<IMG SRC=“magglass.gif” BORDER=“0” ALT=“Find a Store”>

NOT accessible!

NOT accessible!

ACCESSIBLE!

Accessible Web Sites.lnk

What FREE tools are available? W3C Validator (http://validator.w3.org/)

Accessible Web Sites.lnk

What FREE tools are available?

Web Design Group HTML Validator http://www.htmlhelp.com/tools/validator/

Accessible Web Sites.lnk

What FREE tools are available? W3C CSS Validator http://jigsaw.w3.org/css-validator/

Accessible Web Sites.lnk

What FREE tools are available? Bobby

http://www.cast.org/bobby

Accessible Web Sites.lnk

What FREE tools are available? Cynthia Says

http://www.contentquality.com

Accessible Web Sites.lnk

What FREE tools are available?

W3C’s Link Checker http://validator.w3.org/checklink

Accessible Web Sites.lnk

Convenient tool for testing

Mozilla Firefox browser (http://www.mozilla.org) Standards-compliant Stable FREE

Web Developer Toolbar(www.chrispederick.com/work/firefox/webdeveloper)

Collects all the testing features you need

Accessible Web Sites.lnk

Summary: Steps in Testing Web Pages

Validate HTML Validate for WCAG Validate for 508 Validate CSS (optional) Check for broken links (optional)

Accessible Web Sites.lnk

Summary: Steps in Testing Web Pages Check page for:

ALT attribute values/LONGDESC Accessible alternatives for other non-text elements

(e.g., client-side scripts, audio, etc.) Links meaningful Form elements labeled appropriately Adequate context in data tables Proper linearization in tables for layout Consistent navigation Appropriate language use/explained acronyms Redundant text links for image maps

Accessible Web Sites.lnk

DEMONSTRATIONS

How these free tools work

Accessible Web Sites.lnk

top related