mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-21 12:29:23 +01:00
This commit makes the Preferences dialog more usable by accessibility devices like screen readers. Previously, a screen reader would only read the content of the text boxes. By using JLabel's setLabelFor() feature (and in some extreme cases, setAccessibleName()), a screen reader will know that a label is assigned to a text field. For example, instead of just reading "12", it will now read "Editor font size: 12".