New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8087557: [Win] [Accessibility, Dialogs] Alert Dialog content is not fully read by Screen Reader #873
Conversation
|
Webrevs
|
This will need a CSR since you are adding a new enum value to /csr |
@kevinrushforth has indicated that a compatibility and specification (CSR) request is needed for this pull request. @arapte please create a CSR request for issue JDK-8087557 with the correct fix version. This pull request cannot be integrated until the CSR request is approved. |
@kevinrushforth |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some comments on the AccessibleRole.DIALOG
docs. Also, I get the following exception on macOS with VoiceOver when opening any dialog:
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException: Cannot read field "ptr" because "macRole" is null
at javafx.graphics@20-internal/com.sun.glass.ui.mac.MacAccessible.accessibilityAttributeValue(MacAccessible.java:1305)
at javafx.graphics@20-internal/com.sun.glass.ui.mac.MacApplication._enterNestedEventLoopImpl(Native Method)
at javafx.graphics@20-internal/com.sun.glass.ui.mac.MacApplication._enterNestedEventLoop(MacApplication.java:168)
at javafx.graphics@20-internal/com.sun.glass.ui.Application.enterNestedEventLoop(Application.java:515)
at javafx.graphics@20-internal/com.sun.glass.ui.EventLoop.enter(EventLoop.java:107)
at javafx.graphics@20-internal/com.sun.javafx.tk.quantum.QuantumToolkit.enterNestedEventLoop(QuantumToolkit.java:631)
at javafx.graphics@20-internal/javafx.stage.Stage.showAndWait(Stage.java:469)
at javafx.controls@20-internal/javafx.scene.control.HeavyweightDialog.showAndWait(HeavyweightDialog.java:162)
at javafx.controls@20-internal/javafx.scene.control.Dialog.showAndWait(Dialog.java:345)
at hello.HelloAlert.lambda$start$0(HelloAlert.java:79)
...
You will need to at least implement a stub on macOS.
It is fixed in next commit It was caused when VoiceOver requested role description for DIALOG role. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
@arapte This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 7 new commits pushed to the
Please see this link for an up-to-date comparison between the source branch of this pull request and the
|
/integrate |
Going to push as commit b951503.
Your commit was automatically rebased without conflicts. |
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:
Verification:
=> Observe that Narrator reads all the content correctly.
Progress
Issues
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx pull/873/head:pull/873
$ git checkout pull/873
Update a local copy of the PR:
$ git checkout pull/873
$ git pull https://git.openjdk.org/jfx pull/873/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 873
View PR using the GUI difftool:
$ git pr show -t 873
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/873.diff