-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8302687 Implement interfaces and shared code for announcement feature #13001
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
Conversation
|
👋 Welcome back asemenov! A progress list of the required criteria for merging this PR into |
| /** | ||
| * messages do not interrupt the current speech, they are spoken after the screen reader has spoken the current phrase | ||
| */ | ||
| @Native private static final int ANNOUNCE_WITHOUT_INTERRUPTING_CURRENT_OUTPUT = AccessibleAnnouncer.ANNOUNCE_WITHOUT_INTERRUPTING_CURRENT_OUTPUT; |
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 suppose that adding @Native to AccessibleAnnouncer constants would simplify the code
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.
Done.
Webrevs
|
…simplify the code
| super.createUI(frame, "Accessible Anouncer test"); | ||
| } | ||
|
|
||
| public static void main(String[] args) throws Exception { |
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.
| public static void main(String[] args) throws Exception { | |
| public static void main(String[] args) throws Exception { |
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.
Done
|
@savoptik This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
Do not close this pull request. |
| */ | ||
| void announce(Accessible a, final String str, final int priority); | ||
|
|
||
| } No newline at end of file |
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.
Minor: no newline at the last line of the file. Not an error just a cosmetic.
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.
Done.
azuev-java
left a comment
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.
Since there is a new interface and a default implementation for it the CSR process should be invoked. See https://wiki.openjdk.org/display/csr/CSR+FAQs
Q: What sort of changes require CSR review?
A: Any change to a JDK interface meant to be used outside of the JDK itself requires CSR review. In this context "interface" isn't limited to the Java programing language definition of an interface, but encompasses the broader concept of a protocol between the JDK and users of the JDK. Examples of interfaces by this definition include:
- Changes to public and exported APIs in java.* and javax.* packages.
And that falls well within that clause.
|
@savoptik This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
You don't need to close this pull request. |
|
@savoptik This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
You don't have to close anything. |
|
@savoptik This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
You don't need to close this pull request. |
|
There's a really tree of JBS issues related to this topic and I see a process problem. The bug for this PR is https://bugs.openjdk.org/browse/JDK-8302687 But the CSR in this PR is listed as https://bugs.openjdk.org/browse/JDK-8304499 So this is wrong. Then there's the overall question as to how important, or appropriate is this API ? |
|
@prrace Thank you for your comment. I can close this PR and open a new one with a different number. "Then there's the overall question as to how important, or appropriate is this API ? This functionality is part of the a11y API, for announcing we use the capabilities of the screen reader. |
|
@savoptik This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
@savoptik This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
This enhancement covers basic API and shared code that should be implemented for the Accessibility Announcement feature.
CSR JDK-8304499
@mrserb @prrace @azuev-java please review
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/13001/head:pull/13001$ git checkout pull/13001Update a local copy of the PR:
$ git checkout pull/13001$ git pull https://git.openjdk.org/jdk.git pull/13001/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 13001View PR using the GUI difftool:
$ git pr show -t 13001Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/13001.diff
Webrev
Link to Webrev Comment