mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user