RFR: 8277497 Last column cell in the JTAble row is read as empty cell [v4]

Anton Tarasov ant at openjdk.java.net
Thu Nov 25 13:48:03 UTC 2021


On Thu, 25 Nov 2021 09:00:32 GMT, Artem Semenov <asemenov at openjdk.org> wrote:

>> Testing https://bugs.openjdk.java.net/browse/JDK-8271071 
>> Step to reproduce 
>> 1) Run SwingSet2 in JDK 18 ( I used b24 ) 
>> 2) Enable Voiceover. 
>> 3) Select JTable demo 
>> 4) Click any row in the table or select the first row . Observe that row is selected & VoiceOver reads the column values or navigate the columns one by one by pressing tab key. When the focus reaches the last column ( Favourite Food ) Observe that column value is read as null. If you hear the same then the bug is reproduced.
>
> 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?

Marked as reviewed by ant (Reviewer).

Looks fine to me.

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

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



More information about the client-libs-dev mailing list