Skip to content

Comments

Fix a11y role of window-level compose content in VoiceOver#2678

Merged
m-sasha merged 1 commit intojb-mainfrom
m-sasha/fix-window-level-compose-a11y
Jan 13, 2026
Merged

Fix a11y role of window-level compose content in VoiceOver#2678
m-sasha merged 1 commit intojb-mainfrom
m-sasha/fix-window-level-compose-a11y

Conversation

@m-sasha
Copy link

@m-sasha m-sasha commented Jan 12, 2026

When the Compose content container is focused, but nothing in compose is focused, VoiceOver will highlight the content container and call its role "JavaAxIgnore". This PR changes the role of ComposeSceneAccessible for this case to UNKNOWN, which seems to fix the issue. VoiceOver instead picks and highlights the first element of interest (e.g. button or text) inside Compose.

Fixes https://youtrack.jetbrains.com/issue/CMP-9503/Voice-Over-focuses-on-WindowSkiaLayerComponent-says-JavaAxIgnore

Testing

Tested manually

Release Notes

Fixes - Desktop

  • (prerelease fix) Fixed VoiceOver highlighting the entire Compose content and calling it "JavaAxIgnore" when using a composable Window.

@m-sasha m-sasha requested a review from igordmn January 12, 2026 14:36
@m-sasha m-sasha force-pushed the m-sasha/fix-window-level-compose-a11y branch from bce6ae4 to 5a75b60 Compare January 12, 2026 14:49
@m-sasha m-sasha merged commit 6d18cf1 into jb-main Jan 13, 2026
25 of 26 checks passed
@m-sasha m-sasha deleted the m-sasha/fix-window-level-compose-a11y branch January 13, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants