javve/list — Issue #26: Get along with the WAI-ARIA specification
Author: julienbechade
Created: 2011-12-06 20:46:18+00:00
State: open

Wouldn't it be perfect to make list.js accessible according to W3C's specifications http://www.w3.org/TR/wai-aria/
All the cool kids talk about it.

It's not really complicated, you have to:
- highlight relations between elements when the DOM tree doesn't do it naturally.
- tell the user when an element is changed dynamically.

``` html

// role="composite" http://www.w3.org/TR/wai-aria/roles#composite

// you must include a to tell what the is about
Search lovely things

// aria-required="false", we tell users they don't need to fill the input

// the script behaves as a tab widget where each tab triggers a panel with a different content http://www.w3.org/TR/wai-aria/roles#tablist

Sort by name

Sort by category

Show all

Only show games

Only show beverages

// you'll note first the relation between aria-labelledby="#id_of_the_tab" and aria-describedby="#id_of_the_panel" http://www.w3.org/TR/wai-aria/states_and_properties#aria-labelledby
// aria-live="off" defines a live region wich will be updated. Once the update has occured, it must be set as "assertive" http://www.w3.org/TR/wai-aria/states_and_properties#aria-live
// aria-atomic="true" http://www.w3.org/TR/wai-aria/states_and_properties#aria-atomic
// aria-relevant="all" http://www.w3.org/TR/wai-aria/states_and_properties#aria-relevant

Monkey Island 2: LeChuck's Revenge Game

Monkey Island 2: LeChuck's Revenge is an adventure game developed and published by LucasArts in 1991. It was the second game of the Monkey Island series, following The Secret...

Good Coffee Beverage

Coffee is a brewed beverage with a dark, slightly acidic flavor prepared from the roasted seeds of the coffee plant, colloquially called coffee beans.

Full Throttle Game

Full Throttle is a computer adventure game developed and published by LucasArts. It was designed by Tim Schafer, who would later go on to design the critically acclaimed titles Grim Fandango, Psychonauts and Brütal Legend.

Brooklyn Lager Beverage

Brooklyn Brewery was started in 1987 by former Associated Press correspondent Steve Hindy and former Chemical Bank lending officer Tom Potter.

```

I think that's it, I'll update if I come by anything more.
We can move the discussion on Twitter if you want any more help.

Will you consider this issue ?