VoiceOver and dark mode in Swift apps
29 accessibility, dark mode and haptics words counted in public Swift files on 1 November 2026.
Free for one project and 100 votes. Paid plans start with a 14 day trial, no card.
The top ten
accessibilityLabel is in 311,296 files, the most of the 29.
Eight of the top ten words are accessibility words, and the other two are dark mode words.
| Word | Files |
|---|---|
| accessibilityLabel | 311,296 |
| colorScheme | 198,400 |
| accessibilityElement | 153,344 |
| accessibilityIdentifier | 125,184 |
| accessibilityHidden | 104,192 |
| preferredColorScheme | 90,368 |
| accessibilityAddTraits | 73,600 |
| accessibilityValue | 68,608 |
| accessibilityHint | 60,672 |
| accessibilityReduceMotion | 56,384 |
VoiceOver
accessibilityLabel is in 5.1 times the files of accessibilityHint.
| VoiceOver and labels word | Files |
|---|---|
| accessibilityLabel | 311,296 |
| accessibilityElement | 153,344 |
| accessibilityIdentifier | 125,184 |
| accessibilityHidden | 104,192 |
| accessibilityAddTraits | 73,600 |
| accessibilityValue | 68,608 |
| accessibilityHint | 60,672 |
| accessibilityAction | 16,128 |
| isAccessibilityElement | 15,840 |
| isVoiceOverRunning | 3,240 |
| AccessibilityFocusState | 2,516 |
Per 100 labels
accessibilityIdentifier names a view for UI tests, not for a person, and it is in 125,184 files, 40.2 for every 100 with accessibilityLabel.
accessibilityIdentifier is in 40.2 files per 100 with a label.
accessibilityElement is in 49.3 per 100 and accessibilityHidden in 33.5.
| Word | Per 100 labels |
|---|---|
| accessibilityElement | 49.3 |
| accessibilityIdentifier | 40.2 |
| accessibilityHidden | 33.5 |
| accessibilityAddTraits | 23.6 |
| accessibilityValue | 22.0 |
| accessibilityHint | 19.5 |
| accessibilityAction | 5.2 |
| isAccessibilityElement | 5.1 |
| isVoiceOverRunning | 1.0 |
| AccessibilityFocusState | 0.8 |
Type and motion
Reduce Motion is named 2.1 times as often as Dynamic Type size.
| Type, motion, contrast word | Files |
|---|---|
| accessibilityReduceMotion | 56,384 |
| dynamicTypeSize | 26,656 |
| ScaledMetric | 15,008 |
| adjustsFontForContentSizeCategory | 11,024 |
| preferredContentSizeCategory | 7,280 |
| UIFontMetrics | 5,432 |
| accessibilityReduceTransparency | 4,544 |
| legibilityWeight | 606 |
The rarest
legibilityWeight, the Bold Text setting, is in 606 files and accessibilityDifferentiateWithoutColor in 1,418.
legibilityWeight is in 606 files, the fewest of the 29.
| Four of the five least common | Files |
|---|---|
| legibilityWeight | 606 |
| AccessibilityFocusState | 2,516 |
| CHHapticEngine | 2,548 |
| isVoiceOverRunning | 3,240 |
Dark mode
preferredColorScheme, which sets light or dark for a screen, is in 45.5 files for every 100 with colorScheme.
colorScheme is in 198,400 files and preferredColorScheme in 90,368.
| Dark mode word | Files |
|---|---|
| colorScheme | 198,400 |
| preferredColorScheme | 90,368 |
| userInterfaceStyle | 38,976 |
| overrideUserInterfaceStyle | 13,600 |
Haptics
UIImpactFeedbackGenerator is in 2.4 times the files of sensoryFeedback.
| Haptics word | Files |
|---|---|
| UIImpactFeedbackGenerator | 40,192 |
| UINotificationFeedbackGenerator | 23,264 |
| sensoryFeedback | 16,704 |
| UISelectionFeedbackGenerator | 8,496 |
| CHHapticEngine | 2,548 |
By group
The VoiceOver group has the widest spread, 124 to 1.
The type and motion group spreads 93 to 1 and the appearance group 78 to 1.
| Group | Most | Median | Fewest |
|---|---|---|---|
| VoiceOver | 311,296 | 68,608 | 2,516 |
| Type and motion | 56,384 | 7,280 | 606 |
| Appearance | 198,400 | 23,264 | 2,548 |
What is in the file
A count for each word
11 VoiceOver words, 9 type, motion and contrast words and 9 dark mode and haptics words.
Words set against the label
Each VoiceOver word per 100 files with accessibilityLabel.
Ratios you can quote
Reduce Motion is named 2.1 times as often as Dynamic Type size.
No code and no names
The file holds counts only, with no repository and no developer.
How the files were counted
One search per word.
Write 29 searches
Each search names one accessibility, appearance or haptics word, matched in Swift files.
Ask the code search
One request per search, with at least seven seconds between requests.
Repeat an incomplete answer
The service flagged some results as incomplete, and each was requested again up to three times.
Keep the count
Every word gets one CSV row with its count and its search, never code.
What a vote button has to say aloud
A screen reader reads a feedback board one element at a time, so each vote button needs a name and a state. accessibilityLabel is in 311,296 files, accessibilityValue in 68,608 and accessibilityHint in 60,672, which makes naming a button familiar code and speaking its vote count through a value a smaller step.
Settings for motion and color reach far fewer files. accessibilityReduceMotion is in 56,384 files, preferredColorScheme in 90,368 and accessibilityDifferentiateWithoutColor in 1,418. A voted state that changes the icon as well as the color covers a setting the counted code rarely checks.
What these numbers leave out
- These are files and not apps or users, and not whether an app works well with VoiceOver.
- A file that names a word may set it for one view only.
- The search returns large counts rounded, so treat words within about 10 percent of each other as level.
- colorScheme is a common name, so a type of that name in another library counts too.
- accessibilityLabel is both a UIKit property and a SwiftUI call, and accessibilityElement and accessibilityHidden share names across both.
- The older words have had years more to collect files, a copied sample counts each time, and the search leaves out most forks. No code was read.
Swift accessibility questions
How many Swift files label things for VoiceOver?
accessibilityLabel is in 311,296 files, the most of the 29 words.
How common is accessibilityHint?
It is in 60,672 files, 19.5 for every 100 with accessibilityLabel.
Is Dynamic Type or Reduce Motion named more?
Reduce Motion, in 56,384 files against 26,656, which is 2.1 times.
How common is dark mode code?
colorScheme is in 198,400 files and preferredColorScheme in 90,368.
Do apps use the new SwiftUI haptics call?
sensoryFeedback is in 16,704 files, against 40,192 for the older UIImpactFeedbackGenerator.
Which word is in the fewest files?
legibilityWeight, in 606 files, the fewest of the 29.
How many files check whether VoiceOver is on?
isVoiceOverRunning is in 3,240 files, 1.0 for every 100 with accessibilityLabel.
How many files respect Reduce Transparency?
accessibilityReduceTransparency is in 4,544 files, 8.1 for every 100 with Reduce Motion.
Why count accessibilityIdentifier?
It names a view for UI tests, not for a person, and it is in 125,184 files.
Does this show whether an app is accessible?
No. A word in a file does not show that the app works well with VoiceOver.
Does the file hold any code?
No. It holds a count and the search for each word.
May a site quote these figures?
Yes. Use any count if you link to this page and name 1 November 2026 as the date of the count.
More Swift code, counted
More counts for Swift and iOS developers.
SwiftUI views and modifiers counted in public Swift files
19 SwiftUI words counted in public Swift files.
iOS permission keys and entitlements counted on GitHub
71 keys, from location to app groups.
Widgets, Live Activities and App Intents in Swift files
22 words counted in public Swift files.
How Swift apps log, crash and test, counted in public files
17 logging, crash report and test words counted.
What the sites of iOS apps with many ratings share
20 of 21 clear gaps point to more ratings.
Collect feature requests in an iOS app
Your first board is free, with one project and 100 votes. The 14 day trial of Lite or Pro needs no card.