-
Notifications
You must be signed in to change notification settings - Fork 56
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
Feature request: accesskit_consumer API documentation #381
Comments
Hello @molenick, Documenting AccessKit is becoming more important as it gets integrated into more UI toolkits. Any help with this is much appreciated. Please note that So, the entrypoint of |
Thank you for the guidance @DataTriny. I found this which I think should generally help me understand a bit more about what I need to do. As far as documentation is concerned, what's most useful to the project? It seems like the primary developer use cases of accesskit are:
Right now my use is mostly the third case (ui developer) but I am also interested in the possibility of using accesskit to create ui test automation frameworks like XCUITest (ios et al) and Capybara (web). For UI development, I'm mostly interested in learning "what do I need to know to implement accessible UI" in egui. From my cursory usage it seems like it just "works" but I imagine there are advanced topics like "suppress this information from tree updates" or "provide accessibility information for widgets that visually communicate information without an explicit text component." For accessibility tooling/automated testing I'm interested in learning to see how easily accesskit could be leveraged to provide ui and accessibility testing for UIs written in frameworks that support accesskit. Things like: "hello world didn't appear on screen so fail a test" or "the contrast ratio between this text and its background are too low so fail a test". |
@molenick You are totally right when pointing out the different kind of users we need to consider for the documentation, this is actually something I've been thinking about recently. The first use case is probably currently the most relevant. Use case 3 is tricky because UI toolkits almost always expose their own API on top of AccessKit, so what we would communicate to application developers might not translate directly into practical advice they can use, assuming they are aware that AccessKit is used under the hood. The types in the main I don't think we have enough experience with AccessKit to give advice to assistive technology developers at this time. Because we haven't yet found a generic API we could expose for all platform adapters, UI toolkit developers would have to add dedicated codepaths for these tools. This is fine if you build an embedded screen reader for a game running on a game console for example, not so much for a testing tool or an accessibility tree explorer. |
Hi! Very cool project, really glad this exists and eager to learn more about how to interact with the accesskit_consumer API. I'm using egui and have been exploring its integration with accesskit and am pretty impressed with the out-of-the-box experience with Voiceover in my app.
I've started poking at the source a bit, but haven't quite found the right entry point to do anything useful yet and was hoping to get pointed at a good place to start.
At a high level what I think needs to happen is something like:
If it's welcomed, I'd be happy to document what I learn for the project so it's easier for the next person. Thank you!
The text was updated successfully, but these errors were encountered: