[Webkit-unassigned] [Bug 270354] [AX][ATSPI] Accessible text implementation should not flatten text from child accessible objects
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 1 08:44:41 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=270354
Joanmarie Diggs <jdiggs at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jdiggs at igalia.com
--- Comment #2 from Joanmarie Diggs <jdiggs at igalia.com> ---
This bug has some significant implications for Orca which uses the text, hypertext, and hyperlink interfaces to turn rich-text content into presentable lines of text.
The way it works is that every child in an element is expected to be represented by a embedded object character. When Orca sees such a character, it uses the hypertext interface to get the child associated with that character. Orca also does the reverse, namely given a child, it uses the hyperlink offset to get that child's position in the parent text. Depending on the current position and circumstances, both of these methods are used to piece together lines of content.
In WebKitGTK's current implementation, there are very few embedded object characters in the flattened text. Furthermore the children sometimes report they have a offset in the parent that neither corresponds to an embedded object character nor to their actual position in the flattened text. The deeper the accessibility tree, the worse the problem can become.
Fixing this issue -- which would make WebKitGTK's text implementation match that of both Gecko and Chromium -- is needed for Orca to apply it's generic web support to WebKitGTK content.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240301/266f3e07/attachment.htm>
More information about the webkit-unassigned
mailing list