Igalia / acacia

Library for inspecting accessibility APIs
https://igalia.github.io/acacia
GNU Lesser General Public License v2.1
8 stars 1 forks source link

[ATSPI] Add means to get the target of a given relationship #161

Closed joanmarie closed 6 months ago

joanmarie commented 6 months ago

While this functionality is useful in general, this change provides a means to quickly get to the document from the frame/window in (at least) gecko-based and chromium-based browsers. It will be helpful in a future change to optionally only dump the document tree (i.e. without including the browser UI), and it provides a means to demonstrate and document the use of the wrapped interfaces (which in some cases are only implemented for document content).

joanmarie commented 6 months ago

@elima: I would like to land this prior to the big interface change so that I can add some of the new functionality those wrappers provide to the readme (without having to get the nth child of the nth child of the nth child of the nth child of .... of the application). Thanks in advance!

joanmarie commented 6 months ago

Looks good now, thanks!!

There is a nitpick, but feel free to ignore it.

Addressed as discussed in matrix. Thanks for the review!