Closed Bug 1746833 Opened 3 years ago Closed 3 years ago

Implement textual value for cached RemoteAccessibles

Categories

(Core :: Disability Access APIs, task)

task

Tracking

()

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: Jamie, Assigned: eeejay)

References

Details

(Whiteboard: [ctw-m1])

Attachments

(4 files)

In bug 1727643, we implemented support for numeric values in the cache. We also need to support textual values; i.e. those returned by LocalAccessible::Value. These are needed for <select> controls and numeric value controls which use aria-valuetext. We're also supposed to support textual value for ARIA combo boxes, but we don't fully support that yet; see bug 1631693, bug 1732284. (I think we should still try to cache for ARIA combo boxes, though, as there are cases which do work and the ones that don't will start working once LocalAccessible is fixed.)

Even though <input> and <textarea> text boxes expose a textual value, we probably don't want to cache this, as we can derive that from the text. These should be the exception, though. So, I'm thinking it'll be easier to cache Value in all cases except for <input> text and <textarea>.

I think we'll need this for Android, so marking as ctw-m1.

Whiteboard: ctw-m1 → [ctw-m1]

Only push it in certain instances, and calculate it in others.

Assignee: nobody → eitan
Status: NEW → ASSIGNED

The previous patch moved Value to Accessible. We can now use it in
GetTextEquivFromSubtree.

Depends on D138948

Pushed by eisaacson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fe8db552446d P1: Push text value to cache. r=Jamie https://hg.mozilla.org/integration/autoland/rev/ed7b9895c523 P2: Move Value() to Accessible and calculate or use cached value remotely. r=Jamie https://hg.mozilla.org/integration/autoland/rev/e09eb9b46d1c P3: Make GetTextEquivFromSubtree take Accessible. r=Jamie https://hg.mozilla.org/integration/autoland/rev/ec8a133b9497 P4: Add remote textbox value calculation and tests. r=Jamie
Regressions: 1756727
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: