Opened 14 years ago

Closed 14 years ago

#4550 closed defect (fixed)

Dojo spinners should not have tabindex="-1"

Reported by: guest Owned by: Becky Gibson
Priority: high Milestone: 1.0
Component: Accessibility Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


Please remove tabindex="-1" on divs used to construct spinners. It is forcing the creation of an accessible even though there is role="presentation".

Change History (3)

comment:1 Changed 14 years ago by guest

Just for clarity, please only remove unnecessary tabindex="-1", not all of them. We still want the spinner to show up in the accessible hierarchy, but not all the extra sections (divs).

comment:2 Changed 14 years ago by Becky Gibson

Milestone: 1.0

comment:3 Changed 14 years ago by Becky Gibson

Resolution: fixed
Status: newclosed

(In [10681]) fixes #4550. remove tabindex=1 and wairole=presentation from spinner template as it is not needed. Presentation role was initially added to mark these nodes with the up down arrows so the screen readers would not try to speak them. tabindex was needed in order to assign the wairole. But, marking something as presentation does NOT render a text node as presentation and it will still be provided to the screen readers. No need having extra code which isn't helping a11y.

Note: See TracTickets for help on using tickets.