accessibility-code-examples
accessibility-code-examples copied to clipboard
Accessibility code examples for Android, iOS, Flutter, React Native and Xamarin apps. Help us add more frameworks!
[!IMPORTANT]
The code samples in this repository are now part of the appt-website repository. At the moment of writing, they are placed in the/src/data/code-samplesfolder.
Accessibility code samples for mobile apps
This repository contains the code samples of Appt.org, a platform for app accessibility. The Appt® platform is an initiative of the Appt Foundation, a non-profit organisation.
- Android code samples
- iOS code samples
- Flutter code samples
- React Native code samples
- Xamarin code samples
[!NOTE] ⭐ Star this repository to raise awareness! ⭐
Contribute
We welcome contributors to add more code samples. Please follow these steps:
- Fork this repository to make local changes.
- Add your code samples:
- Check if a folder exists for the technique, e.g.
accessibility-label- If not, create a new folder, using lowercase characters and dashes.
- When creating a new folder, add a
README.mdwith a brief explanation.
- Check if your framework exists in the folder, e.g.
android.md- If not, create a new markdown file, using lowercase characters and dashes to identifiy your framework.
- Android:
android - iOS:
ios - Flutter:
flutter - React Native:
react-native - Xamarin:
xamarin - Jetpack Compose:
jetpack-compose - SwiftUI:
swift-ui - .NET MAUI:
net-maui
- Android:
- If not, create a new markdown file, using lowercase characters and dashes to identifiy your framework.
- Add your code sample to the relevant markdown file.
- Start with a brief explanation and link to relevant resources.
- Add one or more code blocks, identify the programming language, e.g.
kotlin.
- Check if a folder exists for the technique, e.g.
- Create a Pull Request to request addition of your code samples.
If you want to contribute, please join our Slack channel or contact [email protected].
License
Unless otherwise indicated, content is licensed under the CC BY-SA 4.0 license and code samples are licensed under the MIT license.