Closed Bug 1182211 Opened 9 years ago Closed 4 years ago

[AccessFu][Android] remove highlight (except for word and character mode).

Categories

(Core :: Disability Access APIs, defect)

ARM
Android
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: yzen, Assigned: maxli)

References

Details

(Keywords: access)

Attachments

(2 files)

Android now has a pronounced outline of virtual cursor focus. We only duplicate it and thus do not need it for the most part. 

The only exception is a word and character modes where we would have our highlight inside the android one since it's not supported natively.
Attached patch PatchSplinter Review
Assignee: nobody → maxli
Attachment #8648581 - Flags: review?(eitan)
Comment on attachment 8648581 [details] [diff] [review]
Patch

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

Thanks for this.

I had a different idea about how to implement this..

I think the highlight for accessible objects and text ranges should be two different HTML elements, and they should be styled visible or not depending on platform.
So, in Android, the accessible object one would be invisible, and the text range one visible. In B2G, they would both be visible.

Maybe i'll make some visual mockups of what I was thinking..

If you think that is a bad idea, please tell!!

::: accessible/jsat/Presentation.jsm
@@ +186,5 @@
>        return {
>          type: this.type,
>          details: {
>            eventType: 'viewport-change',
> +          shouldHideBounds: !this._hasBoundstoPresent(start, end),

I would relay the type of bounds (text range, or accessible object), and then the Output.Visual in Accessfu.jsm would discern, depending on platform what to do. This will allow in the future to have two separate highlights for object and characters. For example, in B2G, we may want to highlight the parent object in one color/style, and have an inner rectangle around the spoken word.
Attachment #8648581 - Flags: review?(eitan)
Attached image mockup.png

TalkBack has its own highlight that we use now. There are no plans to re-introduce our own cursor highlight for words or characters.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: