[UIA] Support embedded objects in text
Categories
(Core :: Disability Access APIs, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox130 | --- | fixed |
People
(Reporter: Jamie, Assigned: Jamie)
References
(Blocks 1 open bug)
Details
Attachments
(5 external files)
We need to support two types of embedded objects for UIA text:
- Embedded objects where the text is included by the text pattern. This allows UIA to retrieve semantic information, etc. Unlike IAccessible2, these are not represented by embedded object characters; the text is just flattened.
- Embedded objects which can't be represented as text such as images. These are represented by embedded object characters.
In both cases, we need to support ITextProvider::RangeFromChild, ITextRangeProvider::GetChildren and ITextRangeProvider::GetEnclosingElement. For the second case only, we'll need to support exposing the embedded object character.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
First, previously, we were doing this in registerCleanupFunction, but this actually runs after the entire test file has finished, not each task.
We need this to happen after each task because some tasks might set Python globals which might interfere with other tasks.
Second, even when this did run previously, we didn't actually wait until it was complete.
runPython() is async, so we need to wait for the Promise to be fulfilled.
Third, if we had awaited this previously, we would have hung forever.
The Python runner wasn't sending a response when it finished the reset, so the JS code never knew when it had completed.
We now just send a return of None in this case to signal completion.
| Assignee | ||
Comment 2•2 years ago
|
||
| Assignee | ||
Comment 3•2 years ago
|
||
| Assignee | ||
Comment 4•2 years ago
|
||
Updated•2 years ago
|
Comment 6•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/76b1d3d49c46
https://hg.mozilla.org/mozilla-central/rev/619d77ab44af
https://hg.mozilla.org/mozilla-central/rev/9f33a4b8f721
https://hg.mozilla.org/mozilla-central/rev/fe39f6eef856
| Assignee | ||
Comment 7•2 years ago
|
||
Comment 8•2 years ago
|
||
A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)
Comment 10•2 years ago
|
||
| bugherder | ||
Description
•