JS controls for bug subscription are hard to use with screen readers

Bug #783595 reported by Brad Crittenden
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Curtis Hovey

Bug Description

At UDS Huw and I did a very simple walk-through of the new bug subscription features with Luke (themuso). He was using Firefox 4 with gnome-orca as the screen reader.

On a bug page the "Subscribe to bug mail link" was easily found. The overlay was presented but didn't get focus. Luke had to find it where it lived in the DOM.

On a project page, the link to open the control was found. Using it he was frustrated when he tried to use ESC to close a drop-down selection and the entire overlay was closed. Similarly, when presented with the accordion widget he found no way to open it to reveal the contents. The usual way to do that using the keyboard is via the ENTER key but it caused the overlay form to be submitted.

It was also noted that when new elements were visually revealed on the page there was no notification of their appearance. Subsequent exploration via the screen reader showed the new elements but there was no indication that the form contents had changed.

Related branches

Brad Crittenden (bac)
Changed in launchpad:
status: Confirmed → Triaged
Revision history for this message
Francis J. Lacoste (flacoste) wrote :

That's a regression in the accessibility of the subscription control.

Changed in launchpad:
importance: High → Critical
tags: added: regression
Curtis Hovey (sinzui)
tags: added: wcag
Curtis Hovey (sinzui)
Changed in launchpad:
assignee: Yellow Squad (yellow) → nobody
tags: added: javascript
Revision history for this message
Curtis Hovey (sinzui) wrote :

I see 3 issues that need fixing:
1. When the overlay is shown, focus must be given to the first control
2. Users can leave the overlay, but the tab key should cycle through the overlay.
3. the accordion widget does not recognise the "enter" key to toggle state.

1 and 2 might be solved by changing the subscription overlay to extend lp's PrettyOverlay which handles tabs and seems to focus correctly. Otherwise _getTabNodes and _handleTab are needed. These methods also illustrate how to focus elements and capture keypresses. The accodion will need extending or patching to understand key presses.

Curtis Hovey (sinzui)
Changed in launchpad:
assignee: nobody → Curtis Hovey (sinzui)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
tags: added: qa-ok
removed: qa-needstesting
Steve Kowalik (stevenk)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.