RFR: 8087557: [Win] [Accessibility, Dialogs] Alert Dialog content is not fully read by Screen Reader

Kevin Rushforth kcr at openjdk.org
Wed Aug 17 13:35:21 UTC 2022


On Wed, 17 Aug 2022 08:26:48 GMT, Ambarish Rapte <arapte at openjdk.org> wrote:

> Accessibility is not implemented for JavaFX dialogs. This change is to implement the accessibility on windows platform.
> Without this fix : On Windows platform, content of Dialog are not read by Windows Narrator or JAWS.
> With this fix:
> 1. Windows narrator reads the dialog correctly
> 2. JAWS fails to read the header text. : This will be handled separately 
> 3. Behavior of VoiceOver on MacOS remains unchanged : This will be handled separately.
> 
> Verification:
> 1. Run HelloAlert toy app, with fix.
> 2. Start Windows Narrator
> 3. Click on the different buttons to show different Dialogs
> => Observe that Narrator reads all the content correctly.

This will need a CSR since you are adding a new enum value to `AccessibleRole`.

-------------

PR: https://git.openjdk.org/jfx/pull/873


More information about the openjfx-dev mailing list