I did a quick check of several text fields with prompt text in various
sites and apps, they all show the prompt text when focused (and with empty
user text). I think we should do the same.

On Wed, Jun 3, 2026 at 11:46 PM Andy Goryachev <[email protected]>
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
>
>
>
>

Reply via email to