iOS SwiftUI sample code demonstrating a variety of good and bad accessibility coding techniques.
Demonstrates accessibility techniques for iOS SwiftUI apps using a collection of good and bad examples that can be tested with VoiceOver and other iOS assistive technologies.
Explains how to apply WCAG to iOS SwiftUI apps.
Using the app with VoiceOver and other iOS assistive technologies will demonstrate the right and wrong ways of applying accessibility to a SwiftUI app.
Download iOS app from the AppStore.
Read the blog post, Announcing the iOS SwiftUI Accessibility Techniques Open Source Project.
Review the project source code to see how to apply the accessibility techniques in working SwiftUI code examples.
Documentation files for each technique are listed below.
- = Completed
- Images
- Headings
- Page Titles
- Announcements
- Reading Order
- Focus Management
- Accessibility UX Enhancements
- Dynamic Type
- Language
- UI Controls
- Navigation
- Data Tables
- Lists
- Cards
- Charts
- Touch Target Size
- Responding to User Accessibility Preferences
- Progress Indicators
- Accessibility Representation Custom Controls
- Meaningful Accessible Names
- Combining Focus
- Device Orientation
- Scroll Views
- Accessibility Hidden
- Carousels
- Horizontal Scroll Views
- Siri Shortcuts
- Responsive Layouts
- Before contributing to this CVS Health sponsored project, you will need to sign the associated Contributor License Agreement.
- See contributing page.
iOS SwiftUI Accessibility Techniques is licensed under under the Apache License, Version 2.0. See LICENSE file for more information.
Copyright 2023-2024 CVS Health and/or one of its affiliates
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.