mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-19 08:52:15 +01:00
9891a6ba21
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".