Ticket #5702 (closed defect: fixed)

Opened 6 months ago

Last modified 6 weeks ago

review dijit templates for proper use of waiRole=presentation

Reported by: becky Owned by: becky
Priority: high Milestone: 1.2
Component: Accessibility Version: 1.0
Severity: normal Keywords: a11y FF3
Cc: simonjb

Description (last modified by becky) (diff)

Firefox 3 now puts divs into the accessibility hierarchy. Thus, any div that we use within a widget will need to have a role. Many elements will have a role for the widget type (tab, menu, tree, treeitem, etc) but any inner divs that are just for layout or structure will also need a role of presentation.

There have been several tickets filed for specific widgets, #5657, #5658, #5659, #5660, #5661, this is for the remaining ones.

From the FF a11y dev:

Right, in FF2 the divs were not exposed unless they had a role. Now they are always exposed, because as it turns out they're important to screen readers in regular document content because it indicates where blank lines exist. But inside of a widget like a tab or button they are extra clutter in the a11y hierarchy that could confuse a screen reader and should get role="presentation"

For tables, if you put *any* role on the <table> element that will remove all child table cell objects from the hierarchy, unless they themselves have a role attribute.

Change History

Changed 5 months ago by simonjb

(In [12413]) Added role="presentation" to the templates for Button, ComboButton?, and DropDownButton?; refs #5702

Changed 5 months ago by guest

The latest tree example also needs work with regards to role="presentation".

Changed 5 months ago by becky

(In [12709]) refs #5702 added waiRole=presentation on tree rowNode.

Changed 5 months ago by becky

(In [12717]) refs #5702 updated tooltipDialog template to include waiRole=Presentaton on divs which do not belong in the a11y hierarchy

Changed 4 months ago by becky

  • milestone changed from 1.1 to 1.2

I think most have been fixed but leaving open for 1.2 so can double check.

Changed 6 weeks ago by becky

  • status changed from new to closed
  • resolution set to fixed
  • description modified (diff)

I believe most instances are fixed so am closing. Will open individual tickets if more instances are discovered.

Note: See TracTickets for help on using tickets.