On Thu, 25 Nov 2021 03:53:44 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> Artem Semenov has refreshed the contents of this pull request, and previous >> commits have been removed. The incremental views will show differences >> compared to the previous content of the PR. > > src/java.desktop/share/classes/javax/swing/JLabel.java line 1091: > >> 1089: (JLabel.this.getIcon() != null)) { >> 1090: name = >> ResourceBundle.getBundle("com.sun.accessibility.internal.resources.accessibility", >> Locale.getDefault()).getString("image"); >> 1091: } > > Probably it should somehow ask the icon itself about possible description? I > guess the JLabel should work similar to > Icon/ImageIcon/AccessibleImageIcon/etc when the text is empty but the icon is > set. But I am not sure that the iicons are supported by the a11y in Swing, > for example how the reader will cover the simple Icon? Will it say something? Done. thank you very much. ------------- PR: https://git.openjdk.java.net/jdk/pull/6538