-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Popup accessibility #439
Popup accessibility #439
Conversation
7e1c73d
to
4852569
Compare
|
||
internal class ComposeLayer( | ||
private val skiaLayerAnalytics: SkiaLayerAnalytics | ||
) { | ||
private var isDisposed = false | ||
|
||
internal val sceneAccessible = ComposeSceneAccessible( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will test only how it works (macOs, Windows) now later, and post the results here.
@m-sasha, could you do a full review?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I checked it on MacOs and Windows (NVDA), it works fine.
compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/awt/ComposeWindowDelegate.desktop.kt
Outdated
Show resolved
Hide resolved
compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/Accessibility.desktop.kt
Outdated
Show resolved
Hide resolved
...se/ui/ui/src/desktopTest/kotlin/androidx/compose/ui/platform/ApplicationAccessibilityTest.kt
Outdated
Show resolved
Hide resolved
...se/ui/ui/src/desktopTest/kotlin/androidx/compose/ui/platform/ApplicationAccessibilityTest.kt
Outdated
Show resolved
Hide resolved
...se/ui/ui/src/desktopTest/kotlin/androidx/compose/ui/platform/ApplicationAccessibilityTest.kt
Show resolved
Hide resolved
...se/ui/ui/src/desktopTest/kotlin/androidx/compose/ui/platform/ApplicationAccessibilityTest.kt
Outdated
Show resolved
Hide resolved
...se/ui/ui/src/desktopTest/kotlin/androidx/compose/ui/platform/ApplicationAccessibilityTest.kt
Outdated
Show resolved
Hide resolved
compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/awt/ComposeLayer.desktop.kt
Outdated
Show resolved
Hide resolved
compose/ui/ui/src/desktopMain/kotlin/androidx/compose/ui/platform/ComposeSceneAccessible.kt
Outdated
Show resolved
Hide resolved
…nFocusRequested for each context request
Now ComposeSceneAccessible handles accessibleAt(point) taking all skia owners into account
dbbfb2e
to
3b7fbf8
Compare
* Extract ComposeSceneAccessible * Make ComposeSceneAccessible the main accessible wrapper for a Window Now ComposeSceneAccessible handles accessibleAt(point) taking all skia owners into account * Introduce test for accessibility in popups
Proposed Changes
Testing
Test: Manual testing and newly introduced
ApplicationAccessibilityTest
Issues Fixed
Fixes: JetBrains/compose-multiplatform#2041
Fixes: JetBrains/compose-multiplatform#2185
Fixes: JetBrains/compose-multiplatform#2120