On Wed, 24 Nov 2021 16:01:04 GMT, Anton Tarasov <a...@openjdk.org> wrote:
>> Artem Semenov has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 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? > > src/java.desktop/share/classes/javax/swing/JLabel.java line 1083: > >> 1081: name = super.getAccessibleName(); >> 1082: } >> 1083: > > Please remove the extra line. Done. ------------- PR: https://git.openjdk.java.net/jdk/pull/6538