1 unstable release
Uses new Rust 2024
| new 0.1.0 | May 11, 2026 |
|---|
#2321 in GUI
Used in accesskit_winit
560KB
14K
SLoC
iOS adapter for AccessKit.
This crate provides two adapters for exposing an AccessKit accessibility tree to iOS via UIKit's accessibility API:
-
Adapteris the low-level adapter. It gives you full control over when the accessibility tree is initialized and updated, but requires you to manually forward UIKit accessibility methods (isAccessibilityElement,accessibilityElements,accessibilityHitTest:) from yourUIViewsubclass to the adapter. Use this when you own theUIViewsubclass and can override these methods directly. -
SubclassingAdapterwrapsAdapterand uses dynamic Objective-C subclassing to automatically override the accessibility methods on an existingUIView. Use this when you cannot subclass the view yourself, for example when integrating with a framework that creates views on your behalf.
AccessKit iOS adapter
This is the iOS adapter for AccessKit. It exposes an AccessKit accessibility tree through the UIKit UIAccessibility protocol.
Acknowledgements
This project was funded through the NGI0 Commons Fund, a fund established by NLnet. See the project page for more information.
Dependencies
~10MB
~177K SLoC