Skip to content
Browse files
8278604: SwingSet2 table demo does not have accessible description se…
…t for images

8278526: [macos] Screen reader reads SwingSet2 JTable row selection as null, dimmed row for last column

Reviewed-by: ant, kizune
Backport-of: 8fbe1724e0f783132a65c45503addad9d98a329e
  • Loading branch information
savoptik authored and Anton Tarasov committed Feb 1, 2022
1 parent 952f9c7 commit 592adc85d109a4d93f01c60e791ab5af6c31756e
Showing 1 changed file with 9 additions and 0 deletions.
@@ -741,4 +741,13 @@ void updateDragEnabled(boolean dragEnabled) {

public ImageIcon createImageIcon(String filename, String description) {
ImageIcon imageIcon = super.createImageIcon(filename, description);
AccessibleContext context = imageIcon.getAccessibleContext();
if (context!= null) {
return imageIcon;

1 comment on commit 592adc8

Copy link

@openjdk-notifier openjdk-notifier bot commented on 592adc8 Feb 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.