Closed Bug 773039 Opened 12 years ago Closed 12 years ago

Talkback announces all items in menu when menu is shown

Categories

(Firefox for Android Graveyard :: General, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox15 fixed)

RESOLVED FIXED
Firefox 16
Tracking Status
firefox15 --- fixed

People

(Reporter: eeejay, Assigned: eeejay)

References

Details

Attachments

(1 file)

This is confusing and chatty for blind users. This does not happen in other apps.
Assignee: nobody → eitan
Target Milestone: --- → Firefox 15
Eitan how does this fix work? (Just curious)
(In reply to David Bolter [:davidb] from comment #2)
> Eitan how does this fix work? (Just curious)

The default implementation of dispatchPopulateAccessibilityEvent calls dispatchPopulateAccessibilityEvent of all the child views, and each view appends text to the event. The override here does not go in to child views.
Comment on attachment 641207 [details] [diff] [review]
Don't populate menu accessibility event with descendant strings.

Review of attachment 641207 [details] [diff] [review]:
-----------------------------------------------------------------

Eitan, I'd be a little worried about the side effects of this change, but I suspect they'd all be related to accessibility and trust that you'll work through what ever crops up.
Attachment #641207 - Flags: review?(blassey.bugs) → review+
(In reply to Brad Lassey [:blassey] from comment #5)
> Comment on attachment 641207 [details] [diff] [review]
> Don't populate menu accessibility event with descendant strings.
> 
> Review of attachment 641207 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> Eitan, I'd be a little worried about the side effects of this change, but I
> suspect they'd all be related to accessibility and trust that you'll work
> through what ever crops up.

First, yes. This is a code path that is only reached when accessibility is on. Second, it is relatively well documented here:
http://developer.android.com/guide/topics/ui/accessibility/apps.html#populate-events
Target Milestone: Firefox 15 → Firefox 16
https://hg.mozilla.org/mozilla-central/rev/6a5d9afb58e5
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment on attachment 641207 [details] [diff] [review]
Don't populate menu accessibility event with descendant strings.

[Approval Request Comment]
Bug caused by (feature/regressing bug #): default widget implementation
User impact if declined: Whenever a TalkBack user opens the menu, the whole menu items get read to them. Makes working very hard because one does not know which item actually has the focus.
Testing completed (on m-c, etc.): Yes, on a local build.
Risk to taking this patch (and alternatives if risky): None that we can see.
String or UUID changes made by this patch: None.
Attachment #641207 - Flags: approval-mozilla-aurora?
Comment on attachment 641207 [details] [diff] [review]
Don't populate menu accessibility event with descendant strings.

[Triage Comment]
Approved for FF15 given that the a11y reward outweighs the near-zero risk to a non-a11y user.
Attachment #641207 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Depends on: 773952
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: