ios-swiftui-accessibility-techniques
ios-swiftui-accessibility-techniques copied to clipboard
Demonstrates iOS SwiftUI Accessibility programming techniques using live good and bad examples that can be tested with VoiceOver and other AT. Includes documentation for developers explaining how to c...
iOS SwiftUI Accessibility Techniques
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.
Topics
- [x] = Completed
- [x] Images
- [x] Informative
- [x] Decorative
- [x] Functional
- [x] Headings
- [x] Page Titles
- [x] Announcements
- [x] Accessibility Notifications
- [x] Error Validation
- [x] Reading Order
- [x] Focus Management
- [x] Accessibility UX Enhancements
- [x] Actions
- [x] Adjustable Action
- [x] Attributed Strings
- [x] Assistive Access
- [x] Assistive Technology Detection
- [x] Escape
- [x] Input Labels
- [x] Large Content Viewer
- [x] Magic Tap
- [x] Rotor
- [x] VoiceOver Pronunciation
- [x] Dynamic Type
- [x] Language
- [x] UI Controls
- [x] Accordions
- [x] Alerts
- [x] Buttons
- [x] Checkboxes
- [x] Confirmation Dialogs
- [x] Date & Time Pickers
- [x] Grouping Controls
- [x] Input Instructions
- [x] Links
- [x] Menus
- [x] Pickers
- [x] Popovers
- [x] Search Suggestions
- [x] Segmented Controls
- [x] Sheets
- [x] Sliders
- [x] Steppers
- [x] Radio Buttons
- [x] Tabs
- [x] Text Fields
- [x] Toggles
- [x] Navigation
- [x] Data Tables
- [x] Lists
- [x] Cards
- [ ] Charts
- [x] Touch Target Size
- [x] Responding to User Accessibility Preferences
- [x] Dark Mode
- [x] Increase Contrast
- [x] Reduce Motion
- [x] Reduce Transparency
- [x] Smart Invert
- [x] Progress Indicators
- [x] Accessibility Representation Custom Controls
- [x] Meaningful Accessible Names
- [x] Combining Focus
- [x] Device Orientation
- [x] Scroll Views
- [x] Accessibility Hidden
- [ ] Siri Shortcuts
Contributor Guide
- Before contributing to this CVS Health sponsored project, you will need to sign the associated Contributor License Agreement.
- See contributing page.
License
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.