Top Banner
The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group
25
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Making Twitter TweetSteve Faulkner

The Paciello Group

Page 2: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

UP FRONT

• Accessibility is not just about blind people

• This is not an exercise in Twitter Bashing

Page 3: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Page 4: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Twitter – 1.0 issues

•alt=“Icon_star_empty”

alt=“Icon_star_full”

•No alt attribute

Page 5: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Twitter – 1.0 issues• <label for=“doing”> not associated with anything

• Use of <fieldset> – unnecessary and useless

• Unnecessary duplication of links

Page 6: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Twitter – 1.0 issuesUnnecessary duplication of links (175 on page) – 25 duplicates

Page 7: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Twitter – 2.0 Issues &

Solutions– Ensuring that JavaScript based

functionality is usable by people with disabilities• Understanding AJAX issues• Providing Name, Role and State Information• Keyboard Accessibility

– Use of <abbr> in microformats

Page 8: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Twitter – microformats

–Microformats use of <abbr>, why is it an issue?

– the title attribute is there to provide human readable information not machine readable data.

Page 9: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Twitter – Name, role and state

– Wherever possible use elements that provide the correct information

<a href="#" onclick="Ajax.Request()">

<img alt="Icon_star_empty" src="icon_star_empty.gif" /></a>

– incorrect role: link– Incorrect: name/state “Icon_star_empty”

Page 10: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Twitter – Name, role and state

– For a button use a button and provide name/state info in alt

<input type=“image” alt=“favourite" src="icon_star_empty.gif“ onclick="Ajax.Request()" />

<input type=“image” alt=“favourite - selected" src="icon_star_full.gif“ onclick="Ajax.Request()" />

Page 11: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Twitter – microformats

Users of Assistive Technology will hear this stuff

Page 12: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Twitter – microformats

<span class="dtstart" title="20070312T1700-06"> March 12, 2007 at 5 PM, Central Standard Time </span>

<abbr class="dtstart" title="20070312T1700-06"> March 12, 2007 at 5 PM </abbr>

WASP (webstandards.org) recommends:

<span class="dtstart"> March 12, 2007 at 5 PM, Central Standard Time <span class="value" title="20070312T1700-06"></span> </span>

Instead of:

or

Page 13: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Twitter – AJAX

Two main issues:• Users not having access to content

changes. • Users not being aware of

the changed content if they can access it.

Page 14: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Twitter – AJAX Users not having access to content

changes. • 2 major screen readers JAWS <7.1 & Window

Eyes use a ‘virtual buffer’ to store a copy of the DOM, this is what a user ‘views’ when browsing.

• When a user presses a control or link their view (copy) gets updated to reflect the current browser view.

• The update occurs after approximately 600 milliseconds a control is pressed.

Page 15: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The time between pushing the button and the content change is the issue.

The Paciello Group

Twitter – AJAX Users not having access to content changes.

Page 16: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

1. Favourites (pseudo) button not selected: Browser and screen reader view synchronized:

2. User presses button – button changes state, in browser view, to selected, this twitter is added to users favourites:

3. In screen reader view button remains unselected and twitter is not added to favourites:

Twitter – AJAX Users not having access to content

changes.

Page 17: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

Twitter – AJAX Users not having access to

content changes.

User key press: Update initiated

Content change occurs before update finished

Content change occurs after update finished

600 milliseconds

300 milliseconds

1000 milliseconds

Content update available

The Paciello Group

Page 18: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Twitter – AJAX Users not having access to content

changes. • Good News – JAWS 7.1+ has effectively solved

this issue.• Bad News – Window Eyes has not.• What can be done?: not much except to

inform user that page content updates and they may need to update their view.

Page 19: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Twitter – AJAX Users not having access to content

changes. CSS:

p.update { position: absolute; left: -999em; width: 0.1em; overflow: hidden; }

HTML:

<p id=“update”> Content updates occur frequently. If things aren’t working as you would expect, try refreshing the page.</p>

Page 20: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Twitter – AJAX

Users not being aware of the changed content if they can access it.

Page 21: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

• In this situation sighted users can glance at the number to see how much more they can write, but vision impaired users cannot practically benefit from this information.

• 3 possible solutions: (show demo)1. Use alert boxes2. Provide sound cues3. Use WAI -ARIA live regions

The Paciello Group

Twitter – AJAXUsers not being aware of the changed

content if they can access it.

Page 22: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Beyond Twitter - WAI-ARIA

• WAI ARIA – web accessibility initiative - accessible rich internet applications

• A W3C specification (in development)

“Provides a way to add Name, Role and State information to custom controls (widgets) built using current HTML elements, so that Assistive Technology can reliably convey this information to the user.”

Page 23: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

WAI-ARIA web accessibility - initiative accessible

rich internet applications • Info about who supports etc to be inserted.

Page 24: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

WAI-ARIA web accessibility - initiative accessible

rich internet applications • More info about wai aria

Page 25: The Paciello Group Making Twitter Tweet Steve Faulkner The Paciello Group.

The Paciello Group

Making Twitter Tweet

Thanks!Steve Faulkner

The Paciello Group