Closed Bug 986165 Opened 10 years ago Closed 10 years ago

[keyboard] Bubble text is visible to screen reader users.

Categories

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

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: eeejay, Assigned: eeejay)

References

Details

(Keywords: access)

Attachments

(1 file)

STR:

1. Activate screen reader.
2. Navigate to a text entry, and double tap.
3. Move finger over keyboard.

Result: In English/US keyboard you hear the label of the key twice, for example "L L", or "U U".
Expected: Only hear the label once.

This is due to the bubble text not being hidden properly. opacity: 0 is not enough to properly hide it.
Comment on attachment 8394415 [details] [review]
Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/17400

r=me.
Thanks.

I think then we don't need the opacity rule, right?
Attachment #8394415 - Flags: review?(rlu) → review+
(In reply to Rudy Lu [:rudyl] from comment #2)
> Comment on attachment 8394415 [details] [review]
> Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/17400
> 
> r=me.
> Thanks.
> 
> I think then we don't need the opacity rule, right?

Indeed! I'll do that.
Eitan: Can you make sure that they are no reflows happening after this change when we press a key? It shouldn't but sometimes Gecko triggers reflows when it shouldn't. You can use the Developer hud to check that.
Flags: needinfo?(eitan)
(In reply to Anthony Ricaud (:rik) [out March 27 & 28] from comment #5)
> Eitan: Can you make sure that they are no reflows happening after this
> change when we press a key? It shouldn't but sometimes Gecko triggers
> reflows when it shouldn't. You can use the Developer hud to check that.

I'm seeing a reflow both with and without this patch :(
Flags: needinfo?(eitan)
Vivien: I thought we got rid of all the reflows on key press in the keyboard, is it expected that we still see one?
Flags: needinfo?(21)
(In reply to Anthony Ricaud (:rik) [out March 27 & 28] from comment #7)
> Vivien: I thought we got rid of all the reflows on key press in the
> keyboard, is it expected that we still see one?

It's not expected. There should be no reflows related to a key press / key release. But you need to disable the autocompletion to verify this as this one trigger separate reflows.
Flags: needinfo?(21)
I disabled the word suggestions, and now we are at 0 reflows, both with and without the patch. So we are good!
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: