Closed Bug 1013005 Opened 10 years ago Closed 10 years ago

Activating a contact via screen reader corrupts layout

Categories

(Firefox OS Graveyard :: Gaia::Contacts, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: eeejay, Unassigned)

References

Details

(Keywords: access, Whiteboard: [b2ga11y p=2])

Attachments

(2 files)

Attached image screenshot.png
I am not sure exactly what I am seeing.

STR:
1. Open contacts app.
2. Activate screen reader.
3. Select a contact and double tap.

Expected: Go to contact details.

Actual: The header disappears and the entire app jumps up. Also, the whole gecko instance seems to get corrupted. The #windows element seems to go to a negative offset, it looks like the length size of the status bar.
Blocks: 995497
This has to do with how we send click events via a11y API. I have pending patches in bug 1017322 and bug 1015379.

Nonetheless, if we use roles other than list/listitem in the contacts list. Perhaps listbox/option is more appropriate, then it would work around the issue in the two a11y bugs mentioned above.
Comment on attachment 8431249 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/19797

\o/

At the begining was a bit confused by the use of those roles until I read this:

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_listbox_role

Thanks a lot!
Attachment #8431249 - Flags: review?(francisco) → review+
We are adding two classes, no need to add new unit test for that.
Flags: in-testsuite-
Landed:

https://github.com/eeejay/gaia/commit/7b7a37ea33c3e89b0f4cf38eb23a60cc35211dbc
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: