IDEA-287021 Screen reader does not pronounce plugin name when navigating through the plugins list in Plugins settings

GitOrigin-RevId: 024c4aa8d085d7ed1ebccb154ccac418a3ad10fa
This commit is contained in:
Alexander Lobas
2023-05-23 17:02:40 +00:00
committed by intellij-monorepo-bot
parent 96b263a434
commit 7cbaf2bd07
@@ -35,6 +35,7 @@ import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import javax.accessibility.AccessibleContext;
import javax.swing.*;
import javax.swing.plaf.ButtonUI;
import java.awt.*;
@@ -138,6 +139,8 @@ public final class ListPluginComponent extends JPanel {
}
updateColors(EventHandler.SelectionType.NONE);
putClientProperty(AccessibleContext.ACCESSIBLE_NAME_PROPERTY, plugin.getName());
UiInspectorUtil.registerProvider(this, new PluginIdUiInspectorContextProvider());
}