isFromUserInput is always true on text change events of editable/focused nodes
Categories
(Core :: Disability Access APIs, defect, P3)
Tracking
()
People
(Reporter: eeejay, Unassigned)
Details
The AccTextChangeEvent
constructor forces isFromUserInput
to be true when the node is editable or focusable:
// XXX We should use IsFromUserInput here, but that isn't always correct
// when the text change isn't related to content insertion or removal.
mIsFromUserInput =
mAccessible->State() & (states::FOCUSED | states::EDITABLE);
This makes things like live regions with editable text tough because the AT needs to know the source of the text change.
Comment 1•5 years ago
|
||
(In reply to Eitan Isaacson [:eeejay] from comment #0)
This makes things like live regions with editable text tough because the AT needs to know the source of the text change.
IMO, an editable text marked as (or within) a live region is an authoring error. NVDA has the same issue and I've made the same argument. This doesn't mean we shouldn't work around it, but it also shouldn't be something we block on or make a major priority.
Reporter | ||
Comment 2•5 years ago
|
||
Yeah, the usecase for an editable node in a live region is arguable. But the heuristics around isFromUserInput
are definitely flawed. This isn't a priority right now. Just putting this bug here to remember that..
Updated•2 years ago
|
Description
•