mkpaz / atlantafx

Modern JavaFX CSS theme collection with additional controls.
https://mkpaz.github.io/atlantafx
MIT License
791 stars 64 forks source link

ModalPane does not interact properly with screenreaders #58

Closed crschnick closed 1 year ago

crschnick commented 1 year ago

When using the Windows screen reader, the contents of a ModalPane are still recognized even though they should not be visible anymore after calling hide().

mkpaz commented 1 year ago

I suppose it’s another JavaFX bug and the screen reader doesn’t take the view order property into account. I’ve checked the list of AccessibleActions and failed to see something suitable.

crschnick commented 1 year ago

Can't you just make it invisible/not managed/not focus traversable when the pane is hidden?

mkpaz commented 1 year ago

Hard to say as it could break the content animations. I would prefer to avoid this level of complexity.

mkpaz commented 1 year ago

Closing in favor of https://github.com/mkpaz/atlantafx/issues/63 as it's more generic issue.