Discussion:
implementing javafx accessibility for linux
Michał Zegan
2018-10-26 10:18:02 UTC
Permalink
Hello, few questions:
- is javafx accessibility support for windows/mac that is currently
present in javafx being maintained?
- what would be required for someone to implement javafx accessibility
for other platforms such as linux? Is it supported by public api or does
it require javafx modification/contribution?
- is it planned in the future to implement linux javafx support?
Kevin Rushforth
2018-10-26 13:19:41 UTC
Permalink
Yes, JavaFX accessibility is being maintained for Windows and Mac. We
have no plan to ever implement accessibility for Linux.

The implementation of accessibility is in the glass windowing toolkit.
If you are interesting in exploring it, you could take a look at the
Windows and Mac implementations. Be aware that implementing
accessibility for Linux would be a fairly large project that would
require significant effort in implementation and testing. You would have
do a proof of concept / prototype before we could evaluate whether it
could be included into OpenJFX.

If you are interested in trying this, you might want to take a look at
our GitHub mirror [1], and read the CONTRIBUTING [2] page.

-- Kevin

[1] https://github.com/javafxports/openjdk-jfx
[2]
https://github.com/javafxports/openjdk-jfx/blob/develop/.github/CONTRIBUTING.md
Post by Michał Zegan
- is javafx accessibility support for windows/mac that is currently
present in javafx being maintained?
- what would be required for someone to implement javafx accessibility
for other platforms such as linux? Is it supported by public api or does
it require javafx modification/contribution?
- is it planned in the future to implement linux javafx support?
Michał Zegan
2018-10-26 15:05:12 UTC
Permalink
Post by Kevin Rushforth
Yes, JavaFX accessibility is being maintained for Windows and Mac. We
have no plan to ever implement accessibility for Linux.
Why it is not planned to implement accessibility for linux? I would say
that the reasons to implement it are exactly the same as reasons to
implement javafx itself there. I am one of the people that would benefit
from that.
Post by Kevin Rushforth
The implementation of accessibility is in the glass windowing toolkit.
If you are interesting in exploring it, you could take a look at the
Windows and Mac implementations. Be aware that implementing
accessibility for Linux would be a fairly large project that would
require significant effort in implementation and testing. You would have
do a proof of concept / prototype before we could evaluate whether it
could be included into OpenJFX.
Well, not quite sure. I believe it requires implementing ATK interfaces
in a native library, and then hook it up to the subclass derived from
com.sun.glass.ui.Accessible, not sure if anything else is required
javafx side? Mapping of concepts between atk and javafx may be tricky,
but shouldn't be impossible.
Also i was wondering about implementing atk accessible window interface.
It seems to me like javafx does not even treat windows as accessible
objects, rather it starts from the scene level... However atk doesn't
have concept similar to a scene, and actually fires events on things
like window activated/deactivated/maximized.
I am not yet planning to implement anything, but trying to look into how
much work/efford would it require in case I would like to do this.
Post by Kevin Rushforth
If you are interested in trying this, you might want to take a look at
our GitHub mirror [1], and read the CONTRIBUTING [2] page.
-- Kevin
[1] https://github.com/javafxports/openjdk-jfx
[2]
https://github.com/javafxports/openjdk-jfx/blob/develop/.github/CONTRIBUTING.md
Post by Michał Zegan
- is javafx accessibility support for windows/mac that is currently
present in javafx being maintained?
- what would be required for someone to implement javafx accessibility
for other platforms such as linux? Is it supported by public api or does
it require javafx modification/contribution?
- is it planned in the future to implement linux javafx support?
Loading...