Skip to content
This repository has been archived by the owner. It is now read-only.
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, pbansal
  • Loading branch information
savoptik committed Dec 17, 2021
1 parent b46f0b0 commit 8fbe1724e0f783132a65c45503addad9d98a329e
Showing 1 changed file with 9 additions and 0 deletions.
@@ -768,4 +768,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 8fbe172

Copy link

@openjdk-notifier openjdk-notifier bot commented on 8fbe172 Dec 17, 2021

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.