modxcms / a11y

MODX Accessibility for the Manager
13 stars 10 forks source link

Tree #3

Closed dubrod closed 9 years ago

dubrod commented 9 years ago

Accesible features integrated with the resource/elements/files trees

Links I've found: https://github.com/cognovis/extjs/blob/master/www/ExtJS3/examples/tree/aria-tree.html

rtripault commented 9 years ago

As far as i understand :

dubrod commented 9 years ago
  1. its 2 tabs to get to Resources then its down key twice to go down 1 link
  2. (1) etc needs to be changed to ID 1 so it reads correctly
  3. Can't tab from Resources to Elements or vice versa
  4. there needs to be a brighter focus style on ALL selected elements
  5. there needs to be a shortcut key to focus the resources first child LI to eliminate the "tab go around"
  6. No ARIA tags
rthrash commented 9 years ago

I think Issue #7 addresses your point 6 above @dubrod … ditto for point 4 being addressed by Issue #9

Point 2 has to do with how the tree elements are read. I suspect we should switch to generated content for the IDs and probably introduce a "screen-only" class that works on screen readers.

dubrod commented 9 years ago

Hitting down key from Resources (3) did go to "Elements" but it did not open the list. So I could see where I was at.

dubrod commented 9 years ago

For compliance with Web Content Accessibility Guidelines (WCAG)

Keyboard accessibility of tablist/tab panels:

The tab panel is not keyboard accessible at all. The main tabs need to have tabindex="0" on the active tab and tabindex="-1" on the inactive tabs, and the JavaScript needs to toggle that value as users select different tabs. You also need to toggle aria-expanded="true" and aria-controls="the-id-of-the-tabpanel". See https://dequeuniversity.com/assets/js/aria/saveform/form2.html for an example.

Icon alternative text:

All of the icons (New document, New symlink, etc. and Trash) need alt text so screen readers know what to say. See "alt text for images and icons" in the uberbar above for possible techniques.

Button role for icons:

The icons (New document, New symlink, etc. and Trash) should be given role="button" or they should be enclosed in actual

dubrod commented 9 years ago

going to close this and make more specific issues. this is getting too broad