[UIA] Expose live regions
Categories
(Core :: Disability Access APIs, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox128 | --- | fixed |
People
(Reporter: Jamie, Assigned: Jamie)
References
(Blocks 1 open bug)
Details
Attachments
(5 files)
We need to expose live regions to UIA clients. This will involve the LiveSetting property and the LiveRegionChanged event. However, exactly how these should be used to expose all live region semantics is rather unclear, so some investigation will be needed.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
This isn't clearly documented, but as well as the LiveSetting property, we need to do (at least) the following to get live regions working in Narrator:
- IsControlElement/IsContentElement must return true for live regions. Otherwise, Narrator will fail to find changes inside them.
- AriaProperties must always expose the value of aria-atomic; e.g. atomic=false. Otherwise, Narrator will assume the region is atomic and read the entire thing, rather than just updates.
StructureChanged events don't seem to make a difference. There might be more to learn as I do more complex testing.
| Assignee | ||
Comment 2•1 year ago
|
||
This isn't used any more and only works for LocalAccessible.
| Assignee | ||
Comment 3•1 year ago
|
||
| Assignee | ||
Comment 4•1 year ago
|
||
UIA doesn't have a native property to expose aria-atomic, so we need to expose this via AriaProperties.
If it's not exposed, Narrator will assume true, so we must expose it even if it's not explicitly present.
As part of this, I removed the local-only implementation of AriaProperties.
While it was more complete, it's not useful to have this supported only for LocalAccessible.
In addition, it didn't expose implicit default values, which this atomic case proves we need in some cases.
We'll add more properties as needed.
| Assignee | ||
Comment 5•1 year ago
|
||
Otherwise, Narrator will fail to traverse the live region when looking for its content.
| Assignee | ||
Comment 6•1 year ago
|
||
Comment 8•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/deee94263a33
https://hg.mozilla.org/mozilla-central/rev/84c448c765fa
https://hg.mozilla.org/mozilla-central/rev/2d77157cf946
https://hg.mozilla.org/mozilla-central/rev/b75c10fb749c
https://hg.mozilla.org/mozilla-central/rev/17ea92320f6b
Description
•