https://bugs.documentfoundation.org/show_bug.cgi?id=96492
Bug ID: 96492
Summary: Broken accessibility tree when objects are accessed
via flows-to/flows-from relation
Product: LibreOffice
Version: unspecified
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Blocks: 36549
(Spun off from bug 91739 comment #6)
Steps to reproduce:
1. Create a document with the following structure:
Page 1 (which is visible)
* Paragraph 1
* Paragraph 2
Page 2 (not currently visible)
* Paragraph 3
* Paragraph 4
2. Use Accerciser or an pyatspi script to get the last child of the document.
(Result: "Paragraph 2")
3. Get the flows-to target of that child (Result: "Paragraph 3")
So far so good.
4. Get the parent of "Paragraph 3" (Result: The accessible document which
contains "Paragraph 1" and "Paragraph 2")
In other words, the parent of "Paragraph 3" does not have "Paragraph 3" as a
child. That's a broken tree.
Ideally, the children of the document would be accessible pages. And the
children of those accessible pages would be the document's paragraphs (and
headings and lists and ...). Failing that, it would be extremely helpful if:
1. As paragraphs are accessed via the flows-to/flows-from accessible relation,
they are added to the document's children.
2. As paragraphs are scrolled off-screen, they are NOT removed from the list of
the document's children.
Hopefully by doing the above along with emitting the appropriate accessible
events (see bug 96490), the accessible tree will be more reliable.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs