-
Notifications
You must be signed in to change notification settings - Fork 132
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
Compose iOS accessibility support #75
Conversation
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.
A couple of ideas regarding the structure:
- Consistent headers, noun-phrases "Accessibility tree synchronization/ Accessibility APIs" or verbs "Customize accessibility tree synchronization/ Adjust accessibility behavior with APIs"
- Instead of the Accessibility APIs reference section, make two use cases: Customize accessibility tree synchronization (includes AccessibilitySyncOptions description) and Set up logging (includes AccessibilityDebugLogger description)
to native accessibility properties such as `accessibilityIdentifier`. This makes semantic data from Compose Multiplatform available | ||
to Accessibility Services and XCTest framework. | ||
|
||
Notable limitations of the current accessibility support: |
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 think here you can move the repetitive part to the list's intro:
The Compose accessibility API doesn't currently cover(support):
- Live regions, announcements about..
- UIKit elements inside Compose Multiplatform UI.
By default, the iOS accessibility tree is synchronized with the UI only when Accessibility Services are running; | ||
by default, no accessibility logs are written. | ||
You can customize this behavior, for example, when you want to debug events and interactions: | ||
activate the option to always synchronize the accessibility tree, so that the tree is rewritten every time the UI updates. |
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.
The sentence is quite long, maybe split it after the colon?
You can customize this behavior, for example, when you want to debug events and interactions: | ||
activate the option to always synchronize the accessibility tree, so that the tree is rewritten every time the UI updates. | ||
|
||
> Always synchronizing the tree can be quite useful for debugging and testing, but be aware that there is a significant |
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.
A part of the second sentence repeats the section's intro, I think we can safely shorten this tip to:
Constant synchronizing (or Constant synchronization of) the tree can be quite useful for debugging and testing but can degrade your app's performance.
Also, it look likes rather important, maybe turn it into a note?
Co-authored-by: Danil Pavlov <[email protected]>
# Conflicts: # mpd.tree
Co-authored-by: Danil Pavlov <[email protected]>
JetBrains/compose-multiplatform-core#1025