Quite possible, yes.

-andy



From: Christopher Schnick <[email protected]>
Date: Wednesday, June 3, 2026 at 18:44
To: Andy Goryachev <[email protected]>
Cc: OpenJFX <[email protected]>
Subject: [External] : Re: TextField prompt text

You mean changing this:
https://urldefense.com/v3/__https://github.com/openjdk/jfx/blob/9670a18a038824f302fe430d754a4a501b95c98e/modules/javafx.controls/src/main/resources/com/sun/javafx/scene/control/skin/modena/modena.css*L1303__;Iw!!ACWV5N9M2RV99hQ!NR5cy11xLZZnus5gL-t-9alqC6Gp0jizWPPryAvYqerdqFsvO7RigiEuOPaPXC_mqVSHMpUctVPgxgV0S07RD5xK$
?

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://urldefense.com/v3/__https://github.com/openjdk/jfx/pull/2174*issuecomment-4596241226__;Iw!!ACWV5N9M2RV99hQ!NR5cy11xLZZnus5gL-t-9alqC6Gp0jizWPPryAvYqerdqFsvO7RigiEuOPaPXC_mqVSHMpUctVPgxgV0S7a193lZ$
>   .  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
>
>
>

Reply via email to