RFR: JDK-8266808: Search label still uses old search field id

Hannes Wallnöfer hannesw at openjdk.java.net
Mon May 10 19:16:38 UTC 2021


On Mon, 10 May 2021 14:38:01 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

> What was that label's intended effect? I'm looking at the API documentation for JDK 16 and that of the mainline and cannot seem to spot any visual difference.

There isn't a visual difference. The purpose of associating a label with an input is mostly to improve accessibility and user experience, e.g.:

 - A screen reader can read the label when the input field gets the focus.
 - Clicking on the label puts the focus on the input field.

-------------

PR: https://git.openjdk.java.net/jdk/pull/3949


More information about the javadoc-dev mailing list