You mean changing this:
https://github.com/openjdk/jfx/blob/9670a18a038824f302fe430d754a4a501b95c98e/modules/javafx.controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/modena.css#L1303
?
On 03/06/2026 22:46, Andy Goryachev wrote:
Hi,
The TextField prompt text currently disappears when the user focuses on the
blank field. This seems wrong, as it should disappear only when user types
something in.
This came out of looking at the bug https://bugs.openjdk.org/browse/JDK-8204323
which in fact is not a bug, see
https://github.com/openjdk/jfx/pull/2174#issuecomment-4596241226 . Even more,
the accessibility still announces the prompt text even though it's not visible.
This might be another issue, since I don't think the VoiceOver distinguishes
entered text from the prompt text.
What propose to fix the current behavior such that the prompt text disappears
only when the text field is not empty.
What do you think?
-andy