Re: Slides of my WAI-ARIA presentation at SpainJS event

Actually I ran across this not too long ago, where I had a Span tag with tabindex=0 and role=link, and tried using just a click event to handle the keypress. 

This worked fine for screen reader users, but failed completely for keyboard only users not using a screen reader.

It's always a good idea to put a key event like keyDown to handle keyboard interaction in a redundant manner to ensure accessibility.

The way I explain ARIA to people is that ARIA effects behavior, not functionality. Proper scripting is always necessary to ensure functionality for users that cannot benefit from ARIA.


  ----- Original Message ----- 
  From: Steve Faulkner 
  To: Chaals McCathieNevile 
  Cc: WAI Interest Group ; Ramón Corominas 
  Sent: Monday, July 09, 2012 3:58 AM
  Subject: Re: Slides of my WAI-ARIA presentation at SpainJS event


  Hi Chaals, 

  >I think pretty much all browsers allow activating click events with the keyboard, and will add things if you give them a tabindex. So adding specific keyboard >handling is probably redundant if you're just using click (mouseover, focus, and various other things are still not so good).

  I think you are right, but need to take into account keyboard behaviour for things like buttons, which require activation on space key press as well as enter key

  see http://www.paciellogroup.com/blog/2011/04/html5-accessibility-chops-just-use-a-button/ for more details.

  regards
  Steve


  On 9 July 2012 11:47, Chaals McCathieNevile <w3b@chaals.com> wrote:

    On Sun, 08 Jul 2012 22:29:30 +0200, Ramón Corominas <listas@ramoncorominas.com> wrote:


      Hi all, and apologies for cross-posting.

      Last Saturday I gave a presentation in the SpainJS event about creating accessible apps using WAI-ARIA. The idea was to show JS developers that accessibility is an essential component to achieve quality coding, and the potential of ARIA to create more accessible apps.

      I've uploaded the slides here:
      http://ramoncorominas.com/spainjs/



    Nice :)



      Comments, suggestions or corrections are welcome (smile)



    I think pretty much all browsers allow activating click events with the keyboard, and will add things if you give them a tabindex. So adding specific keyboard handling is probably redundant if you're just using click (mouseover, focus, and various other things are still not so good).

    I'd be interested in learning if that is not the case...

    cheers

    Chaals

    -- 
    Chaals - standards declaimer





  -- 
  with regards

  Steve Faulkner
  Technical Director - TPG

  www.paciellogroup.com | www.HTML5accessibility.com | www.twitter.com/stevefaulkner
  HTML5: Techniques for providing useful text alternatives - dev.w3.org/html5/alt-techniques/
  Web Accessibility Toolbar - www.paciellogroup.com/resources/wat-ie-about.html 

Received on Monday, 9 July 2012 13:16:04 UTC