mobileui-os 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +47 -0
- package/CHANGELOG.md +25 -0
- package/README.md +78 -0
- package/bin/cli.mjs +375 -0
- package/knowledge/android/00-apple-to-android-adaption.md +1499 -0
- package/knowledge/android/accessibility.md +333 -0
- package/knowledge/android/components-controls.md +270 -0
- package/knowledge/android/material-design-3.md +174 -0
- package/knowledge/android/navigation-patterns.md +212 -0
- package/knowledge/apple/00-skill-reading-protocol.md +1296 -0
- package/knowledge/apple/Accessibility, Inclusive Design & Human Factors Intelligence.md +735 -0
- package/knowledge/apple/Advanced Interaction Patterns, Gestures, Feedback & State Transitions.md +1140 -0
- package/knowledge/apple/Advanced Navigation, Information Architecture & Wayfinding.md +551 -0
- package/knowledge/apple/Autonomus Ui-UX Improvement Loop.md +611 -0
- package/knowledge/apple/Color, Materials, Contrast, Themes & Visual Depth.md +1351 -0
- package/knowledge/apple/Content, Copy, Microinteractions & UX Communication.md +642 -0
- package/knowledge/apple/Data-Heavy Interfaces, Tables, Lists, Search, Filtering & Large-Scale Content.md +721 -0
- package/knowledge/apple/Design Systems & Component Architecture.md +412 -0
- package/knowledge/apple/Forms, Input, Data Entry & Validation Intelligence.md +705 -0
- package/knowledge/apple/Interaction, State & Edge-Case Engineering.md +491 -0
- package/knowledge/apple/Interaction-behaviour.md +1378 -0
- package/knowledge/apple/Layout Architecture, Responsive Design & Spatial Systems.md +1365 -0
- package/knowledge/apple/MASTER UI-UX ORCHESTRATOR.md +1210 -0
- package/knowledge/apple/Navigation Architecture, Routing, Deep Linking & State Restoration.md +1392 -0
- package/knowledge/apple/Navigation, Information Architecture & Spatial Hierarchy.md +1613 -0
- package/knowledge/apple/Notifications, Permissions, Privacy and Trust.md +1540 -0
- package/knowledge/apple/Patterns-templates-composition.md +647 -0
- package/knowledge/apple/Performance, Perceived Speed, Motion & Rendering Intelligence.md +855 -0
- package/knowledge/apple/Responsive, Adaptive & Cross-Platform UI Intelligence.md +669 -0
- package/knowledge/apple/Responsive, Adaptive, Accessible & Performant UI.md +545 -0
- package/knowledge/apple/Tablet Adaptation & Multi-Device UX.md +1447 -0
- package/knowledge/apple/UI Implementation & Refactoring.md +498 -0
- package/knowledge/apple/UI-UX Decision-Making, Prioritization & Trade-offs.md +533 -0
- package/knowledge/apple/UI-UX Project Lifecycle & Delivery.md +544 -0
- package/knowledge/apple/User Flows & Experience Architecture.md +335 -0
- package/knowledge/apple/Visual Design Systems, Theming, Tokens & Brand Intelligence.md +764 -0
- package/knowledge/apple/Visual QA, Testing & Validation.md +557 -0
- package/knowledge/apple/accessibility-inclusive-interaction.md +1361 -0
- package/knowledge/apple/accessibility.md +2162 -0
- package/knowledge/apple/color.md +1933 -0
- package/knowledge/apple/component-architecture.md +2208 -0
- package/knowledge/apple/components.md +2172 -0
- package/knowledge/apple/design-decision-framework.md +1883 -0
- package/knowledge/apple/design-review-engine.md +2108 -0
- package/knowledge/apple/design-tokens.md +1943 -0
- package/knowledge/apple/designing-for-ios.md +1680 -0
- package/knowledge/apple/gestures, touch behavior, feedback, motion, and micro-interactions.md +1538 -0
- package/knowledge/apple/hig-foundation.md +1806 -0
- package/knowledge/apple/iconography.md +1903 -0
- package/knowledge/apple/interaction-patterns.md +2513 -0
- package/knowledge/apple/interaction.md +2141 -0
- package/knowledge/apple/ios-alerts-confirmations-destructive-actions.md +1342 -0
- package/knowledge/apple/ios-components-and-controls.md +1634 -0
- package/knowledge/apple/ios-components-patterns.md +1343 -0
- package/knowledge/apple/ios-design-system-architecture.md +1520 -0
- package/knowledge/apple/ios-empty-error-offline-states.md +1370 -0
- package/knowledge/apple/ios-empty-loading-error-recovery.md +1674 -0
- package/knowledge/apple/ios-forms-and-input.md +1458 -0
- package/knowledge/apple/ios-forms-input-data-entry.md +1308 -0
- package/knowledge/apple/ios-gestures-and-touch.md +1272 -0
- package/knowledge/apple/ios-lists-collections-and-data-display.md +1735 -0
- package/knowledge/apple/ios-loading-progress-async-states.md +1378 -0
- package/knowledge/apple/ios-materials-and-surfaces.md +1543 -0
- package/knowledge/apple/ios-motion-animation-transitions.md +1178 -0
- package/knowledge/apple/ios-navigation-and-information-architecture.md +1674 -0
- package/knowledge/apple/ios-navigation-user-flows-design-architecture.md +1195 -0
- package/knowledge/apple/ios-search-and-discovery.md +1456 -0
- package/knowledge/apple/ios-search-filtering-discovery.md +1402 -0
- package/knowledge/apple/ios-sheets-modals-popovers.md +1205 -0
- package/knowledge/apple/ios-typography-icons-visual-hierarchy.md +1431 -0
- package/knowledge/apple/layout.md +2331 -0
- package/knowledge/apple/media-centric-content-ui-patterns.md +1470 -0
- package/knowledge/apple/motion, transitions, physics, and animation language.md +1535 -0
- package/knowledge/apple/motion-and-animation.md +1698 -0
- package/knowledge/apple/motion.md +2087 -0
- package/knowledge/apple/navigation.md +2281 -0
- package/knowledge/apple/responsive-adaptive.md +2159 -0
- package/knowledge/apple/screen-architecture.md +2067 -0
- package/knowledge/apple/typography, Content Hierarchy & Readability.md +1411 -0
- package/knowledge/apple/typography.md +1802 -0
- package/knowledge/apple/ui-ux inteligence audit.md +106 -0
- package/knowledge/apple/visual-design-and-premium-ui.md +1555 -0
- package/knowledge/apple/visual-hierarchy-engine.md +1647 -0
- package/knowledge/apple/visual-materials.md +2189 -0
- package/package.json +53 -0
- package/principles/design-principles.md +37 -0
- package/principles/platform-principles.md +25 -0
- package/principles/ux-principles.md +16 -0
- package/references/official-links.md +11 -0
- package/skills/accessibility-engineer/SKILL.md +125 -0
- package/skills/analytics-engineer/SKILL.md +283 -0
- package/skills/animation-engineer/SKILL.md +316 -0
- package/skills/component-designer/SKILL.md +75 -0
- package/skills/component-library-engineer/SKILL.md +140 -0
- package/skills/component-library-ops/SKILL.md +155 -0
- package/skills/design-system/SKILL.md +77 -0
- package/skills/design-token-engineer/SKILL.md +203 -0
- package/skills/design-token-pipeline/SKILL.md +277 -0
- package/skills/device-lab-engineer/SKILL.md +387 -0
- package/skills/forms-engineer/SKILL.md +79 -0
- package/skills/internationalization-engineer/SKILL.md +256 -0
- package/skills/motion-designer/SKILL.md +77 -0
- package/skills/native-data-fetching/SKILL.md +50 -0
- package/skills/navigation-architect/SKILL.md +65 -0
- package/skills/performance-engineer/SKILL.md +250 -0
- package/skills/platform-specialist/SKILL.md +95 -0
- package/skills/pre-release-gate/SKILL.md +75 -0
- package/skills/screen-designer/SKILL.md +117 -0
- package/skills/security-engineer/SKILL.md +375 -0
- package/skills/skills.json +134 -0
- package/skills/testing-auditor/SKILL.md +62 -0
- package/skills/ui-architect/SKILL.md +86 -0
- package/skills/ui-implementer/SKILL.md +188 -0
- package/skills/ux-architect/SKILL.md +49 -0
- package/skills/ux-auditor/SKILL.md +52 -0
- package/skills/visual-auditor/SKILL.md +71 -0
- package/templates/audit-report.md +29 -0
- package/templates/design-tokens.ts +33 -0
- package/templates/screen-spec.md +61 -0
- package/workflows/new-screen.md +17 -0
- package/workflows/pre-release.md +21 -0
- package/workflows/redesign.md +14 -0
- package/workflows/ui-audit.md +22 -0
|
@@ -0,0 +1,2162 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
````md
|
|
4
|
+
# Apple Accessibility Intelligence
|
|
5
|
+
|
|
6
|
+
> Agent knowledge module for accessible iOS/iPadOS UI, Dynamic Type,
|
|
7
|
+
> VoiceOver, semantic structure, touch targets, contrast, motion,
|
|
8
|
+
> transparency, focus, assistive technologies, keyboard/pointer interaction,
|
|
9
|
+
> accessibility states, and inclusive interface architecture.
|
|
10
|
+
|
|
11
|
+
Version: 1.0
|
|
12
|
+
Platform: iOS / iPadOS
|
|
13
|
+
Role: Accessibility intelligence
|
|
14
|
+
Parent: knowledge/apple/navigation.md
|
|
15
|
+
Use with: MobileUI-OS
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# 1. PURPOSE
|
|
19
|
+
|
|
20
|
+
Accessibility is not a secondary UI layer.
|
|
21
|
+
|
|
22
|
+
It is part of the interface architecture.
|
|
23
|
+
|
|
24
|
+
A strong application should allow users with different:
|
|
25
|
+
|
|
26
|
+
- vision
|
|
27
|
+
- hearing
|
|
28
|
+
- motor abilities
|
|
29
|
+
- cognitive needs
|
|
30
|
+
- input methods
|
|
31
|
+
- device configurations
|
|
32
|
+
|
|
33
|
+
to use the same core product.
|
|
34
|
+
|
|
35
|
+
The agent should design accessibility into the component system rather than
|
|
36
|
+
adding accessibility fixes at the end.
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
# 2. CORE PRINCIPLE
|
|
40
|
+
|
|
41
|
+
Accessibility should be built into:
|
|
42
|
+
|
|
43
|
+
```text
|
|
44
|
+
structure
|
|
45
|
+
↓
|
|
46
|
+
semantics
|
|
47
|
+
↓
|
|
48
|
+
interaction
|
|
49
|
+
↓
|
|
50
|
+
visual presentation
|
|
51
|
+
↓
|
|
52
|
+
motion
|
|
53
|
+
↓
|
|
54
|
+
content
|
|
55
|
+
````
|
|
56
|
+
|
|
57
|
+
not bolted on after implementation.
|
|
58
|
+
|
|
59
|
+
# 3. ACCESSIBILITY MINDSET
|
|
60
|
+
|
|
61
|
+
Never ask:
|
|
62
|
+
|
|
63
|
+
> "How do we make this screen accessible?"
|
|
64
|
+
|
|
65
|
+
Ask:
|
|
66
|
+
|
|
67
|
+
> "What information and actions must remain understandable under different
|
|
68
|
+
> accessibility configurations?"
|
|
69
|
+
|
|
70
|
+
# 4. ACCESSIBILITY IS MULTI-DIMENSIONAL
|
|
71
|
+
|
|
72
|
+
Evaluate:
|
|
73
|
+
|
|
74
|
+
```text
|
|
75
|
+
visual
|
|
76
|
+
auditory
|
|
77
|
+
motor
|
|
78
|
+
cognitive
|
|
79
|
+
language
|
|
80
|
+
interaction
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
A visually beautiful interface may still fail accessibility.
|
|
84
|
+
|
|
85
|
+
# 5. ACCESSIBILITY LAYERS
|
|
86
|
+
|
|
87
|
+
The agent should inspect:
|
|
88
|
+
|
|
89
|
+
```text
|
|
90
|
+
CONTENT
|
|
91
|
+
↓
|
|
92
|
+
SEMANTICS
|
|
93
|
+
↓
|
|
94
|
+
NAVIGATION
|
|
95
|
+
↓
|
|
96
|
+
INTERACTION
|
|
97
|
+
↓
|
|
98
|
+
VISUAL DESIGN
|
|
99
|
+
↓
|
|
100
|
+
MOTION
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Each layer can create accessibility problems.
|
|
104
|
+
|
|
105
|
+
# 6. SEMANTIC UI
|
|
106
|
+
|
|
107
|
+
A UI element should communicate what it is and what it does.
|
|
108
|
+
|
|
109
|
+
Example:
|
|
110
|
+
|
|
111
|
+
```text
|
|
112
|
+
visual:
|
|
113
|
+
[heart]
|
|
114
|
+
|
|
115
|
+
semantic:
|
|
116
|
+
Button
|
|
117
|
+
Label: "Add to Favorites"
|
|
118
|
+
State: not selected
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
The visual representation and semantic representation should describe the same
|
|
122
|
+
concept.
|
|
123
|
+
|
|
124
|
+
# 7. ACCESSIBILITY LABELS
|
|
125
|
+
|
|
126
|
+
Interactive controls require meaningful labels.
|
|
127
|
+
|
|
128
|
+
Good:
|
|
129
|
+
|
|
130
|
+
```text
|
|
131
|
+
Play
|
|
132
|
+
Pause
|
|
133
|
+
Delete
|
|
134
|
+
Add to Playlist
|
|
135
|
+
Open Settings
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
Poor:
|
|
139
|
+
|
|
140
|
+
```text
|
|
141
|
+
Button
|
|
142
|
+
Icon
|
|
143
|
+
Image
|
|
144
|
+
Control
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
Labels should communicate purpose.
|
|
148
|
+
|
|
149
|
+
# 8. LABEL SHOULD DESCRIBE PURPOSE
|
|
150
|
+
|
|
151
|
+
Avoid describing the visual appearance when the action is what matters.
|
|
152
|
+
|
|
153
|
+
Bad:
|
|
154
|
+
|
|
155
|
+
```text
|
|
156
|
+
"Three dots"
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
Better:
|
|
160
|
+
|
|
161
|
+
```text
|
|
162
|
+
"More Actions"
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
# 9. ACCESSIBILITY VALUE
|
|
166
|
+
|
|
167
|
+
Some controls have a changing value.
|
|
168
|
+
|
|
169
|
+
Examples:
|
|
170
|
+
|
|
171
|
+
```text
|
|
172
|
+
Volume: 70%
|
|
173
|
+
Brightness: 50%
|
|
174
|
+
Playback Speed: 1.5x
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
The semantic value should update when the UI state changes.
|
|
178
|
+
|
|
179
|
+
# 10. ACCESSIBILITY STATE
|
|
180
|
+
|
|
181
|
+
Stateful controls should communicate state.
|
|
182
|
+
|
|
183
|
+
Examples:
|
|
184
|
+
|
|
185
|
+
```text
|
|
186
|
+
Favorite — selected
|
|
187
|
+
Shuffle — on
|
|
188
|
+
Repeat — all
|
|
189
|
+
Mute — on
|
|
190
|
+
Downloaded — yes
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
Do not communicate important state only through color.
|
|
194
|
+
|
|
195
|
+
# 11. ACCESSIBILITY TRAITS
|
|
196
|
+
|
|
197
|
+
Controls should expose their semantic role.
|
|
198
|
+
|
|
199
|
+
Possible conceptual roles include:
|
|
200
|
+
|
|
201
|
+
```text
|
|
202
|
+
button
|
|
203
|
+
link
|
|
204
|
+
image
|
|
205
|
+
header
|
|
206
|
+
selected
|
|
207
|
+
adjustable
|
|
208
|
+
search field
|
|
209
|
+
tab
|
|
210
|
+
toggle
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
The role should match actual behavior.
|
|
214
|
+
|
|
215
|
+
# 12. ROLE MUST MATCH BEHAVIOR
|
|
216
|
+
|
|
217
|
+
Do not make something behave like:
|
|
218
|
+
|
|
219
|
+
```text
|
|
220
|
+
button
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
while exposing it as:
|
|
224
|
+
|
|
225
|
+
```text
|
|
226
|
+
image
|
|
227
|
+
```
|
|
228
|
+
|
|
229
|
+
or vice versa.
|
|
230
|
+
|
|
231
|
+
Semantic correctness is more important than implementation convenience.
|
|
232
|
+
|
|
233
|
+
# 13. DECORATIVE CONTENT
|
|
234
|
+
|
|
235
|
+
Decorative content should not create unnecessary accessibility noise.
|
|
236
|
+
|
|
237
|
+
Examples:
|
|
238
|
+
|
|
239
|
+
```text
|
|
240
|
+
background illustration
|
|
241
|
+
decorative gradient
|
|
242
|
+
purely visual separator
|
|
243
|
+
non-informational icon
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
If removing the element does not remove information or functionality, it may
|
|
247
|
+
not need to be exposed to assistive technology.
|
|
248
|
+
|
|
249
|
+
# 14. INFORMATION VS DECORATION
|
|
250
|
+
|
|
251
|
+
Ask:
|
|
252
|
+
|
|
253
|
+
> "Does the user need this element to understand or operate the interface?"
|
|
254
|
+
|
|
255
|
+
If:
|
|
256
|
+
|
|
257
|
+
```text
|
|
258
|
+
YES
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
expose its meaning.
|
|
262
|
+
|
|
263
|
+
If:
|
|
264
|
+
|
|
265
|
+
```text
|
|
266
|
+
NO
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
consider making it decorative.
|
|
270
|
+
|
|
271
|
+
# 15. ACCESSIBILITY GROUPING
|
|
272
|
+
|
|
273
|
+
Related visual elements can sometimes be represented as one semantic unit.
|
|
274
|
+
|
|
275
|
+
Example:
|
|
276
|
+
|
|
277
|
+
```text
|
|
278
|
+
Album artwork
|
|
279
|
+
Album title
|
|
280
|
+
Artist
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
may be exposed as:
|
|
284
|
+
|
|
285
|
+
```text
|
|
286
|
+
"After Hours, The Weeknd"
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
when the entire row represents one action.
|
|
290
|
+
|
|
291
|
+
# 16. DO NOT OVER-GROUP
|
|
292
|
+
|
|
293
|
+
If individual controls exist:
|
|
294
|
+
|
|
295
|
+
```text
|
|
296
|
+
Play
|
|
297
|
+
Favorite
|
|
298
|
+
More
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
they should generally remain independently actionable.
|
|
302
|
+
|
|
303
|
+
Do not combine multiple independent actions into one inaccessible group.
|
|
304
|
+
|
|
305
|
+
# 17. ACCESSIBILITY ORDER
|
|
306
|
+
|
|
307
|
+
Screen-reader traversal should follow logical reading order.
|
|
308
|
+
|
|
309
|
+
Typical structure:
|
|
310
|
+
|
|
311
|
+
```text
|
|
312
|
+
navigation
|
|
313
|
+
↓
|
|
314
|
+
heading
|
|
315
|
+
↓
|
|
316
|
+
context
|
|
317
|
+
↓
|
|
318
|
+
primary content
|
|
319
|
+
↓
|
|
320
|
+
actions
|
|
321
|
+
↓
|
|
322
|
+
secondary content
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
Avoid arbitrary visual ordering that creates confusing accessibility traversal.
|
|
326
|
+
|
|
327
|
+
# 18. VISUAL ORDER VS SEMANTIC ORDER
|
|
328
|
+
|
|
329
|
+
These should normally agree.
|
|
330
|
+
|
|
331
|
+
If the visual layout says:
|
|
332
|
+
|
|
333
|
+
```text
|
|
334
|
+
Title
|
|
335
|
+
Description
|
|
336
|
+
Action
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
but accessibility traversal says:
|
|
340
|
+
|
|
341
|
+
```text
|
|
342
|
+
Action
|
|
343
|
+
Description
|
|
344
|
+
Title
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
the experience becomes confusing.
|
|
348
|
+
|
|
349
|
+
# 19. HEADINGS
|
|
350
|
+
|
|
351
|
+
Use semantic headings to expose information hierarchy.
|
|
352
|
+
|
|
353
|
+
Example:
|
|
354
|
+
|
|
355
|
+
```text
|
|
356
|
+
Library
|
|
357
|
+
Albums
|
|
358
|
+
Recently Added
|
|
359
|
+
Favorites
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
Headings allow users to understand large screens quickly.
|
|
363
|
+
|
|
364
|
+
# 20. HEADING HIERARCHY
|
|
365
|
+
|
|
366
|
+
Do not create headings solely for styling.
|
|
367
|
+
|
|
368
|
+
A heading should communicate:
|
|
369
|
+
|
|
370
|
+
> "The following content belongs to this conceptual section."
|
|
371
|
+
|
|
372
|
+
# 21. LARGE TEXT
|
|
373
|
+
|
|
374
|
+
Text should support platform text scaling.
|
|
375
|
+
|
|
376
|
+
Do not assume:
|
|
377
|
+
|
|
378
|
+
```text
|
|
379
|
+
fontSize = 16
|
|
380
|
+
```
|
|
381
|
+
|
|
382
|
+
is universally appropriate.
|
|
383
|
+
|
|
384
|
+
# 22. DYNAMIC TYPE
|
|
385
|
+
|
|
386
|
+
The interface should adapt when the user increases text size.
|
|
387
|
+
|
|
388
|
+
Conceptually:
|
|
389
|
+
|
|
390
|
+
```text
|
|
391
|
+
normal
|
|
392
|
+
↓
|
|
393
|
+
large
|
|
394
|
+
↓
|
|
395
|
+
larger
|
|
396
|
+
↓
|
|
397
|
+
accessibility sizes
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
The layout should reflow rather than simply clip or truncate.
|
|
401
|
+
|
|
402
|
+
# 23. DO NOT FIGHT DYNAMIC TYPE
|
|
403
|
+
|
|
404
|
+
Avoid hard-coded layouts such as:
|
|
405
|
+
|
|
406
|
+
```text
|
|
407
|
+
height: 48
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
for containers whose content may expand significantly.
|
|
411
|
+
|
|
412
|
+
Prefer flexible sizing where appropriate.
|
|
413
|
+
|
|
414
|
+
# 24. TEXT WRAPPING
|
|
415
|
+
|
|
416
|
+
When larger text causes wrapping:
|
|
417
|
+
|
|
418
|
+
```text
|
|
419
|
+
Title
|
|
420
|
+
↓
|
|
421
|
+
Title becomes
|
|
422
|
+
two lines
|
|
423
|
+
```
|
|
424
|
+
|
|
425
|
+
the interface should remain usable.
|
|
426
|
+
|
|
427
|
+
Do not blindly force:
|
|
428
|
+
|
|
429
|
+
```text
|
|
430
|
+
numberOfLines = 1
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
on important information.
|
|
434
|
+
|
|
435
|
+
# 25. TRUNCATION
|
|
436
|
+
|
|
437
|
+
Avoid truncating essential information.
|
|
438
|
+
|
|
439
|
+
Bad:
|
|
440
|
+
|
|
441
|
+
```text
|
|
442
|
+
"Premium mus..."
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
when the full name is important.
|
|
446
|
+
|
|
447
|
+
If truncation is necessary, provide another way to access the complete content.
|
|
448
|
+
|
|
449
|
+
# 26. BUTTON TEXT
|
|
450
|
+
|
|
451
|
+
Buttons should survive text scaling.
|
|
452
|
+
|
|
453
|
+
Bad:
|
|
454
|
+
|
|
455
|
+
```text
|
|
456
|
+
┌──────────┐
|
|
457
|
+
│ Continue│
|
|
458
|
+
└──────────┘
|
|
459
|
+
```
|
|
460
|
+
|
|
461
|
+
with a fixed width that clips at larger text sizes.
|
|
462
|
+
|
|
463
|
+
Prefer adaptive sizing.
|
|
464
|
+
|
|
465
|
+
# 27. ICON + TEXT
|
|
466
|
+
|
|
467
|
+
When text labels are present, allow labels to expand.
|
|
468
|
+
|
|
469
|
+
Do not make icons consume so much fixed space that text becomes unusable.
|
|
470
|
+
|
|
471
|
+
# 28. MINIMUM TOUCH TARGET
|
|
472
|
+
|
|
473
|
+
Interactive elements should provide a sufficiently large touch target.
|
|
474
|
+
|
|
475
|
+
The visible symbol can remain visually compact:
|
|
476
|
+
|
|
477
|
+
```text
|
|
478
|
+
┌──────────────┐
|
|
479
|
+
│ ● │
|
|
480
|
+
└──────────────┘
|
|
481
|
+
```
|
|
482
|
+
|
|
483
|
+
while the interaction area is larger than the icon itself.
|
|
484
|
+
|
|
485
|
+
# 29. TOUCH TARGET VS VISUAL SIZE
|
|
486
|
+
|
|
487
|
+
Never enlarge a tiny icon merely to satisfy interaction requirements.
|
|
488
|
+
|
|
489
|
+
Instead:
|
|
490
|
+
|
|
491
|
+
```text
|
|
492
|
+
visual element
|
|
493
|
+
+
|
|
494
|
+
larger hit area
|
|
495
|
+
```
|
|
496
|
+
|
|
497
|
+
where appropriate.
|
|
498
|
+
|
|
499
|
+
# 30. TOUCH TARGET SPACING
|
|
500
|
+
|
|
501
|
+
Even when individual targets are sufficiently large, adjacent controls should
|
|
502
|
+
not be packed so tightly that accidental activation becomes likely.
|
|
503
|
+
|
|
504
|
+
Consider:
|
|
505
|
+
|
|
506
|
+
```text
|
|
507
|
+
target size
|
|
508
|
+
+
|
|
509
|
+
target spacing
|
|
510
|
+
+
|
|
511
|
+
gesture behavior
|
|
512
|
+
```
|
|
513
|
+
|
|
514
|
+
together.
|
|
515
|
+
|
|
516
|
+
# 31. DESTRUCTIVE CONTROLS
|
|
517
|
+
|
|
518
|
+
Destructive actions should be easy to understand and difficult to trigger
|
|
519
|
+
accidentally.
|
|
520
|
+
|
|
521
|
+
Use:
|
|
522
|
+
|
|
523
|
+
```text
|
|
524
|
+
clear label
|
|
525
|
+
semantic role
|
|
526
|
+
appropriate confirmation
|
|
527
|
+
```
|
|
528
|
+
|
|
529
|
+
when consequences are significant.
|
|
530
|
+
|
|
531
|
+
# 32. COLOR IS NOT THE ONLY SIGNAL
|
|
532
|
+
|
|
533
|
+
Never communicate an important distinction solely through color.
|
|
534
|
+
|
|
535
|
+
Bad:
|
|
536
|
+
|
|
537
|
+
```text
|
|
538
|
+
green = active
|
|
539
|
+
red = inactive
|
|
540
|
+
```
|
|
541
|
+
|
|
542
|
+
without another indicator.
|
|
543
|
+
|
|
544
|
+
Better:
|
|
545
|
+
|
|
546
|
+
```text
|
|
547
|
+
green + checkmark + label
|
|
548
|
+
```
|
|
549
|
+
|
|
550
|
+
or:
|
|
551
|
+
|
|
552
|
+
```text
|
|
553
|
+
selected state + semantic text
|
|
554
|
+
```
|
|
555
|
+
|
|
556
|
+
# 33. COLOR CONTRAST
|
|
557
|
+
|
|
558
|
+
Text and important interface elements require sufficient contrast against their
|
|
559
|
+
background.
|
|
560
|
+
|
|
561
|
+
Evaluate:
|
|
562
|
+
|
|
563
|
+
```text
|
|
564
|
+
text
|
|
565
|
+
icons
|
|
566
|
+
controls
|
|
567
|
+
boundaries
|
|
568
|
+
states
|
|
569
|
+
```
|
|
570
|
+
|
|
571
|
+
independently.
|
|
572
|
+
|
|
573
|
+
# 34. CONTRAST HIERARCHY
|
|
574
|
+
|
|
575
|
+
Do not make every element maximum contrast.
|
|
576
|
+
|
|
577
|
+
A strong interface may have:
|
|
578
|
+
|
|
579
|
+
```text
|
|
580
|
+
primary
|
|
581
|
+
secondary
|
|
582
|
+
tertiary
|
|
583
|
+
disabled
|
|
584
|
+
```
|
|
585
|
+
|
|
586
|
+
levels.
|
|
587
|
+
|
|
588
|
+
But each must remain sufficiently distinguishable for its intended purpose.
|
|
589
|
+
|
|
590
|
+
# 35. DISABLED CONTENT
|
|
591
|
+
|
|
592
|
+
Disabled controls should remain understandable where appropriate.
|
|
593
|
+
|
|
594
|
+
Do not rely solely on extremely low opacity.
|
|
595
|
+
|
|
596
|
+
A disabled control should still communicate:
|
|
597
|
+
|
|
598
|
+
```text
|
|
599
|
+
what it is
|
|
600
|
+
why it is unavailable
|
|
601
|
+
```
|
|
602
|
+
|
|
603
|
+
when useful.
|
|
604
|
+
|
|
605
|
+
# 36. INCREASED CONTRAST
|
|
606
|
+
|
|
607
|
+
The design should tolerate increased contrast settings.
|
|
608
|
+
|
|
609
|
+
Avoid relying on:
|
|
610
|
+
|
|
611
|
+
```text
|
|
612
|
+
subtle shadow
|
|
613
|
+
tiny opacity difference
|
|
614
|
+
very faint borders
|
|
615
|
+
```
|
|
616
|
+
|
|
617
|
+
as the only mechanism for distinguishing important elements.
|
|
618
|
+
|
|
619
|
+
# 37. REDUCE TRANSPARENCY
|
|
620
|
+
|
|
621
|
+
Interfaces using:
|
|
622
|
+
|
|
623
|
+
```text
|
|
624
|
+
glass
|
|
625
|
+
blur
|
|
626
|
+
translucency
|
|
627
|
+
```
|
|
628
|
+
|
|
629
|
+
should remain understandable when transparency is reduced.
|
|
630
|
+
|
|
631
|
+
Do not encode essential information exclusively into blur or translucency.
|
|
632
|
+
|
|
633
|
+
# 38. MATERIAL FALLBACK
|
|
634
|
+
|
|
635
|
+
If a translucent surface becomes opaque:
|
|
636
|
+
|
|
637
|
+
```text
|
|
638
|
+
background
|
|
639
|
+
↓
|
|
640
|
+
opaque material
|
|
641
|
+
```
|
|
642
|
+
|
|
643
|
+
the hierarchy should remain intact.
|
|
644
|
+
|
|
645
|
+
This is especially important for:
|
|
646
|
+
|
|
647
|
+
```text
|
|
648
|
+
navigation
|
|
649
|
+
sheets
|
|
650
|
+
toolbars
|
|
651
|
+
cards
|
|
652
|
+
overlays
|
|
653
|
+
```
|
|
654
|
+
|
|
655
|
+
.
|
|
656
|
+
|
|
657
|
+
# 39. REDUCE MOTION
|
|
658
|
+
|
|
659
|
+
Motion should have a reduced-motion strategy.
|
|
660
|
+
|
|
661
|
+
Potentially reduce:
|
|
662
|
+
|
|
663
|
+
```text
|
|
664
|
+
parallax
|
|
665
|
+
large transitions
|
|
666
|
+
continuous animations
|
|
667
|
+
decorative movement
|
|
668
|
+
scale effects
|
|
669
|
+
```
|
|
670
|
+
|
|
671
|
+
while preserving essential state communication.
|
|
672
|
+
|
|
673
|
+
# 40. DO NOT REMOVE ALL MOTION
|
|
674
|
+
|
|
675
|
+
Some motion communicates:
|
|
676
|
+
|
|
677
|
+
```text
|
|
678
|
+
cause
|
|
679
|
+
effect
|
|
680
|
+
location
|
|
681
|
+
state
|
|
682
|
+
```
|
|
683
|
+
|
|
684
|
+
The goal is not necessarily zero motion.
|
|
685
|
+
|
|
686
|
+
The goal is appropriate motion under reduced-motion preferences.
|
|
687
|
+
|
|
688
|
+
# 41. MOTION HIERARCHY
|
|
689
|
+
|
|
690
|
+
Prefer:
|
|
691
|
+
|
|
692
|
+
```text
|
|
693
|
+
functional motion
|
|
694
|
+
```
|
|
695
|
+
|
|
696
|
+
over:
|
|
697
|
+
|
|
698
|
+
```text
|
|
699
|
+
decorative motion
|
|
700
|
+
```
|
|
701
|
+
|
|
702
|
+
When motion must be reduced, preserve the information users actually need.
|
|
703
|
+
|
|
704
|
+
# 42. FLASHING
|
|
705
|
+
|
|
706
|
+
Avoid rapidly flashing content.
|
|
707
|
+
|
|
708
|
+
Particularly avoid unnecessary:
|
|
709
|
+
|
|
710
|
+
```text
|
|
711
|
+
high-frequency flashing
|
|
712
|
+
strobing
|
|
713
|
+
rapid brightness changes
|
|
714
|
+
```
|
|
715
|
+
|
|
716
|
+
in interface animation.
|
|
717
|
+
|
|
718
|
+
# 43. AUDIO ACCESSIBILITY
|
|
719
|
+
|
|
720
|
+
Audio-driven applications should not communicate critical information only
|
|
721
|
+
through sound.
|
|
722
|
+
|
|
723
|
+
For example:
|
|
724
|
+
|
|
725
|
+
```text
|
|
726
|
+
notification sound
|
|
727
|
+
```
|
|
728
|
+
|
|
729
|
+
should not be the sole indication of:
|
|
730
|
+
|
|
731
|
+
```text
|
|
732
|
+
download completion
|
|
733
|
+
error
|
|
734
|
+
important state
|
|
735
|
+
```
|
|
736
|
+
|
|
737
|
+
Provide visual/semantic feedback as appropriate.
|
|
738
|
+
|
|
739
|
+
# 44. HAPTIC ACCESSIBILITY
|
|
740
|
+
|
|
741
|
+
Haptics should reinforce interaction rather than be the only signal.
|
|
742
|
+
|
|
743
|
+
If an action is communicated by:
|
|
744
|
+
|
|
745
|
+
```text
|
|
746
|
+
haptic
|
|
747
|
+
```
|
|
748
|
+
|
|
749
|
+
also consider:
|
|
750
|
+
|
|
751
|
+
```text
|
|
752
|
+
visual state
|
|
753
|
+
semantic state
|
|
754
|
+
```
|
|
755
|
+
|
|
756
|
+
where important.
|
|
757
|
+
|
|
758
|
+
# 45. CAPTIONS
|
|
759
|
+
|
|
760
|
+
Audio/video experiences should support captions or equivalent textual
|
|
761
|
+
representation when content requires it.
|
|
762
|
+
|
|
763
|
+
Do not assume sound is sufficient.
|
|
764
|
+
|
|
765
|
+
# 46. TRANSCRIPTS
|
|
766
|
+
|
|
767
|
+
For spoken content, transcripts can improve:
|
|
768
|
+
|
|
769
|
+
```text
|
|
770
|
+
accessibility
|
|
771
|
+
searchability
|
|
772
|
+
comprehension
|
|
773
|
+
silent usage
|
|
774
|
+
```
|
|
775
|
+
|
|
776
|
+
where appropriate.
|
|
777
|
+
|
|
778
|
+
# 47. MEDIA CONTROLS
|
|
779
|
+
|
|
780
|
+
Media controls should expose:
|
|
781
|
+
|
|
782
|
+
```text
|
|
783
|
+
Play
|
|
784
|
+
Pause
|
|
785
|
+
Seek
|
|
786
|
+
Volume
|
|
787
|
+
Playback position
|
|
788
|
+
```
|
|
789
|
+
|
|
790
|
+
semantically.
|
|
791
|
+
|
|
792
|
+
Avoid icon-only controls with missing accessibility labels.
|
|
793
|
+
|
|
794
|
+
# 48. ACCESSIBLE SLIDERS
|
|
795
|
+
|
|
796
|
+
Adjustable controls should communicate:
|
|
797
|
+
|
|
798
|
+
```text
|
|
799
|
+
name
|
|
800
|
+
current value
|
|
801
|
+
minimum
|
|
802
|
+
maximum
|
|
803
|
+
adjustment behavior
|
|
804
|
+
```
|
|
805
|
+
|
|
806
|
+
Example:
|
|
807
|
+
|
|
808
|
+
```text
|
|
809
|
+
Volume
|
|
810
|
+
70 percent
|
|
811
|
+
```
|
|
812
|
+
|
|
813
|
+
The user should be able to understand what the control changes.
|
|
814
|
+
|
|
815
|
+
# 49. STEPPED CONTROLS
|
|
816
|
+
|
|
817
|
+
For controls such as:
|
|
818
|
+
|
|
819
|
+
```text
|
|
820
|
+
Playback speed
|
|
821
|
+
Font size
|
|
822
|
+
Zoom
|
|
823
|
+
```
|
|
824
|
+
|
|
825
|
+
the accessibility representation should expose meaningful values.
|
|
826
|
+
|
|
827
|
+
Example:
|
|
828
|
+
|
|
829
|
+
```text
|
|
830
|
+
Playback speed
|
|
831
|
+
1.25x
|
|
832
|
+
```
|
|
833
|
+
|
|
834
|
+
rather than:
|
|
835
|
+
|
|
836
|
+
```text
|
|
837
|
+
Slider
|
|
838
|
+
```
|
|
839
|
+
|
|
840
|
+
# 50. GESTURE ALTERNATIVES
|
|
841
|
+
|
|
842
|
+
Do not make a critical feature available only through a complex gesture.
|
|
843
|
+
|
|
844
|
+
If an action requires:
|
|
845
|
+
|
|
846
|
+
```text
|
|
847
|
+
swipe
|
|
848
|
+
long press
|
|
849
|
+
drag
|
|
850
|
+
multi-touch
|
|
851
|
+
```
|
|
852
|
+
|
|
853
|
+
consider providing an alternative accessible control.
|
|
854
|
+
|
|
855
|
+
# 51. SWIPE ACTIONS
|
|
856
|
+
|
|
857
|
+
For list rows:
|
|
858
|
+
|
|
859
|
+
```text
|
|
860
|
+
swipe
|
|
861
|
+
↓
|
|
862
|
+
Delete
|
|
863
|
+
```
|
|
864
|
+
|
|
865
|
+
the action should also be accessible without requiring the gesture itself.
|
|
866
|
+
|
|
867
|
+
# 52. LONG PRESS
|
|
868
|
+
|
|
869
|
+
Long press may reveal contextual actions.
|
|
870
|
+
|
|
871
|
+
Those actions should not become inaccessible to users who cannot perform the
|
|
872
|
+
gesture.
|
|
873
|
+
|
|
874
|
+
Provide another route where necessary.
|
|
875
|
+
|
|
876
|
+
# 53. DRAG AND DROP
|
|
877
|
+
|
|
878
|
+
Drag-based interactions should have alternative ways to accomplish important
|
|
879
|
+
operations.
|
|
880
|
+
|
|
881
|
+
Example:
|
|
882
|
+
|
|
883
|
+
```text
|
|
884
|
+
Drag item
|
|
885
|
+
```
|
|
886
|
+
|
|
887
|
+
could also provide:
|
|
888
|
+
|
|
889
|
+
```text
|
|
890
|
+
Move
|
|
891
|
+
Move Up
|
|
892
|
+
Move Down
|
|
893
|
+
Add to...
|
|
894
|
+
```
|
|
895
|
+
|
|
896
|
+
depending on the product.
|
|
897
|
+
|
|
898
|
+
# 54. REORDERING
|
|
899
|
+
|
|
900
|
+
A reorderable list should communicate:
|
|
901
|
+
|
|
902
|
+
```text
|
|
903
|
+
item identity
|
|
904
|
+
current position
|
|
905
|
+
new position
|
|
906
|
+
```
|
|
907
|
+
|
|
908
|
+
to assistive technologies where supported.
|
|
909
|
+
|
|
910
|
+
# 55. FOCUS
|
|
911
|
+
|
|
912
|
+
Focus matters for:
|
|
913
|
+
|
|
914
|
+
```text
|
|
915
|
+
keyboard
|
|
916
|
+
pointer
|
|
917
|
+
external controls
|
|
918
|
+
assistive technologies
|
|
919
|
+
```
|
|
920
|
+
|
|
921
|
+
The focused element should be visually identifiable.
|
|
922
|
+
|
|
923
|
+
# 56. FOCUS INDICATOR
|
|
924
|
+
|
|
925
|
+
Do not remove focus indication merely because it looks less minimal.
|
|
926
|
+
|
|
927
|
+
The user needs to know:
|
|
928
|
+
|
|
929
|
+
```text
|
|
930
|
+
What is active?
|
|
931
|
+
Where will input go?
|
|
932
|
+
```
|
|
933
|
+
|
|
934
|
+
.
|
|
935
|
+
|
|
936
|
+
# 57. KEYBOARD NAVIGATION
|
|
937
|
+
|
|
938
|
+
On iPadOS and keyboard-enabled environments, important controls should support
|
|
939
|
+
logical keyboard navigation where applicable.
|
|
940
|
+
|
|
941
|
+
The order should follow the interface hierarchy.
|
|
942
|
+
|
|
943
|
+
# 58. POINTER INTERACTION
|
|
944
|
+
|
|
945
|
+
Pointer interaction should not destroy touch usability.
|
|
946
|
+
|
|
947
|
+
Avoid hover-dependent functionality for actions that must remain available on
|
|
948
|
+
touch devices.
|
|
949
|
+
|
|
950
|
+
# 59. HOVER
|
|
951
|
+
|
|
952
|
+
Hover may provide:
|
|
953
|
+
|
|
954
|
+
```text
|
|
955
|
+
preview
|
|
956
|
+
context
|
|
957
|
+
tooltip
|
|
958
|
+
highlight
|
|
959
|
+
```
|
|
960
|
+
|
|
961
|
+
but should not be the only way to discover an essential action.
|
|
962
|
+
|
|
963
|
+
# 60. TOOLTIP STRATEGY
|
|
964
|
+
|
|
965
|
+
Tooltips can help explain unfamiliar controls, particularly in pointer-based
|
|
966
|
+
contexts.
|
|
967
|
+
|
|
968
|
+
They should not replace accessible labels or clear UI.
|
|
969
|
+
|
|
970
|
+
# 61. ACCESSIBILITY HINTS
|
|
971
|
+
|
|
972
|
+
Additional explanatory hints may be useful when an action has non-obvious
|
|
973
|
+
behavior.
|
|
974
|
+
|
|
975
|
+
But avoid verbose hints for simple actions.
|
|
976
|
+
|
|
977
|
+
Bad:
|
|
978
|
+
|
|
979
|
+
```text
|
|
980
|
+
"Tap this button to perform the action of playing the selected audio track."
|
|
981
|
+
```
|
|
982
|
+
|
|
983
|
+
Better:
|
|
984
|
+
|
|
985
|
+
```text
|
|
986
|
+
"Starts playback."
|
|
987
|
+
```
|
|
988
|
+
|
|
989
|
+
# 62. ACCESSIBILITY VERBOSITY
|
|
990
|
+
|
|
991
|
+
Accessibility output should be:
|
|
992
|
+
|
|
993
|
+
```text
|
|
994
|
+
meaningful
|
|
995
|
+
concise
|
|
996
|
+
action-oriented
|
|
997
|
+
state-aware
|
|
998
|
+
```
|
|
999
|
+
|
|
1000
|
+
Avoid repeating information already available from the control's label.
|
|
1001
|
+
|
|
1002
|
+
# 63. ACCESSIBILITY + NAVIGATION
|
|
1003
|
+
|
|
1004
|
+
When navigating:
|
|
1005
|
+
|
|
1006
|
+
```text
|
|
1007
|
+
Screen A
|
|
1008
|
+
↓
|
|
1009
|
+
Screen B
|
|
1010
|
+
```
|
|
1011
|
+
|
|
1012
|
+
the user should understand that the navigation occurred.
|
|
1013
|
+
|
|
1014
|
+
Important:
|
|
1015
|
+
|
|
1016
|
+
```text
|
|
1017
|
+
destination identity
|
|
1018
|
+
heading
|
|
1019
|
+
context
|
|
1020
|
+
```
|
|
1021
|
+
|
|
1022
|
+
should be exposed appropriately.
|
|
1023
|
+
|
|
1024
|
+
# 64. SCREEN TITLES
|
|
1025
|
+
|
|
1026
|
+
Every meaningful screen should have a clear accessible identity.
|
|
1027
|
+
|
|
1028
|
+
Example:
|
|
1029
|
+
|
|
1030
|
+
```text
|
|
1031
|
+
"Library"
|
|
1032
|
+
"Album Details"
|
|
1033
|
+
"Playback Settings"
|
|
1034
|
+
```
|
|
1035
|
+
|
|
1036
|
+
This helps users orient themselves.
|
|
1037
|
+
|
|
1038
|
+
# 65. MODALS
|
|
1039
|
+
|
|
1040
|
+
When presenting a modal or sheet:
|
|
1041
|
+
|
|
1042
|
+
```text
|
|
1043
|
+
background context
|
|
1044
|
+
↓
|
|
1045
|
+
new presentation
|
|
1046
|
+
```
|
|
1047
|
+
|
|
1048
|
+
the accessibility experience should move logically into the presented content.
|
|
1049
|
+
|
|
1050
|
+
# 66. DISMISSIBLE PRESENTATIONS
|
|
1051
|
+
|
|
1052
|
+
Users should have a clear semantic way to dismiss a temporary presentation.
|
|
1053
|
+
|
|
1054
|
+
Examples:
|
|
1055
|
+
|
|
1056
|
+
```text
|
|
1057
|
+
Cancel
|
|
1058
|
+
Close
|
|
1059
|
+
Done
|
|
1060
|
+
Dismiss
|
|
1061
|
+
```
|
|
1062
|
+
|
|
1063
|
+
Use the appropriate action.
|
|
1064
|
+
|
|
1065
|
+
# 67. ALERTS
|
|
1066
|
+
|
|
1067
|
+
Alerts should communicate:
|
|
1068
|
+
|
|
1069
|
+
```text
|
|
1070
|
+
title
|
|
1071
|
+
message
|
|
1072
|
+
available actions
|
|
1073
|
+
```
|
|
1074
|
+
|
|
1075
|
+
clearly.
|
|
1076
|
+
|
|
1077
|
+
Avoid alerts that require the user to infer meaning from icons alone.
|
|
1078
|
+
|
|
1079
|
+
# 68. ALERT ACTIONS
|
|
1080
|
+
|
|
1081
|
+
Actions should be explicit.
|
|
1082
|
+
|
|
1083
|
+
Bad:
|
|
1084
|
+
|
|
1085
|
+
```text
|
|
1086
|
+
[red button]
|
|
1087
|
+
[gray button]
|
|
1088
|
+
```
|
|
1089
|
+
|
|
1090
|
+
Better:
|
|
1091
|
+
|
|
1092
|
+
```text
|
|
1093
|
+
Delete
|
|
1094
|
+
Cancel
|
|
1095
|
+
```
|
|
1096
|
+
|
|
1097
|
+
# 69. ERROR ACCESSIBILITY
|
|
1098
|
+
|
|
1099
|
+
Errors should be available through:
|
|
1100
|
+
|
|
1101
|
+
```text
|
|
1102
|
+
visual message
|
|
1103
|
+
semantic message
|
|
1104
|
+
```
|
|
1105
|
+
|
|
1106
|
+
and should not rely solely on:
|
|
1107
|
+
|
|
1108
|
+
```text
|
|
1109
|
+
red color
|
|
1110
|
+
```
|
|
1111
|
+
|
|
1112
|
+
or:
|
|
1113
|
+
|
|
1114
|
+
```text
|
|
1115
|
+
shake animation
|
|
1116
|
+
```
|
|
1117
|
+
|
|
1118
|
+
# 70. FORM ACCESSIBILITY
|
|
1119
|
+
|
|
1120
|
+
Forms should expose:
|
|
1121
|
+
|
|
1122
|
+
```text
|
|
1123
|
+
field label
|
|
1124
|
+
value
|
|
1125
|
+
required/optional state
|
|
1126
|
+
validation
|
|
1127
|
+
error
|
|
1128
|
+
```
|
|
1129
|
+
|
|
1130
|
+
clearly.
|
|
1131
|
+
|
|
1132
|
+
# 71. PLACEHOLDER TEXT
|
|
1133
|
+
|
|
1134
|
+
Placeholder text should not be the only label.
|
|
1135
|
+
|
|
1136
|
+
Bad:
|
|
1137
|
+
|
|
1138
|
+
```text
|
|
1139
|
+
[ Enter email... ]
|
|
1140
|
+
```
|
|
1141
|
+
|
|
1142
|
+
Better:
|
|
1143
|
+
|
|
1144
|
+
```text
|
|
1145
|
+
Email
|
|
1146
|
+
[ user@example.com ]
|
|
1147
|
+
```
|
|
1148
|
+
|
|
1149
|
+
# 72. VALIDATION
|
|
1150
|
+
|
|
1151
|
+
Validation errors should identify:
|
|
1152
|
+
|
|
1153
|
+
```text
|
|
1154
|
+
field
|
|
1155
|
+
problem
|
|
1156
|
+
solution
|
|
1157
|
+
```
|
|
1158
|
+
|
|
1159
|
+
Example:
|
|
1160
|
+
|
|
1161
|
+
```text
|
|
1162
|
+
Password
|
|
1163
|
+
Must contain at least 8 characters.
|
|
1164
|
+
```
|
|
1165
|
+
|
|
1166
|
+
Do not communicate only:
|
|
1167
|
+
|
|
1168
|
+
```text
|
|
1169
|
+
Invalid
|
|
1170
|
+
```
|
|
1171
|
+
|
|
1172
|
+
# 73. FOCUS AFTER VALIDATION
|
|
1173
|
+
|
|
1174
|
+
When a form submission fails, focus should move logically to the relevant error
|
|
1175
|
+
or field where appropriate.
|
|
1176
|
+
|
|
1177
|
+
Do not leave users searching for what went wrong.
|
|
1178
|
+
|
|
1179
|
+
# 74. REQUIRED FIELDS
|
|
1180
|
+
|
|
1181
|
+
Clearly communicate required fields.
|
|
1182
|
+
|
|
1183
|
+
Avoid relying solely on:
|
|
1184
|
+
|
|
1185
|
+
```text
|
|
1186
|
+
red asterisk
|
|
1187
|
+
```
|
|
1188
|
+
|
|
1189
|
+
without semantic explanation.
|
|
1190
|
+
|
|
1191
|
+
# 75. SEARCH FIELD ACCESSIBILITY
|
|
1192
|
+
|
|
1193
|
+
Search fields should communicate:
|
|
1194
|
+
|
|
1195
|
+
```text
|
|
1196
|
+
Search
|
|
1197
|
+
current query
|
|
1198
|
+
clear action
|
|
1199
|
+
results state
|
|
1200
|
+
```
|
|
1201
|
+
|
|
1202
|
+
where appropriate.
|
|
1203
|
+
|
|
1204
|
+
# 76. EMPTY STATES
|
|
1205
|
+
|
|
1206
|
+
An accessible empty state should communicate:
|
|
1207
|
+
|
|
1208
|
+
```text
|
|
1209
|
+
what is empty
|
|
1210
|
+
why it is empty
|
|
1211
|
+
what the user can do
|
|
1212
|
+
```
|
|
1213
|
+
|
|
1214
|
+
Example:
|
|
1215
|
+
|
|
1216
|
+
```text
|
|
1217
|
+
No Favorites Yet
|
|
1218
|
+
|
|
1219
|
+
Save songs here to find them quickly.
|
|
1220
|
+
|
|
1221
|
+
[Browse Music]
|
|
1222
|
+
```
|
|
1223
|
+
|
|
1224
|
+
# 77. LOADING STATES
|
|
1225
|
+
|
|
1226
|
+
Loading should have an accessible representation.
|
|
1227
|
+
|
|
1228
|
+
Avoid:
|
|
1229
|
+
|
|
1230
|
+
```text
|
|
1231
|
+
spinner
|
|
1232
|
+
```
|
|
1233
|
+
|
|
1234
|
+
with no semantic indication.
|
|
1235
|
+
|
|
1236
|
+
Communicate that content is loading where appropriate.
|
|
1237
|
+
|
|
1238
|
+
# 78. PROGRESS
|
|
1239
|
+
|
|
1240
|
+
Long operations may expose:
|
|
1241
|
+
|
|
1242
|
+
```text
|
|
1243
|
+
progress percentage
|
|
1244
|
+
current stage
|
|
1245
|
+
estimated state
|
|
1246
|
+
```
|
|
1247
|
+
|
|
1248
|
+
where meaningful.
|
|
1249
|
+
|
|
1250
|
+
# 79. SKELETON LOADING
|
|
1251
|
+
|
|
1252
|
+
Skeletons are primarily visual.
|
|
1253
|
+
|
|
1254
|
+
Do not expose dozens of placeholder shapes to assistive technology as if they
|
|
1255
|
+
were meaningful content.
|
|
1256
|
+
|
|
1257
|
+
# 80. SKELETON SEMANTICS
|
|
1258
|
+
|
|
1259
|
+
Where possible, expose:
|
|
1260
|
+
|
|
1261
|
+
```text
|
|
1262
|
+
"Loading library"
|
|
1263
|
+
```
|
|
1264
|
+
|
|
1265
|
+
rather than:
|
|
1266
|
+
|
|
1267
|
+
```text
|
|
1268
|
+
rectangle
|
|
1269
|
+
rectangle
|
|
1270
|
+
rectangle
|
|
1271
|
+
circle
|
|
1272
|
+
```
|
|
1273
|
+
|
|
1274
|
+
.
|
|
1275
|
+
|
|
1276
|
+
# 81. LIST ACCESSIBILITY
|
|
1277
|
+
|
|
1278
|
+
A list item should expose the information needed to understand it.
|
|
1279
|
+
|
|
1280
|
+
Example:
|
|
1281
|
+
|
|
1282
|
+
```text
|
|
1283
|
+
Song
|
|
1284
|
+
Artist
|
|
1285
|
+
Duration
|
|
1286
|
+
```
|
|
1287
|
+
|
|
1288
|
+
may become:
|
|
1289
|
+
|
|
1290
|
+
```text
|
|
1291
|
+
"Blinding Lights, The Weeknd, 3 minutes 20 seconds"
|
|
1292
|
+
```
|
|
1293
|
+
|
|
1294
|
+
# 82. LIST ACTIONS
|
|
1295
|
+
|
|
1296
|
+
If a list item has multiple actions:
|
|
1297
|
+
|
|
1298
|
+
```text
|
|
1299
|
+
Play
|
|
1300
|
+
Favorite
|
|
1301
|
+
More
|
|
1302
|
+
```
|
|
1303
|
+
|
|
1304
|
+
do not accidentally combine all actions into one inaccessible element.
|
|
1305
|
+
|
|
1306
|
+
# 83. TABLES / DATA
|
|
1307
|
+
|
|
1308
|
+
Complex data should expose relationships between:
|
|
1309
|
+
|
|
1310
|
+
```text
|
|
1311
|
+
headers
|
|
1312
|
+
rows
|
|
1313
|
+
columns
|
|
1314
|
+
values
|
|
1315
|
+
```
|
|
1316
|
+
|
|
1317
|
+
Do not rely solely on spatial alignment.
|
|
1318
|
+
|
|
1319
|
+
# 84. CHARTS
|
|
1320
|
+
|
|
1321
|
+
Charts should provide a textual or semantic alternative when the data is
|
|
1322
|
+
important.
|
|
1323
|
+
|
|
1324
|
+
Example:
|
|
1325
|
+
|
|
1326
|
+
```text
|
|
1327
|
+
Visual:
|
|
1328
|
+
sales chart
|
|
1329
|
+
|
|
1330
|
+
Accessible summary:
|
|
1331
|
+
"Sales increased 24 percent from January to March."
|
|
1332
|
+
```
|
|
1333
|
+
|
|
1334
|
+
The exact implementation depends on the chart.
|
|
1335
|
+
|
|
1336
|
+
# 85. IMAGES
|
|
1337
|
+
|
|
1338
|
+
Images should be classified conceptually:
|
|
1339
|
+
|
|
1340
|
+
```text
|
|
1341
|
+
informational
|
|
1342
|
+
functional
|
|
1343
|
+
decorative
|
|
1344
|
+
```
|
|
1345
|
+
|
|
1346
|
+
Informational images need meaningful descriptions when the information is
|
|
1347
|
+
important.
|
|
1348
|
+
|
|
1349
|
+
# 86. IMAGE DESCRIPTION
|
|
1350
|
+
|
|
1351
|
+
Do not describe every visual detail automatically.
|
|
1352
|
+
|
|
1353
|
+
Describe what matters to the user's task.
|
|
1354
|
+
|
|
1355
|
+
Bad:
|
|
1356
|
+
|
|
1357
|
+
```text
|
|
1358
|
+
"A square image with blue and white colors and a person standing..."
|
|
1359
|
+
```
|
|
1360
|
+
|
|
1361
|
+
when the actual purpose is:
|
|
1362
|
+
|
|
1363
|
+
```text
|
|
1364
|
+
"Album artwork for..."
|
|
1365
|
+
```
|
|
1366
|
+
|
|
1367
|
+
# 87. FUNCTIONAL IMAGE
|
|
1368
|
+
|
|
1369
|
+
If an image is also an action:
|
|
1370
|
+
|
|
1371
|
+
```text
|
|
1372
|
+
album artwork
|
|
1373
|
+
↓
|
|
1374
|
+
tap
|
|
1375
|
+
↓
|
|
1376
|
+
open album
|
|
1377
|
+
```
|
|
1378
|
+
|
|
1379
|
+
the accessibility label should communicate the destination/action.
|
|
1380
|
+
|
|
1381
|
+
# 88. ICON ACCESSIBILITY
|
|
1382
|
+
|
|
1383
|
+
For icon-only controls:
|
|
1384
|
+
|
|
1385
|
+
```text
|
|
1386
|
+
[trash]
|
|
1387
|
+
```
|
|
1388
|
+
|
|
1389
|
+
use:
|
|
1390
|
+
|
|
1391
|
+
```text
|
|
1392
|
+
"Delete"
|
|
1393
|
+
```
|
|
1394
|
+
|
|
1395
|
+
not:
|
|
1396
|
+
|
|
1397
|
+
```text
|
|
1398
|
+
"Trash icon"
|
|
1399
|
+
```
|
|
1400
|
+
|
|
1401
|
+
# 89. DECORATIVE ICON
|
|
1402
|
+
|
|
1403
|
+
If the icon duplicates adjacent text:
|
|
1404
|
+
|
|
1405
|
+
```text
|
|
1406
|
+
[gear] Settings
|
|
1407
|
+
```
|
|
1408
|
+
|
|
1409
|
+
the gear does not necessarily need a separate accessibility announcement.
|
|
1410
|
+
|
|
1411
|
+
# 90. ACCESSIBILITY GROUPING IN CARDS
|
|
1412
|
+
|
|
1413
|
+
Cards often contain:
|
|
1414
|
+
|
|
1415
|
+
```text
|
|
1416
|
+
image
|
|
1417
|
+
title
|
|
1418
|
+
subtitle
|
|
1419
|
+
metadata
|
|
1420
|
+
actions
|
|
1421
|
+
```
|
|
1422
|
+
|
|
1423
|
+
Determine whether the card represents:
|
|
1424
|
+
|
|
1425
|
+
```text
|
|
1426
|
+
one action
|
|
1427
|
+
```
|
|
1428
|
+
|
|
1429
|
+
or:
|
|
1430
|
+
|
|
1431
|
+
```text
|
|
1432
|
+
multiple independent actions
|
|
1433
|
+
```
|
|
1434
|
+
|
|
1435
|
+
before grouping its semantics.
|
|
1436
|
+
|
|
1437
|
+
# 91. ONE-ACTION CARD
|
|
1438
|
+
|
|
1439
|
+
If the entire card opens details:
|
|
1440
|
+
|
|
1441
|
+
```text
|
|
1442
|
+
Card
|
|
1443
|
+
↓
|
|
1444
|
+
Open details
|
|
1445
|
+
```
|
|
1446
|
+
|
|
1447
|
+
it may expose one coherent accessible action.
|
|
1448
|
+
|
|
1449
|
+
# 92. MULTI-ACTION CARD
|
|
1450
|
+
|
|
1451
|
+
If the card contains:
|
|
1452
|
+
|
|
1453
|
+
```text
|
|
1454
|
+
Open
|
|
1455
|
+
Favorite
|
|
1456
|
+
More
|
|
1457
|
+
```
|
|
1458
|
+
|
|
1459
|
+
those actions need independent semantic controls.
|
|
1460
|
+
|
|
1461
|
+
# 93. TAB ACCESSIBILITY
|
|
1462
|
+
|
|
1463
|
+
Tabs should communicate:
|
|
1464
|
+
|
|
1465
|
+
```text
|
|
1466
|
+
destination
|
|
1467
|
+
selected state
|
|
1468
|
+
```
|
|
1469
|
+
|
|
1470
|
+
Example:
|
|
1471
|
+
|
|
1472
|
+
```text
|
|
1473
|
+
Library
|
|
1474
|
+
selected
|
|
1475
|
+
```
|
|
1476
|
+
|
|
1477
|
+
rather than simply:
|
|
1478
|
+
|
|
1479
|
+
```text
|
|
1480
|
+
Library
|
|
1481
|
+
```
|
|
1482
|
+
|
|
1483
|
+
# 94. NAVIGATION BAR ACCESSIBILITY
|
|
1484
|
+
|
|
1485
|
+
Navigation controls should communicate:
|
|
1486
|
+
|
|
1487
|
+
```text
|
|
1488
|
+
Back
|
|
1489
|
+
More
|
|
1490
|
+
Search
|
|
1491
|
+
```
|
|
1492
|
+
|
|
1493
|
+
according to actual behavior.
|
|
1494
|
+
|
|
1495
|
+
# 95. SWIPE-BACK ACCESSIBILITY
|
|
1496
|
+
|
|
1497
|
+
A user should not be forced to perform a swipe to navigate back.
|
|
1498
|
+
|
|
1499
|
+
Provide an accessible navigation mechanism.
|
|
1500
|
+
|
|
1501
|
+
# 96. COLOR BLINDNESS
|
|
1502
|
+
|
|
1503
|
+
Do not depend solely on:
|
|
1504
|
+
|
|
1505
|
+
```text
|
|
1506
|
+
red vs green
|
|
1507
|
+
blue vs purple
|
|
1508
|
+
```
|
|
1509
|
+
|
|
1510
|
+
to communicate state.
|
|
1511
|
+
|
|
1512
|
+
Use:
|
|
1513
|
+
|
|
1514
|
+
```text
|
|
1515
|
+
icon
|
|
1516
|
+
text
|
|
1517
|
+
pattern
|
|
1518
|
+
shape
|
|
1519
|
+
position
|
|
1520
|
+
```
|
|
1521
|
+
|
|
1522
|
+
when necessary.
|
|
1523
|
+
|
|
1524
|
+
# 97. STATUS DESIGN
|
|
1525
|
+
|
|
1526
|
+
Status should preferably combine multiple signals.
|
|
1527
|
+
|
|
1528
|
+
Example:
|
|
1529
|
+
|
|
1530
|
+
```text
|
|
1531
|
+
Downloaded
|
|
1532
|
+
[check]
|
|
1533
|
+
```
|
|
1534
|
+
|
|
1535
|
+
instead of:
|
|
1536
|
+
|
|
1537
|
+
```text
|
|
1538
|
+
green dot
|
|
1539
|
+
```
|
|
1540
|
+
|
|
1541
|
+
# 98. TYPOGRAPHY ACCESSIBILITY
|
|
1542
|
+
|
|
1543
|
+
Avoid excessively thin typography for important content.
|
|
1544
|
+
|
|
1545
|
+
Important information should remain legible across:
|
|
1546
|
+
|
|
1547
|
+
```text
|
|
1548
|
+
lighting
|
|
1549
|
+
contrast
|
|
1550
|
+
display
|
|
1551
|
+
text size
|
|
1552
|
+
```
|
|
1553
|
+
|
|
1554
|
+
conditions.
|
|
1555
|
+
|
|
1556
|
+
# 99. FONT WEIGHT
|
|
1557
|
+
|
|
1558
|
+
Do not use ultra-light text for essential information.
|
|
1559
|
+
|
|
1560
|
+
Visual sophistication should never come at the cost of readability.
|
|
1561
|
+
|
|
1562
|
+
# 100. LINE HEIGHT
|
|
1563
|
+
|
|
1564
|
+
Adequate line spacing improves readability, particularly for:
|
|
1565
|
+
|
|
1566
|
+
```text
|
|
1567
|
+
large text
|
|
1568
|
+
long-form content
|
|
1569
|
+
dense information
|
|
1570
|
+
```
|
|
1571
|
+
|
|
1572
|
+
Avoid overly compressed text blocks.
|
|
1573
|
+
|
|
1574
|
+
# 101. TEXT WIDTH
|
|
1575
|
+
|
|
1576
|
+
Long-form text should not become excessively wide.
|
|
1577
|
+
|
|
1578
|
+
Readable line length improves comprehension.
|
|
1579
|
+
|
|
1580
|
+
# 102. DENSITY
|
|
1581
|
+
|
|
1582
|
+
Accessibility does not mean every screen must become enormous.
|
|
1583
|
+
|
|
1584
|
+
Use hierarchy:
|
|
1585
|
+
|
|
1586
|
+
```text
|
|
1587
|
+
primary
|
|
1588
|
+
secondary
|
|
1589
|
+
tertiary
|
|
1590
|
+
```
|
|
1591
|
+
|
|
1592
|
+
to maintain density without sacrificing clarity.
|
|
1593
|
+
|
|
1594
|
+
# 103. ACCESSIBILITY SETTINGS
|
|
1595
|
+
|
|
1596
|
+
The agent should account for platform accessibility preferences including,
|
|
1597
|
+
where supported:
|
|
1598
|
+
|
|
1599
|
+
```text
|
|
1600
|
+
larger text
|
|
1601
|
+
bold text
|
|
1602
|
+
increase contrast
|
|
1603
|
+
reduce transparency
|
|
1604
|
+
reduce motion
|
|
1605
|
+
different color configurations
|
|
1606
|
+
assistive technologies
|
|
1607
|
+
```
|
|
1608
|
+
|
|
1609
|
+
Do not assume the default configuration is the only configuration.
|
|
1610
|
+
|
|
1611
|
+
# 104. ACCESSIBILITY TEST MATRIX
|
|
1612
|
+
|
|
1613
|
+
At minimum test:
|
|
1614
|
+
|
|
1615
|
+
```text
|
|
1616
|
+
Default
|
|
1617
|
+
Large Text
|
|
1618
|
+
Largest Text
|
|
1619
|
+
VoiceOver
|
|
1620
|
+
Reduce Motion
|
|
1621
|
+
Reduce Transparency
|
|
1622
|
+
Increase Contrast
|
|
1623
|
+
Dark Mode
|
|
1624
|
+
Light Mode
|
|
1625
|
+
Landscape
|
|
1626
|
+
Keyboard / Pointer
|
|
1627
|
+
```
|
|
1628
|
+
|
|
1629
|
+
where applicable.
|
|
1630
|
+
|
|
1631
|
+
# 105. ACCESSIBILITY TESTING
|
|
1632
|
+
|
|
1633
|
+
Do not test only the home screen.
|
|
1634
|
+
|
|
1635
|
+
Test complete journeys:
|
|
1636
|
+
|
|
1637
|
+
```text
|
|
1638
|
+
launch
|
|
1639
|
+
↓
|
|
1640
|
+
navigate
|
|
1641
|
+
↓
|
|
1642
|
+
search
|
|
1643
|
+
↓
|
|
1644
|
+
open content
|
|
1645
|
+
↓
|
|
1646
|
+
perform action
|
|
1647
|
+
↓
|
|
1648
|
+
confirm
|
|
1649
|
+
↓
|
|
1650
|
+
return
|
|
1651
|
+
```
|
|
1652
|
+
|
|
1653
|
+
Accessibility failures often appear in transitions between screens.
|
|
1654
|
+
|
|
1655
|
+
# 106. VOICEOVER TESTING
|
|
1656
|
+
|
|
1657
|
+
When testing VoiceOver, ask:
|
|
1658
|
+
|
|
1659
|
+
```text
|
|
1660
|
+
Can I identify the screen?
|
|
1661
|
+
Can I identify each action?
|
|
1662
|
+
Can I understand state?
|
|
1663
|
+
Can I navigate?
|
|
1664
|
+
Can I complete the task?
|
|
1665
|
+
Can I recover from errors?
|
|
1666
|
+
```
|
|
1667
|
+
|
|
1668
|
+
If any answer is no, improve the semantic model.
|
|
1669
|
+
|
|
1670
|
+
# 107. DYNAMIC TYPE TESTING
|
|
1671
|
+
|
|
1672
|
+
Increase text size significantly.
|
|
1673
|
+
|
|
1674
|
+
Check:
|
|
1675
|
+
|
|
1676
|
+
```text
|
|
1677
|
+
navigation
|
|
1678
|
+
buttons
|
|
1679
|
+
lists
|
|
1680
|
+
cards
|
|
1681
|
+
forms
|
|
1682
|
+
alerts
|
|
1683
|
+
sheets
|
|
1684
|
+
empty states
|
|
1685
|
+
errors
|
|
1686
|
+
```
|
|
1687
|
+
|
|
1688
|
+
for clipping and overlap.
|
|
1689
|
+
|
|
1690
|
+
# 108. REDUCED MOTION TESTING
|
|
1691
|
+
|
|
1692
|
+
Enable reduced motion.
|
|
1693
|
+
|
|
1694
|
+
Check:
|
|
1695
|
+
|
|
1696
|
+
```text
|
|
1697
|
+
navigation transitions
|
|
1698
|
+
loading
|
|
1699
|
+
state changes
|
|
1700
|
+
modal presentation
|
|
1701
|
+
interactive animations
|
|
1702
|
+
```
|
|
1703
|
+
|
|
1704
|
+
Ensure essential information remains understandable.
|
|
1705
|
+
|
|
1706
|
+
# 109. REDUCED TRANSPARENCY TESTING
|
|
1707
|
+
|
|
1708
|
+
Disable/reduce transparency.
|
|
1709
|
+
|
|
1710
|
+
Check:
|
|
1711
|
+
|
|
1712
|
+
```text
|
|
1713
|
+
toolbars
|
|
1714
|
+
navigation
|
|
1715
|
+
sheets
|
|
1716
|
+
cards
|
|
1717
|
+
overlays
|
|
1718
|
+
```
|
|
1719
|
+
|
|
1720
|
+
for hierarchy and readability.
|
|
1721
|
+
|
|
1722
|
+
# 110. ACCESSIBILITY REGRESSION
|
|
1723
|
+
|
|
1724
|
+
Accessibility should be treated as part of regression testing.
|
|
1725
|
+
|
|
1726
|
+
Every major component change should consider:
|
|
1727
|
+
|
|
1728
|
+
```text
|
|
1729
|
+
semantics
|
|
1730
|
+
text scaling
|
|
1731
|
+
contrast
|
|
1732
|
+
focus
|
|
1733
|
+
touch targets
|
|
1734
|
+
motion
|
|
1735
|
+
```
|
|
1736
|
+
|
|
1737
|
+
.
|
|
1738
|
+
|
|
1739
|
+
# 111. COMPONENT ACCESSIBILITY CONTRACT
|
|
1740
|
+
|
|
1741
|
+
Every reusable component should define:
|
|
1742
|
+
|
|
1743
|
+
```text
|
|
1744
|
+
visual role
|
|
1745
|
+
semantic role
|
|
1746
|
+
label
|
|
1747
|
+
state
|
|
1748
|
+
actions
|
|
1749
|
+
focus behavior
|
|
1750
|
+
dynamic type behavior
|
|
1751
|
+
contrast behavior
|
|
1752
|
+
motion behavior
|
|
1753
|
+
```
|
|
1754
|
+
|
|
1755
|
+
Example:
|
|
1756
|
+
|
|
1757
|
+
```text
|
|
1758
|
+
Component:
|
|
1759
|
+
MediaButton
|
|
1760
|
+
|
|
1761
|
+
Visual:
|
|
1762
|
+
icon
|
|
1763
|
+
|
|
1764
|
+
Semantic:
|
|
1765
|
+
button
|
|
1766
|
+
|
|
1767
|
+
Label:
|
|
1768
|
+
"Play"
|
|
1769
|
+
|
|
1770
|
+
State:
|
|
1771
|
+
playing / paused
|
|
1772
|
+
|
|
1773
|
+
Action:
|
|
1774
|
+
toggle playback
|
|
1775
|
+
```
|
|
1776
|
+
|
|
1777
|
+
# 112. ACCESSIBLE DESIGN TOKENS
|
|
1778
|
+
|
|
1779
|
+
A design system can define:
|
|
1780
|
+
|
|
1781
|
+
```ts
|
|
1782
|
+
accessibility = {
|
|
1783
|
+
minTouchTarget,
|
|
1784
|
+
focusRing,
|
|
1785
|
+
contrastRoles,
|
|
1786
|
+
textScaling,
|
|
1787
|
+
reducedMotion,
|
|
1788
|
+
}
|
|
1789
|
+
```
|
|
1790
|
+
|
|
1791
|
+
The exact implementation depends on the framework.
|
|
1792
|
+
|
|
1793
|
+
# 113. ACCESSIBILITY-FIRST COMPONENTS
|
|
1794
|
+
|
|
1795
|
+
Prefer:
|
|
1796
|
+
|
|
1797
|
+
```tsx
|
|
1798
|
+
<AccessibleButton
|
|
1799
|
+
label="Play"
|
|
1800
|
+
icon="play"
|
|
1801
|
+
onPress={play}
|
|
1802
|
+
/>
|
|
1803
|
+
```
|
|
1804
|
+
|
|
1805
|
+
over repeatedly implementing:
|
|
1806
|
+
|
|
1807
|
+
```tsx
|
|
1808
|
+
<TouchableOpacity>
|
|
1809
|
+
<Icon />
|
|
1810
|
+
</TouchableOpacity>
|
|
1811
|
+
```
|
|
1812
|
+
|
|
1813
|
+
without semantic behavior.
|
|
1814
|
+
|
|
1815
|
+
# 114. SEMANTIC COMPONENT LIBRARY
|
|
1816
|
+
|
|
1817
|
+
Build reusable primitives such as:
|
|
1818
|
+
|
|
1819
|
+
```text
|
|
1820
|
+
AccessibleButton
|
|
1821
|
+
AccessibleIconButton
|
|
1822
|
+
AccessibleCard
|
|
1823
|
+
AccessibleListItem
|
|
1824
|
+
AccessibleSlider
|
|
1825
|
+
AccessibleTab
|
|
1826
|
+
AccessibleTextField
|
|
1827
|
+
AccessibleDialog
|
|
1828
|
+
AccessibleImage
|
|
1829
|
+
```
|
|
1830
|
+
|
|
1831
|
+
where useful.
|
|
1832
|
+
|
|
1833
|
+
# 115. ACCESSIBILITY DEFAULTS
|
|
1834
|
+
|
|
1835
|
+
Good components should have safe defaults.
|
|
1836
|
+
|
|
1837
|
+
For example:
|
|
1838
|
+
|
|
1839
|
+
```text
|
|
1840
|
+
button
|
|
1841
|
+
↓
|
|
1842
|
+
accessible
|
|
1843
|
+
↓
|
|
1844
|
+
label required
|
|
1845
|
+
↓
|
|
1846
|
+
reasonable hit area
|
|
1847
|
+
```
|
|
1848
|
+
|
|
1849
|
+
The developer should not need to remember every accessibility detail manually.
|
|
1850
|
+
|
|
1851
|
+
# 116. ACCESSIBILITY ESCAPE HATCH
|
|
1852
|
+
|
|
1853
|
+
Components should still allow intentional customization.
|
|
1854
|
+
|
|
1855
|
+
Example:
|
|
1856
|
+
|
|
1857
|
+
```tsx
|
|
1858
|
+
<IconButton
|
|
1859
|
+
accessibilityLabel="Add to Queue"
|
|
1860
|
+
accessibilityHint="Adds this song to the end of the queue"
|
|
1861
|
+
/>
|
|
1862
|
+
```
|
|
1863
|
+
|
|
1864
|
+
The system provides defaults while allowing context-specific semantics.
|
|
1865
|
+
|
|
1866
|
+
# 117. ACCESSIBILITY AND DESIGN SYSTEMS
|
|
1867
|
+
|
|
1868
|
+
Accessibility should be encoded into design tokens and components, not merely
|
|
1869
|
+
documentation.
|
|
1870
|
+
|
|
1871
|
+
The goal:
|
|
1872
|
+
|
|
1873
|
+
```text
|
|
1874
|
+
design decision
|
|
1875
|
+
↓
|
|
1876
|
+
component
|
|
1877
|
+
↓
|
|
1878
|
+
accessible by default
|
|
1879
|
+
```
|
|
1880
|
+
|
|
1881
|
+
.
|
|
1882
|
+
|
|
1883
|
+
# 118. ACCESSIBILITY AGENT WORKFLOW
|
|
1884
|
+
|
|
1885
|
+
Before implementation:
|
|
1886
|
+
|
|
1887
|
+
```text
|
|
1888
|
+
1. Identify user tasks
|
|
1889
|
+
2. Identify semantic elements
|
|
1890
|
+
3. Identify interaction methods
|
|
1891
|
+
4. Identify accessibility states
|
|
1892
|
+
5. Identify text scaling risks
|
|
1893
|
+
6. Identify motion
|
|
1894
|
+
7. Identify contrast
|
|
1895
|
+
8. Identify alternative input methods
|
|
1896
|
+
```
|
|
1897
|
+
|
|
1898
|
+
Then implement.
|
|
1899
|
+
|
|
1900
|
+
# 119. ACCESSIBILITY REVIEW WORKFLOW
|
|
1901
|
+
|
|
1902
|
+
After implementation:
|
|
1903
|
+
|
|
1904
|
+
```text
|
|
1905
|
+
1. Semantic audit
|
|
1906
|
+
2. VoiceOver audit
|
|
1907
|
+
3. Dynamic Type audit
|
|
1908
|
+
4. Contrast audit
|
|
1909
|
+
5. Touch target audit
|
|
1910
|
+
6. Motion audit
|
|
1911
|
+
7. Focus audit
|
|
1912
|
+
8. Error-state audit
|
|
1913
|
+
9. Navigation audit
|
|
1914
|
+
10. Full user-flow audit
|
|
1915
|
+
```
|
|
1916
|
+
|
|
1917
|
+
# 120. ACCESSIBILITY DECISION TREE
|
|
1918
|
+
|
|
1919
|
+
```text
|
|
1920
|
+
Is this element meaningful?
|
|
1921
|
+
│
|
|
1922
|
+
NO
|
|
1923
|
+
↓
|
|
1924
|
+
Decorative
|
|
1925
|
+
|
|
1926
|
+
YES
|
|
1927
|
+
↓
|
|
1928
|
+
Is it interactive?
|
|
1929
|
+
/ \
|
|
1930
|
+
YES NO
|
|
1931
|
+
↓ ↓
|
|
1932
|
+
semantic semantic
|
|
1933
|
+
control content
|
|
1934
|
+
↓
|
|
1935
|
+
Does it have state?
|
|
1936
|
+
↓
|
|
1937
|
+
Expose state
|
|
1938
|
+
|
|
1939
|
+
Does it have a value?
|
|
1940
|
+
↓
|
|
1941
|
+
Expose value
|
|
1942
|
+
|
|
1943
|
+
Does it require gesture?
|
|
1944
|
+
↓
|
|
1945
|
+
Provide alternative
|
|
1946
|
+
```
|
|
1947
|
+
|
|
1948
|
+
# 121. ACCESSIBILITY FAILURE PRIORITY
|
|
1949
|
+
|
|
1950
|
+
Prioritize failures that prevent task completion.
|
|
1951
|
+
|
|
1952
|
+
Priority:
|
|
1953
|
+
|
|
1954
|
+
```text
|
|
1955
|
+
P0
|
|
1956
|
+
cannot perform task
|
|
1957
|
+
|
|
1958
|
+
P1
|
|
1959
|
+
cannot understand important information
|
|
1960
|
+
|
|
1961
|
+
P2
|
|
1962
|
+
major interaction friction
|
|
1963
|
+
|
|
1964
|
+
P3
|
|
1965
|
+
minor semantic inconsistency
|
|
1966
|
+
|
|
1967
|
+
P4
|
|
1968
|
+
cosmetic accessibility issue
|
|
1969
|
+
```
|
|
1970
|
+
|
|
1971
|
+
# 122. AGENT MUST NOT "FIX" ACCESSIBILITY BY DESTROYING DESIGN
|
|
1972
|
+
|
|
1973
|
+
Do not solve accessibility by automatically:
|
|
1974
|
+
|
|
1975
|
+
```text
|
|
1976
|
+
making everything huge
|
|
1977
|
+
removing all motion
|
|
1978
|
+
removing all transparency
|
|
1979
|
+
removing all icons
|
|
1980
|
+
removing visual hierarchy
|
|
1981
|
+
```
|
|
1982
|
+
|
|
1983
|
+
Instead create adaptive behavior.
|
|
1984
|
+
|
|
1985
|
+
# 123. ADAPTIVE ACCESSIBILITY
|
|
1986
|
+
|
|
1987
|
+
The same component can respond to settings.
|
|
1988
|
+
|
|
1989
|
+
Example:
|
|
1990
|
+
|
|
1991
|
+
```text
|
|
1992
|
+
default
|
|
1993
|
+
↓
|
|
1994
|
+
glass surface
|
|
1995
|
+
|
|
1996
|
+
reduced transparency
|
|
1997
|
+
↓
|
|
1998
|
+
opaque surface
|
|
1999
|
+
```
|
|
2000
|
+
|
|
2001
|
+
Another:
|
|
2002
|
+
|
|
2003
|
+
```text
|
|
2004
|
+
default
|
|
2005
|
+
↓
|
|
2006
|
+
compact title
|
|
2007
|
+
|
|
2008
|
+
large text
|
|
2009
|
+
↓
|
|
2010
|
+
expanded title
|
|
2011
|
+
```
|
|
2012
|
+
|
|
2013
|
+
Another:
|
|
2014
|
+
|
|
2015
|
+
```text
|
|
2016
|
+
default
|
|
2017
|
+
↓
|
|
2018
|
+
rich transition
|
|
2019
|
+
|
|
2020
|
+
reduced motion
|
|
2021
|
+
↓
|
|
2022
|
+
simplified transition
|
|
2023
|
+
```
|
|
2024
|
+
|
|
2025
|
+
# 124. ACCESSIBILITY IS ADAPTIVE DESIGN
|
|
2026
|
+
|
|
2027
|
+
The goal is:
|
|
2028
|
+
|
|
2029
|
+
```text
|
|
2030
|
+
ONE PRODUCT
|
|
2031
|
+
+
|
|
2032
|
+
MULTIPLE USER NEEDS
|
|
2033
|
+
=
|
|
2034
|
+
ADAPTIVE EXPERIENCE
|
|
2035
|
+
```
|
|
2036
|
+
|
|
2037
|
+
# 125. ACCESSIBILITY ANTI-PATTERNS
|
|
2038
|
+
|
|
2039
|
+
Reject:
|
|
2040
|
+
|
|
2041
|
+
```text
|
|
2042
|
+
tiny text
|
|
2043
|
+
tiny touch targets
|
|
2044
|
+
icon-only ambiguous controls
|
|
2045
|
+
color-only state
|
|
2046
|
+
gesture-only actions
|
|
2047
|
+
fixed-height text containers
|
|
2048
|
+
hard-coded typography
|
|
2049
|
+
text inside images
|
|
2050
|
+
unlabeled controls
|
|
2051
|
+
incorrect semantic roles
|
|
2052
|
+
decorative content exposed unnecessarily
|
|
2053
|
+
inaccessible modal flows
|
|
2054
|
+
inaccessible custom components
|
|
2055
|
+
motion without reduced-motion behavior
|
|
2056
|
+
transparency without fallback
|
|
2057
|
+
```
|
|
2058
|
+
|
|
2059
|
+
# 126. FINAL ACCESSIBILITY PRINCIPLE
|
|
2060
|
+
|
|
2061
|
+
Accessibility is successful when the user can complete the same meaningful task
|
|
2062
|
+
without needing a separate application.
|
|
2063
|
+
|
|
2064
|
+
The UI may adapt.
|
|
2065
|
+
|
|
2066
|
+
The underlying product should remain coherent.
|
|
2067
|
+
|
|
2068
|
+
# 127. FINAL AGENT RULE
|
|
2069
|
+
|
|
2070
|
+
For every interactive component, the agent must be able to answer:
|
|
2071
|
+
|
|
2072
|
+
```text
|
|
2073
|
+
What is it?
|
|
2074
|
+
What does it do?
|
|
2075
|
+
What is its current state?
|
|
2076
|
+
How does the user know?
|
|
2077
|
+
How can it be operated without vision?
|
|
2078
|
+
How can it be operated without precise touch?
|
|
2079
|
+
What happens with large text?
|
|
2080
|
+
What happens with reduced motion?
|
|
2081
|
+
What happens with increased contrast?
|
|
2082
|
+
```
|
|
2083
|
+
|
|
2084
|
+
If these questions cannot be answered, the component is not finished.
|
|
2085
|
+
|
|
2086
|
+
# 128. QUICK REFERENCE
|
|
2087
|
+
|
|
2088
|
+
```text
|
|
2089
|
+
SEMANTICS
|
|
2090
|
+
↓
|
|
2091
|
+
ROLE
|
|
2092
|
+
↓
|
|
2093
|
+
LABEL
|
|
2094
|
+
↓
|
|
2095
|
+
STATE
|
|
2096
|
+
↓
|
|
2097
|
+
VALUE
|
|
2098
|
+
↓
|
|
2099
|
+
INTERACTION
|
|
2100
|
+
↓
|
|
2101
|
+
VISUAL FEEDBACK
|
|
2102
|
+
↓
|
|
2103
|
+
ACCESSIBILITY FEEDBACK
|
|
2104
|
+
```
|
|
2105
|
+
|
|
2106
|
+
A component is complete only when all layers agree.
|
|
2107
|
+
|
|
2108
|
+
# 129. ACCESSIBILITY QUALITY BAR
|
|
2109
|
+
|
|
2110
|
+
The agent should aim for:
|
|
2111
|
+
|
|
2112
|
+
```text
|
|
2113
|
+
understandable
|
|
2114
|
+
operable
|
|
2115
|
+
adaptable
|
|
2116
|
+
resilient
|
|
2117
|
+
consistent
|
|
2118
|
+
recoverable
|
|
2119
|
+
```
|
|
2120
|
+
|
|
2121
|
+
rather than simply:
|
|
2122
|
+
|
|
2123
|
+
```text
|
|
2124
|
+
technically accessible
|
|
2125
|
+
```
|
|
2126
|
+
|
|
2127
|
+
# 130. SOURCES
|
|
2128
|
+
|
|
2129
|
+
Apple Human Interface Guidelines:
|
|
2130
|
+
|
|
2131
|
+
[https://developer.apple.com/design/human-interface-guidelines/accessibility](https://developer.apple.com/design/human-interface-guidelines/accessibility)
|
|
2132
|
+
|
|
2133
|
+
Apple Accessibility:
|
|
2134
|
+
|
|
2135
|
+
[https://developer.apple.com/accessibility/](https://developer.apple.com/accessibility/)
|
|
2136
|
+
|
|
2137
|
+
Apple Developer — Accessibility:
|
|
2138
|
+
|
|
2139
|
+
[https://developer.apple.com/documentation/accessibility](https://developer.apple.com/documentation/accessibility)
|
|
2140
|
+
|
|
2141
|
+
Apple Developer — SwiftUI Accessibility:
|
|
2142
|
+
|
|
2143
|
+
[https://developer.apple.com/documentation/swiftui/accessibility](https://developer.apple.com/documentation/swiftui/accessibility)
|
|
2144
|
+
|
|
2145
|
+
Apple Developer — Dynamic Type:
|
|
2146
|
+
|
|
2147
|
+
[https://developer.apple.com/documentation/swiftui/dynamictypetype](https://developer.apple.com/documentation/swiftui/dynamictypetype)
|
|
2148
|
+
|
|
2149
|
+
Apple Developer — Accessibility modifiers:
|
|
2150
|
+
|
|
2151
|
+
[https://developer.apple.com/documentation/swiftui/view-accessibility](https://developer.apple.com/documentation/swiftui/view-accessibility)
|
|
2152
|
+
|
|
2153
|
+
Apple Developer — VoiceOver:
|
|
2154
|
+
|
|
2155
|
+
[https://developer.apple.com/accessibility/voiceover/](https://developer.apple.com/accessibility/voiceover/)
|
|
2156
|
+
|
|
2157
|
+
Apple Developer — UIAccessibility:
|
|
2158
|
+
|
|
2159
|
+
[https://developer.apple.com/documentation/uikit/uiaccessibility](https://developer.apple.com/documentation/uikit/uiaccessibility)
|
|
2160
|
+
|
|
2161
|
+
````
|
|
2162
|
+
|