RFR: 4512626: Non-editable JTextArea provides no visual indication of keyboard focus [v2]
Sergey Bylokhov
serb at openjdk.org
Tue Dec 6 02:17:09 UTC 2022
On Fri, 2 Dec 2022 23:52:55 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
>> Set the text caret to be visible but not blinking on the non-editable text area.
>
> Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision:
>
> Handling the case when blink rate is set while component is unedited
> Test HidingSelectionTest.java is rewritten and corrected.
BTW the description of this bug states:
> A well-defined on-screen indication of the current focus shall be provided that moves among interactive interface elements as the input focus changes. The focus shall be programmatically exposed so that assistive technology can track focus and focus changes.
I think that using the VoiceOver or JAWS will highlight the currently focused component since we should send that information to them, no?
And I do not think this statement in the bug description is true:
> A non-focusable JTextArea could be used instead, but this makes the instruction text unfocusable for screen readers as well. This setup would violate the second part of the 508 rule as quoted above.
-------------
PR: https://git.openjdk.org/jdk/pull/11408
More information about the client-libs-dev
mailing list