IntelliJ UI Accessibility
SkillDev toolsLets your agent review IntelliJ UI code for keyboard access, focus handling, and labels.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the IntelliJ UI Accessibility skill
About this capability
Review IntelliJ UI accessibility for keyboard, focus, and labels.
What this skill tells your AI
The instructions your AI receives, as published by jetbrains/intellij-community in .agents/skills/ui-accessibility/SKILL.md and read by ahel’s review.
Use this skill when creating, changing, or reviewing UI in an IntelliJ-based IDE, including plugin UI. Do not use it just because a feature has a UI surface if the work is not on the UI itself. It covers accessibility expectations for Swing, Kotlin UI DSL, and other UI stacks, plus review and verification checks for keyboard use, screen readers, focus, labels, dynamic feedback, contrast, scaling, and localization.
Primary References
- JetBrains IntelliJ Platform accessibility guide - upstream source for IntelliJ-specific APIs, tools, and expectations.
Follow WCAG 2.2 as the primary accessibility standard.
Swing And Kotlin UI DSL
Accessible context details are relevant only for Swing-based UI, including Kotlin UI DSL.
- For custom Swing components and custom renderers, provide the correct accessible name, role, state/value, and property-change notifications.
- Accessible names are often inferred from component text, tooltip text, or
JLabel.setLabelFor(). Set or override the accessible name only when the inferred name is absent, ambiguous, or incorrect. - Do not include the component role in the accessible name. For complex custom components, combine visible title, subtitle, icon meaning, and other visible parts needed to understand the component.
- Modify
AccessibleContextand its properties only when implicit metadata is missing, insufficient, or incorrect. - Prefer direct
component.getAccessibleContext().accessibleName = .../accessibleDescription = ...for assigning one already-known value. - Use
AccessibleContextUtilwhen it adds value: copying metadata from another component, combining multiple accessible strings, avoiding duplicate descriptions, setting an accessible parent, or normalizing multiline text for screen readers. - Do not add accessibility properties or fire accessibility events preemptively. Rely on Swing/Kotlin UI DSL defaults when names, roles, state, values, focus behavior, and events are already correct; customize them only to fix a concrete guideline violation or missing screen-reader signal.
- Use
accessibleDescriptionin rare cases for supplementary text that already exists in the UI but is not otherwise read when the related component receives focus, such as comments, banners, hints, warnings, or inline explanations. Do not invent a separate description from scratch or duplicate the visible label/state. - Use
AccessibleRole.LABELfor plain text content andAccessibleRole.TEXTfor editable or selectable text fields/text areas. Use the specific button role that matches behavior:PUSH_BUTTON,RADIO_BUTTON,TOGGLE_BUTTON, orHYPERLINK. - Override accessible state when custom state such as checked, selected, expanded, or editable is not exposed correctly. Fire accessible property-change events when state, selection, value, text changes must be announced to assistive technologies.
- For custom components from scratch, check similar Swing components for which
AccessibleAction,AccessibleText,AccessibleSelection,AccessibleValue, or otherAccessible*interfaces they implement before choosing interfaces manually. - Screen readers automatically announce accessible property changes of the focused component. Use
AccessibleAnnouncerUtil.announce()for the most important changes outside the focused component or changes that do not fit existing property-change support. - Check
AccessibleAnnouncerUtil.isAnnouncingAvailable()when code depends on announcement support. - Use
ScreenReader.isActive()only for the rare behavior that must differ for screen reader users. By default, the UI should behave the same for all users.
Other UI Stacks
- For Compose, JCEF, or other non-Swing UI, apply the same accessibility goals with that stack's own semantics, focus, keyboard, and testing mechanisms.
Review Workflow
Check the UI before finishing code changes:
- Keyboard-only operation works, focus order is predictable, and focus does not get trapped. Only interactive components are keyboard-focusable, and they can be activated with Space or Enter when focused.
Tabmoves focus to the next focusable component andShift+Tabmoves it to the previous one. This applies for every focusable surface: dialogs, popups, tool windows, and embedded panels.- Focus stops follow the visual layout order.
- Every focus stop shows a focus indicator that is not clipped or overlapped.
Escapecloses dialogs and popups. From a tool window it returns focus to the editor when that is the expected exit path.- Treat anything that redefines traversal as a prompt to verify the cycle. Look for:
focusTraversalKeysEnabled = false; aTab/Shift+Tabkey binding or a component that consumes the key; a customFocusTraversalPolicy. - When you find one, walk the cycle and confirm three things: every interactive control is reachable, the order matches the layout, and focus escapes both forward and backward.
- If
Tabcurrently does something other than move focus, the recommended fix is to move that behavior to a non-traversal key and leaveTabandShift+Tabfor traversal. Keep aTaboverride only where it is a platform convention users already expect, such asTabcompleting inside an open completion popup, and scope it to that state alone. - Non-interactive labels and panels are not focusable unless critical important information would otherwise be unavailable to screen reader users; gate that behavior with
ScreenReader.isActive(). - New popups, modal dialogs, and dynamic content either receive focus or have a keyboard path to reach them. Do not move focus unexpectedly while users interact with lists or dropdowns.
- Container components such as lists, trees, tables, support the arrow-key navigation between items.
- Important dynamic feedback, such as validation results, search results, and background task completion, is announced or otherwise reachable.
- Color is not the only signal; contrast, focus visibility, and font/UI scaling remain usable.
- User-visible accessibility text is localized through message bundles.
- The UI adapts to the IDE zoom level.
Verification
- Walk the UI using only the keyboard.
- Test with a supported screen reader when practical: NVDA or JAWS on Windows, VoiceOver on macOS.
- Use UI Inspector to examine accessible names, descriptions, roles, and states. Enable "Show Accessibility Issues" to investigate suspected issues or validate custom UI behavior; it is not normally required for routine verification.
- When keyboard traversal is in scope, list the focus stops in
Taborder and compare that order against the visual layout. Note any key that overrides traversal and what it does instead. - In code reviews or final notes, explicitly state what accessibility paths were checked and what remains manual.
Signals
- GitHub stars
- 21k
- Forks
- 6k
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
ui-accessibility- Source
- github.com/jetbrains/intellij-community