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.
Files changed (123) hide show
  1. package/AGENTS.md +47 -0
  2. package/CHANGELOG.md +25 -0
  3. package/README.md +78 -0
  4. package/bin/cli.mjs +375 -0
  5. package/knowledge/android/00-apple-to-android-adaption.md +1499 -0
  6. package/knowledge/android/accessibility.md +333 -0
  7. package/knowledge/android/components-controls.md +270 -0
  8. package/knowledge/android/material-design-3.md +174 -0
  9. package/knowledge/android/navigation-patterns.md +212 -0
  10. package/knowledge/apple/00-skill-reading-protocol.md +1296 -0
  11. package/knowledge/apple/Accessibility, Inclusive Design & Human Factors Intelligence.md +735 -0
  12. package/knowledge/apple/Advanced Interaction Patterns, Gestures, Feedback & State Transitions.md +1140 -0
  13. package/knowledge/apple/Advanced Navigation, Information Architecture & Wayfinding.md +551 -0
  14. package/knowledge/apple/Autonomus Ui-UX Improvement Loop.md +611 -0
  15. package/knowledge/apple/Color, Materials, Contrast, Themes & Visual Depth.md +1351 -0
  16. package/knowledge/apple/Content, Copy, Microinteractions & UX Communication.md +642 -0
  17. package/knowledge/apple/Data-Heavy Interfaces, Tables, Lists, Search, Filtering & Large-Scale Content.md +721 -0
  18. package/knowledge/apple/Design Systems & Component Architecture.md +412 -0
  19. package/knowledge/apple/Forms, Input, Data Entry & Validation Intelligence.md +705 -0
  20. package/knowledge/apple/Interaction, State & Edge-Case Engineering.md +491 -0
  21. package/knowledge/apple/Interaction-behaviour.md +1378 -0
  22. package/knowledge/apple/Layout Architecture, Responsive Design & Spatial Systems.md +1365 -0
  23. package/knowledge/apple/MASTER UI-UX ORCHESTRATOR.md +1210 -0
  24. package/knowledge/apple/Navigation Architecture, Routing, Deep Linking & State Restoration.md +1392 -0
  25. package/knowledge/apple/Navigation, Information Architecture & Spatial Hierarchy.md +1613 -0
  26. package/knowledge/apple/Notifications, Permissions, Privacy and Trust.md +1540 -0
  27. package/knowledge/apple/Patterns-templates-composition.md +647 -0
  28. package/knowledge/apple/Performance, Perceived Speed, Motion & Rendering Intelligence.md +855 -0
  29. package/knowledge/apple/Responsive, Adaptive & Cross-Platform UI Intelligence.md +669 -0
  30. package/knowledge/apple/Responsive, Adaptive, Accessible & Performant UI.md +545 -0
  31. package/knowledge/apple/Tablet Adaptation & Multi-Device UX.md +1447 -0
  32. package/knowledge/apple/UI Implementation & Refactoring.md +498 -0
  33. package/knowledge/apple/UI-UX Decision-Making, Prioritization & Trade-offs.md +533 -0
  34. package/knowledge/apple/UI-UX Project Lifecycle & Delivery.md +544 -0
  35. package/knowledge/apple/User Flows & Experience Architecture.md +335 -0
  36. package/knowledge/apple/Visual Design Systems, Theming, Tokens & Brand Intelligence.md +764 -0
  37. package/knowledge/apple/Visual QA, Testing & Validation.md +557 -0
  38. package/knowledge/apple/accessibility-inclusive-interaction.md +1361 -0
  39. package/knowledge/apple/accessibility.md +2162 -0
  40. package/knowledge/apple/color.md +1933 -0
  41. package/knowledge/apple/component-architecture.md +2208 -0
  42. package/knowledge/apple/components.md +2172 -0
  43. package/knowledge/apple/design-decision-framework.md +1883 -0
  44. package/knowledge/apple/design-review-engine.md +2108 -0
  45. package/knowledge/apple/design-tokens.md +1943 -0
  46. package/knowledge/apple/designing-for-ios.md +1680 -0
  47. package/knowledge/apple/gestures, touch behavior, feedback, motion, and micro-interactions.md +1538 -0
  48. package/knowledge/apple/hig-foundation.md +1806 -0
  49. package/knowledge/apple/iconography.md +1903 -0
  50. package/knowledge/apple/interaction-patterns.md +2513 -0
  51. package/knowledge/apple/interaction.md +2141 -0
  52. package/knowledge/apple/ios-alerts-confirmations-destructive-actions.md +1342 -0
  53. package/knowledge/apple/ios-components-and-controls.md +1634 -0
  54. package/knowledge/apple/ios-components-patterns.md +1343 -0
  55. package/knowledge/apple/ios-design-system-architecture.md +1520 -0
  56. package/knowledge/apple/ios-empty-error-offline-states.md +1370 -0
  57. package/knowledge/apple/ios-empty-loading-error-recovery.md +1674 -0
  58. package/knowledge/apple/ios-forms-and-input.md +1458 -0
  59. package/knowledge/apple/ios-forms-input-data-entry.md +1308 -0
  60. package/knowledge/apple/ios-gestures-and-touch.md +1272 -0
  61. package/knowledge/apple/ios-lists-collections-and-data-display.md +1735 -0
  62. package/knowledge/apple/ios-loading-progress-async-states.md +1378 -0
  63. package/knowledge/apple/ios-materials-and-surfaces.md +1543 -0
  64. package/knowledge/apple/ios-motion-animation-transitions.md +1178 -0
  65. package/knowledge/apple/ios-navigation-and-information-architecture.md +1674 -0
  66. package/knowledge/apple/ios-navigation-user-flows-design-architecture.md +1195 -0
  67. package/knowledge/apple/ios-search-and-discovery.md +1456 -0
  68. package/knowledge/apple/ios-search-filtering-discovery.md +1402 -0
  69. package/knowledge/apple/ios-sheets-modals-popovers.md +1205 -0
  70. package/knowledge/apple/ios-typography-icons-visual-hierarchy.md +1431 -0
  71. package/knowledge/apple/layout.md +2331 -0
  72. package/knowledge/apple/media-centric-content-ui-patterns.md +1470 -0
  73. package/knowledge/apple/motion, transitions, physics, and animation language.md +1535 -0
  74. package/knowledge/apple/motion-and-animation.md +1698 -0
  75. package/knowledge/apple/motion.md +2087 -0
  76. package/knowledge/apple/navigation.md +2281 -0
  77. package/knowledge/apple/responsive-adaptive.md +2159 -0
  78. package/knowledge/apple/screen-architecture.md +2067 -0
  79. package/knowledge/apple/typography, Content Hierarchy & Readability.md +1411 -0
  80. package/knowledge/apple/typography.md +1802 -0
  81. package/knowledge/apple/ui-ux inteligence audit.md +106 -0
  82. package/knowledge/apple/visual-design-and-premium-ui.md +1555 -0
  83. package/knowledge/apple/visual-hierarchy-engine.md +1647 -0
  84. package/knowledge/apple/visual-materials.md +2189 -0
  85. package/package.json +53 -0
  86. package/principles/design-principles.md +37 -0
  87. package/principles/platform-principles.md +25 -0
  88. package/principles/ux-principles.md +16 -0
  89. package/references/official-links.md +11 -0
  90. package/skills/accessibility-engineer/SKILL.md +125 -0
  91. package/skills/analytics-engineer/SKILL.md +283 -0
  92. package/skills/animation-engineer/SKILL.md +316 -0
  93. package/skills/component-designer/SKILL.md +75 -0
  94. package/skills/component-library-engineer/SKILL.md +140 -0
  95. package/skills/component-library-ops/SKILL.md +155 -0
  96. package/skills/design-system/SKILL.md +77 -0
  97. package/skills/design-token-engineer/SKILL.md +203 -0
  98. package/skills/design-token-pipeline/SKILL.md +277 -0
  99. package/skills/device-lab-engineer/SKILL.md +387 -0
  100. package/skills/forms-engineer/SKILL.md +79 -0
  101. package/skills/internationalization-engineer/SKILL.md +256 -0
  102. package/skills/motion-designer/SKILL.md +77 -0
  103. package/skills/native-data-fetching/SKILL.md +50 -0
  104. package/skills/navigation-architect/SKILL.md +65 -0
  105. package/skills/performance-engineer/SKILL.md +250 -0
  106. package/skills/platform-specialist/SKILL.md +95 -0
  107. package/skills/pre-release-gate/SKILL.md +75 -0
  108. package/skills/screen-designer/SKILL.md +117 -0
  109. package/skills/security-engineer/SKILL.md +375 -0
  110. package/skills/skills.json +134 -0
  111. package/skills/testing-auditor/SKILL.md +62 -0
  112. package/skills/ui-architect/SKILL.md +86 -0
  113. package/skills/ui-implementer/SKILL.md +188 -0
  114. package/skills/ux-architect/SKILL.md +49 -0
  115. package/skills/ux-auditor/SKILL.md +52 -0
  116. package/skills/visual-auditor/SKILL.md +71 -0
  117. package/templates/audit-report.md +29 -0
  118. package/templates/design-tokens.ts +33 -0
  119. package/templates/screen-spec.md +61 -0
  120. package/workflows/new-screen.md +17 -0
  121. package/workflows/pre-release.md +21 -0
  122. package/workflows/redesign.md +14 -0
  123. package/workflows/ui-audit.md +22 -0
@@ -0,0 +1,1543 @@
1
+
2
+
3
+ # Accessibility & Inclusive Design System
4
+
5
+ > Agent intelligence module for designing interfaces that remain usable,
6
+ > understandable, adaptable, and dignified across different abilities,
7
+ > settings, environments, and interaction methods.
8
+
9
+ Version: 1.0
10
+ Platform: iOS / iPadOS / React Native / Expo
11
+ Role: Accessibility and inclusive-design intelligence
12
+ Parent:
13
+
14
+ * design-review-engine.md
15
+ * design-decision-framework.md
16
+ * visual-hierarchy-engine.md
17
+ * motion-and-animation.md
18
+ * ios-materials-and-surfaces.md
19
+ * typography.md
20
+ * interaction-patterns.md
21
+
22
+ # 1. PURPOSE
23
+
24
+ Accessibility is not a final QA phase.
25
+
26
+ It is part of the design system.
27
+
28
+ The agent must consider:
29
+
30
+ ```text
31
+ vision
32
+ hearing
33
+ motor interaction
34
+ cognition
35
+ speech
36
+ language
37
+ environment
38
+ device configuration
39
+ ```
40
+
41
+ from the beginning.
42
+
43
+ # 2. CORE PRINCIPLE
44
+
45
+ The goal is not:
46
+
47
+ ```text
48
+ "make the interface accessible"
49
+ ```
50
+
51
+ The goal is:
52
+
53
+ ```text
54
+ "make the intended task accessible."
55
+ ```
56
+
57
+ A beautiful interface that prevents users from completing the task has failed.
58
+
59
+ # 3. ACCESSIBILITY AS A DESIGN CONSTRAINT
60
+
61
+ Every design decision should be evaluated against:
62
+
63
+ ```text
64
+ clarity
65
+ perceivability
66
+ operability
67
+ understandability
68
+ robustness
69
+ ```
70
+
71
+ .
72
+
73
+ # 4. ACCESSIBILITY PRIORITY
74
+
75
+ When visual beauty conflicts with essential usability:
76
+
77
+ ```text
78
+ usability
79
+ >
80
+ accessibility
81
+ >
82
+ visual decoration
83
+ ```
84
+
85
+ Never sacrifice essential accessibility for aesthetics.
86
+
87
+ # 5. ACCESSIBILITY LAYERS
88
+
89
+ Evaluate:
90
+
91
+ ```text
92
+ 1. visual
93
+ 2. auditory
94
+ 3. motor
95
+ 4. cognitive
96
+ 5. language
97
+ 6. interaction
98
+ 7. environmental
99
+ 8. technological
100
+ ```
101
+
102
+ .
103
+
104
+ # 6. VISUAL ACCESSIBILITY
105
+
106
+ Consider:
107
+
108
+ ```text
109
+ contrast
110
+ text size
111
+ color dependence
112
+ spacing
113
+ focus
114
+ motion
115
+ blur
116
+ transparency
117
+ visual hierarchy
118
+ ```
119
+
120
+ .
121
+
122
+ # 7. COLOR INDEPENDENCE
123
+
124
+ Never communicate essential information using color alone.
125
+
126
+ Bad:
127
+
128
+ ```text
129
+ red = error
130
+ green = success
131
+ ```
132
+
133
+ Better:
134
+
135
+ ```text
136
+ icon
137
+ +
138
+ label
139
+ +
140
+ color
141
+ ```
142
+
143
+ where appropriate.
144
+
145
+ # 8. COLORBLINDNESS
146
+
147
+ Important states should remain distinguishable without relying solely on hue.
148
+
149
+ Use:
150
+
151
+ ```text
152
+ shape
153
+ text
154
+ iconography
155
+ pattern
156
+ position
157
+ ```
158
+
159
+ as additional signals.
160
+
161
+ # 9. CONTRAST
162
+
163
+ Foreground content must remain distinguishable from its background.
164
+
165
+ Evaluate contrast for:
166
+
167
+ ```text
168
+ primary text
169
+ secondary text
170
+ icons
171
+ controls
172
+ borders
173
+ states
174
+ ```
175
+
176
+ .
177
+
178
+ # 10. SECONDARY TEXT
179
+
180
+ Secondary information should be visually subordinate.
181
+
182
+ But:
183
+
184
+ ```text
185
+ secondary ≠ unreadable
186
+ ```
187
+
188
+ Never reduce contrast merely to make a UI look minimalist.
189
+
190
+ # 11. DISABLED CONTENT
191
+
192
+ Disabled elements may have reduced emphasis.
193
+
194
+ But they should still be understandable where appropriate.
195
+
196
+ Avoid extreme opacity that makes labels unreadable.
197
+
198
+ # 12. TEXT SIZE
199
+
200
+ Text must remain usable at larger accessibility sizes.
201
+
202
+ Do not design a screen that only works at one font size.
203
+
204
+ # 13. DYNAMIC TYPE
205
+
206
+ The layout should adapt when text becomes significantly larger.
207
+
208
+ Preferred strategy:
209
+
210
+ ```text
211
+ reflow
212
+ wrap
213
+ stack
214
+ scroll
215
+ progressively disclose
216
+ ```
217
+
218
+ rather than:
219
+
220
+ ```text
221
+ shrink text
222
+ ```
223
+
224
+ .
225
+
226
+ # 14. LARGE TEXT RULE
227
+
228
+ When larger text causes layout pressure:
229
+
230
+ ```text
231
+ content hierarchy
232
+ >
233
+ fixed geometry
234
+ ```
235
+
236
+ Preserve meaning rather than forcing the original pixel layout.
237
+
238
+ # 15. TEXT WRAPPING
239
+
240
+ Never assume:
241
+
242
+ ```text
243
+ title = one line
244
+ ```
245
+
246
+ unless the product has a strong reason.
247
+
248
+ Design for:
249
+
250
+ ```text
251
+ one line
252
+ two lines
253
+ multiple lines
254
+ ```
255
+
256
+ where content is user-generated or localized.
257
+
258
+ # 16. FIXED HEIGHT WARNING
259
+
260
+ Avoid rigid component heights when text may grow.
261
+
262
+ Prefer:
263
+
264
+ ```text
265
+ minimum height
266
+ content-driven height
267
+ flexible layout
268
+ ```
269
+
270
+ .
271
+
272
+ # 17. BUTTON TEXT
273
+
274
+ Buttons should remain understandable when labels wrap or increase in size.
275
+
276
+ Do not truncate essential action labels.
277
+
278
+ # 18. ICON + TEXT
279
+
280
+ For critical actions:
281
+
282
+ ```text
283
+ icon + text
284
+ ```
285
+
286
+ can improve recognition.
287
+
288
+ Do not assume an icon is universally understood.
289
+
290
+ # 19. ICON-ONLY CONTROLS
291
+
292
+ Icon-only controls require:
293
+
294
+ ```text
295
+ accessible label
296
+ clear affordance
297
+ recognizable icon
298
+ sufficient target area
299
+ ```
300
+
301
+ .
302
+
303
+ # 20. ICON MEANING
304
+
305
+ Icons should have predictable meanings.
306
+
307
+ Avoid ambiguous decorative symbols for critical actions.
308
+
309
+ # 21. TOUCH TARGETS
310
+
311
+ Interactive controls require sufficiently large activation regions.
312
+
313
+ The visual icon does not need to equal the touch target.
314
+
315
+ Use:
316
+
317
+ ```text
318
+ small visual element
319
+ +
320
+ larger invisible hit area
321
+ ```
322
+
323
+ when appropriate.
324
+
325
+ # 22. HIT SLOP
326
+
327
+ When supported, expand interaction regions without visually enlarging the control.
328
+
329
+ This improves usability while preserving composition.
330
+
331
+ # 23. TOUCH SPACING
332
+
333
+ Adjacent controls should have enough separation to reduce accidental activation.
334
+
335
+ # 24. DENSE CONTROLS
336
+
337
+ For dense interfaces:
338
+
339
+ ```text
340
+ increase spacing
341
+ group controls
342
+ use menus
343
+ use progressive disclosure
344
+ ```
345
+
346
+ rather than shrinking touch targets excessively.
347
+
348
+ # 25. GESTURE DEPENDENCE
349
+
350
+ Never make a critical action available only through a gesture when an alternative
351
+ interaction is practical.
352
+
353
+ # 26. SWIPE-ONLY ACTIONS
354
+
355
+ If swipe performs:
356
+
357
+ ```text
358
+ delete
359
+ archive
360
+ favorite
361
+ ```
362
+
363
+ provide another discoverable method where appropriate.
364
+
365
+ # 27. LONG PRESS
366
+
367
+ Do not hide critical functionality exclusively behind long press.
368
+
369
+ Long press can be supplementary.
370
+
371
+ # 28. MULTI-FINGER GESTURES
372
+
373
+ Avoid requiring complex multi-finger gestures for essential tasks.
374
+
375
+ Provide simpler alternatives.
376
+
377
+ # 29. DRAGGING
378
+
379
+ Dragging can be difficult for some users.
380
+
381
+ Provide alternative controls when the action is important.
382
+
383
+ Example:
384
+
385
+ ```text
386
+ drag to reorder
387
+ ```
388
+
389
+ plus:
390
+
391
+ ```text
392
+ move up
393
+ move down
394
+ ```
395
+
396
+ where appropriate.
397
+
398
+ # 30. MOTOR ACCESSIBILITY
399
+
400
+ Consider:
401
+
402
+ ```text
403
+ precision requirements
404
+ reaction time
405
+ gesture complexity
406
+ target size
407
+ repeated interaction
408
+ ```
409
+
410
+ .
411
+
412
+ # 31. RAPID TAPS
413
+
414
+ Do not require extremely fast repeated taps unless the interaction genuinely
415
+ depends on them.
416
+
417
+ # 32. TIMED ACTIONS
418
+
419
+ Avoid unnecessary time limits.
420
+
421
+ If timing is required:
422
+
423
+ ```text
424
+ extend
425
+ pause
426
+ cancel
427
+ restart
428
+ ```
429
+
430
+ where feasible.
431
+
432
+ # 33. MOTION ACCESSIBILITY
433
+
434
+ Motion must respect reduced-motion preferences.
435
+
436
+ Reduce or remove:
437
+
438
+ ```text
439
+ parallax
440
+ large-scale movement
441
+ continuous animation
442
+ decorative motion
443
+ ```
444
+
445
+ when appropriate.
446
+
447
+ # 34. MOTION ALTERNATIVES
448
+
449
+ Preserve:
450
+
451
+ ```text
452
+ state change
453
+ feedback
454
+ orientation
455
+ ```
456
+
457
+ without requiring full animation.
458
+
459
+ # 35. MOTION SENSITIVITY
460
+
461
+ Avoid:
462
+
463
+ ```text
464
+ rapid zooming
465
+ large perspective shifts
466
+ constant camera movement
467
+ aggressive spinning
468
+ ```
469
+
470
+ unless absolutely necessary.
471
+
472
+ # 36. FLASHING
473
+
474
+ Avoid rapid flashing effects.
475
+
476
+ Do not use flashing as a decorative attention mechanism.
477
+
478
+ # 37. COGNITIVE ACCESSIBILITY
479
+
480
+ Interfaces should reduce unnecessary mental effort.
481
+
482
+ Prefer:
483
+
484
+ ```text
485
+ clear labels
486
+ predictable placement
487
+ consistent behavior
488
+ progressive disclosure
489
+ recognizable patterns
490
+ ```
491
+
492
+ .
493
+
494
+ # 38. COGNITIVE LOAD
495
+
496
+ Avoid requiring users to remember:
497
+
498
+ ```text
499
+ hidden commands
500
+ previous states
501
+ complex sequences
502
+ ```
503
+
504
+ when the interface can expose the information.
505
+
506
+ # 39. RECOGNITION OVER RECALL
507
+
508
+ Prefer:
509
+
510
+ ```text
511
+ visible options
512
+ ```
513
+
514
+ over:
515
+
516
+ ```text
517
+ remembered commands
518
+ ```
519
+
520
+ where practical.
521
+
522
+ # 40. CONSISTENCY
523
+
524
+ Similar actions should behave similarly.
525
+
526
+ Users should not need to relearn the interface on every screen.
527
+
528
+ # 41. LANGUAGE
529
+
530
+ Use clear, concrete language.
531
+
532
+ Avoid unnecessary:
533
+
534
+ ```text
535
+ jargon
536
+ technical terminology
537
+ ambiguous labels
538
+ ```
539
+
540
+ unless the target audience requires it.
541
+
542
+ # 42. LABEL ACTIONS
543
+
544
+ Prefer action-oriented labels.
545
+
546
+ Examples:
547
+
548
+ ```text
549
+ Save
550
+ Delete
551
+ Share
552
+ Rename
553
+ Move
554
+ Download
555
+ ```
556
+
557
+ rather than vague:
558
+
559
+ ```text
560
+ Continue
561
+ Proceed
562
+ Done
563
+ ```
564
+
565
+ when the specific action is known.
566
+
567
+ # 43. ERROR MESSAGES
568
+
569
+ An error should communicate:
570
+
571
+ ```text
572
+ what happened
573
+ why it happened when useful
574
+ what the user can do
575
+ ```
576
+
577
+ .
578
+
579
+ # 44. ERROR RECOVERY
580
+
581
+ Good error handling provides a path forward.
582
+
583
+ Prefer:
584
+
585
+ ```text
586
+ problem
587
+ →
588
+ explanation
589
+ →
590
+ recovery action
591
+ ```
592
+
593
+ .
594
+
595
+ # 45. ERROR LANGUAGE
596
+
597
+ Avoid blaming the user.
598
+
599
+ Bad conceptual pattern:
600
+
601
+ ```text
602
+ "You entered invalid data."
603
+ ```
604
+
605
+ Prefer:
606
+
607
+ ```text
608
+ "That value isn't supported. Try..."
609
+ ```
610
+
611
+ when appropriate.
612
+
613
+ # 46. EMPTY STATES
614
+
615
+ Empty states should answer:
616
+
617
+ ```text
618
+ What is empty?
619
+ Why is it empty?
620
+ What can I do?
621
+ ```
622
+
623
+ .
624
+
625
+ # 47. LOADING STATES
626
+
627
+ Users should understand whether:
628
+
629
+ ```text
630
+ content is loading
631
+ action is processing
632
+ something failed
633
+ ```
634
+
635
+ .
636
+
637
+ # 48. STATUS COMMUNICATION
638
+
639
+ Important state changes should not depend exclusively on animation.
640
+
641
+ Use:
642
+
643
+ ```text
644
+ text
645
+ icon
646
+ accessible announcement
647
+ visual state
648
+ ```
649
+
650
+ as appropriate.
651
+
652
+ # 49. SCREEN READER DESIGN
653
+
654
+ Screen reader users need semantic structure.
655
+
656
+ Elements should expose:
657
+
658
+ ```text
659
+ role
660
+ name
661
+ state
662
+ value
663
+ hint
664
+ relationship
665
+ ```
666
+
667
+ where relevant.
668
+
669
+ # 50. ACCESSIBLE LABEL
670
+
671
+ Every meaningful interactive control should have an understandable accessible
672
+ name.
673
+
674
+ # 51. DECORATIVE ELEMENTS
675
+
676
+ Purely decorative elements should not pollute the accessibility tree.
677
+
678
+ Examples:
679
+
680
+ ```text
681
+ decorative background
682
+ visual separator
683
+ pure decoration
684
+ ```
685
+
686
+ should generally be ignored by assistive technologies when appropriate.
687
+
688
+ # 52. ACCESSIBILITY TREE
689
+
690
+ Think of the interface as two structures:
691
+
692
+ ```text
693
+ VISUAL TREE
694
+ +
695
+ SEMANTIC TREE
696
+ ```
697
+
698
+ They do not have to be identical.
699
+
700
+ # 53. SEMANTIC GROUPING
701
+
702
+ Visually grouped information may also need semantic grouping.
703
+
704
+ Example:
705
+
706
+ ```text
707
+ Song title
708
+ Artist
709
+ Album
710
+ ```
711
+
712
+ may represent one logical item.
713
+
714
+ # 54. READING ORDER
715
+
716
+ The accessibility reading order should follow a logical sequence.
717
+
718
+ Do not allow visual positioning to accidentally create confusing reading order.
719
+
720
+ # 55. VISUAL ORDER VS SEMANTIC ORDER
721
+
722
+ If:
723
+
724
+ ```text
725
+ visual position ≠ logical reading order
726
+ ```
727
+
728
+ the agent must explicitly define the semantic order.
729
+
730
+ # 56. INTERACTIVE ELEMENT MERGING
731
+
732
+ Related information can sometimes be exposed as one accessible element when that
733
+ better matches the user's mental model.
734
+
735
+ Avoid unnecessarily fragmented accessibility trees.
736
+
737
+ # 57. OVER-GROUPING
738
+
739
+ Do not combine unrelated actions into a single accessible element.
740
+
741
+ Semantic grouping should preserve interaction clarity.
742
+
743
+ # 58. ACCESSIBLE STATES
744
+
745
+ Controls should communicate states such as:
746
+
747
+ ```text
748
+ selected
749
+ disabled
750
+ expanded
751
+ collapsed
752
+ checked
753
+ unchecked
754
+ loading
755
+ ```
756
+
757
+ .
758
+
759
+ # 59. TOGGLE STATE
760
+
761
+ A toggle should expose:
762
+
763
+ ```text
764
+ label
765
+ current value
766
+ ```
767
+
768
+ not merely:
769
+
770
+ ```text
771
+ "button"
772
+ ```
773
+
774
+ .
775
+
776
+ # 60. EXPANDABLE CONTENT
777
+
778
+ Expandable components should expose:
779
+
780
+ ```text
781
+ label
782
+ expanded/collapsed state
783
+ ```
784
+
785
+ .
786
+
787
+ # 61. PROGRESS
788
+
789
+ Progress indicators should communicate progress semantically when possible.
790
+
791
+ Example:
792
+
793
+ ```text
794
+ 35 percent complete
795
+ ```
796
+
797
+ .
798
+
799
+ # 62. LIVE UPDATES
800
+
801
+ Dynamic content may require accessibility announcements.
802
+
803
+ Use announcements for meaningful changes, not every tiny update.
804
+
805
+ # 63. ANNOUNCEMENT RESTRAINT
806
+
807
+ Do not announce:
808
+
809
+ ```text
810
+ every animation
811
+ every scroll
812
+ every visual change
813
+ ```
814
+
815
+ This creates accessibility noise.
816
+
817
+ # 64. FOCUS
818
+
819
+ Interactive elements need visible and predictable focus behavior where focus
820
+ navigation applies.
821
+
822
+ # 65. FOCUS INDICATOR
823
+
824
+ Never remove focus indication without providing an equivalent.
825
+
826
+ Focus should be:
827
+
828
+ ```text
829
+ visible
830
+ clear
831
+ stable
832
+ ```
833
+
834
+ .
835
+
836
+ # 66. KEYBOARD ACCESS
837
+
838
+ Where keyboard interaction exists:
839
+
840
+ ```text
841
+ all important actions
842
+ ```
843
+
844
+ should be reachable through logical keyboard navigation.
845
+
846
+ # 67. FOCUS ORDER
847
+
848
+ Focus order should follow task logic.
849
+
850
+ Avoid:
851
+
852
+ ```text
853
+ random DOM/component order
854
+ ```
855
+
856
+ that forces users to jump around the interface.
857
+
858
+ # 68. POINTER ACCESS
859
+
860
+ Pointer interaction should not require unnecessary precision.
861
+
862
+ Important controls should remain easy to target.
863
+
864
+ # 69. HOVER
865
+
866
+ Hover can provide supplemental information.
867
+
868
+ Do not make critical information available only through hover.
869
+
870
+ # 70. CONTEXT MENUS
871
+
872
+ Context menus should not be the only route to critical functionality.
873
+
874
+ # 71. SOUND
875
+
876
+ Sound should supplement rather than replace visual communication.
877
+
878
+ Important events should have a visual or semantic equivalent.
879
+
880
+ # 72. HEARING ACCESSIBILITY
881
+
882
+ For audio-dependent experiences, consider:
883
+
884
+ ```text
885
+ captions
886
+ transcripts
887
+ visual indicators
888
+ accessible controls
889
+ ```
890
+
891
+ where applicable.
892
+
893
+ # 73. VIDEO
894
+
895
+ Video content should support appropriate:
896
+
897
+ ```text
898
+ captions
899
+ controls
900
+ transcripts
901
+ ```
902
+
903
+ depending on product requirements.
904
+
905
+ # 74. AUDIO PLAYERS
906
+
907
+ Audio players should expose:
908
+
909
+ ```text
910
+ play/pause
911
+ track
912
+ progress
913
+ volume
914
+ state
915
+ ```
916
+
917
+ in understandable ways.
918
+
919
+ # 75. HAPTICS
920
+
921
+ Haptic feedback should supplement other feedback.
922
+
923
+ Never make haptics the only indication of a critical event.
924
+
925
+ # 76. ENVIRONMENTAL ACCESSIBILITY
926
+
927
+ Design for:
928
+
929
+ ```text
930
+ bright sunlight
931
+ dark environments
932
+ noise
933
+ one-handed use
934
+ low connectivity
935
+ slow devices
936
+ ```
937
+
938
+ where relevant.
939
+
940
+ # 77. BRIGHT SUNLIGHT
941
+
942
+ Interfaces should remain usable under increased ambient light.
943
+
944
+ Avoid relying entirely on subtle transparency and low contrast.
945
+
946
+ # 78. DARK ENVIRONMENTS
947
+
948
+ Avoid unnecessarily bright large surfaces in contexts where low-light viewing
949
+ matters.
950
+
951
+ # 79. ONE-HANDED USE
952
+
953
+ Important controls should be reachable within practical thumb ranges when the
954
+ task is designed for one-handed use.
955
+
956
+ # 80. REACHABILITY
957
+
958
+ Consider:
959
+
960
+ ```text
961
+ top controls
962
+ bottom controls
963
+ floating controls
964
+ gesture regions
965
+ ```
966
+
967
+ and whether important actions require awkward reach.
968
+
969
+ # 81. HAND ALTERNATION
970
+
971
+ Do not assume every user operates the device with the same hand.
972
+
973
+ Avoid asymmetric interaction requirements when unnecessary.
974
+
975
+ # 82. LOCALIZATION
976
+
977
+ Text may expand dramatically in translation.
978
+
979
+ Design for:
980
+
981
+ ```text
982
+ short text
983
+ long text
984
+ different word lengths
985
+ different scripts
986
+ ```
987
+
988
+ .
989
+
990
+ # 83. RTL
991
+
992
+ Where applicable, support right-to-left layouts.
993
+
994
+ Do not manually hard-code directional assumptions into every component.
995
+
996
+ # 84. DIRECTIONAL ICONS
997
+
998
+ Icons representing:
999
+
1000
+ ```text
1001
+ left
1002
+ right
1003
+ back
1004
+ forward
1005
+ ```
1006
+
1007
+ may need directional adaptation.
1008
+
1009
+ # 85. DATE / TIME
1010
+
1011
+ Never assume one universal date or time format.
1012
+
1013
+ Use locale-aware formatting.
1014
+
1015
+ # 86. NUMBERS
1016
+
1017
+ Numeric content may require:
1018
+
1019
+ ```text
1020
+ locale formatting
1021
+ decimal differences
1022
+ grouping differences
1023
+ ```
1024
+
1025
+ .
1026
+
1027
+ # 87. CURRENCY
1028
+
1029
+ Currency display should not rely on hard-coded formatting.
1030
+
1031
+ Consider:
1032
+
1033
+ ```text
1034
+ currency symbol
1035
+ currency position
1036
+ decimal rules
1037
+ locale
1038
+ ```
1039
+
1040
+ .
1041
+
1042
+ # 88. TEXT EXPANSION TEST
1043
+
1044
+ Simulate:
1045
+
1046
+ ```text
1047
+ 1.5× text
1048
+ 2× text
1049
+ ```
1050
+
1051
+ or other accessibility sizes supported by the platform.
1052
+
1053
+ Check:
1054
+
1055
+ ```text
1056
+ overflow
1057
+ clipping
1058
+ overlap
1059
+ truncation
1060
+ ```
1061
+
1062
+ .
1063
+
1064
+ # 89. CONTENT STRESS TEST
1065
+
1066
+ Use intentionally difficult content:
1067
+
1068
+ ```text
1069
+ very long title
1070
+ very long username
1071
+ very long button label
1072
+ multiple lines
1073
+ empty string
1074
+ localized string
1075
+ ```
1076
+
1077
+ A robust interface survives content variation.
1078
+
1079
+ # 90. ACCESSIBILITY AND DESIGN TOKENS
1080
+
1081
+ Tokens should support accessibility.
1082
+
1083
+ Avoid tokens that force:
1084
+
1085
+ ```text
1086
+ fixed heights
1087
+ fixed text sizes
1088
+ unbreakable layouts
1089
+ ```
1090
+
1091
+ .
1092
+
1093
+ # 91. RESPONSIVE COMPONENTS
1094
+
1095
+ Components should be able to adapt:
1096
+
1097
+ ```text
1098
+ height
1099
+ width
1100
+ spacing
1101
+ layout direction
1102
+ text wrapping
1103
+ ```
1104
+
1105
+ without breaking.
1106
+
1107
+ # 92. ACCESSIBILITY AND COMPONENT ARCHITECTURE
1108
+
1109
+ Accessibility should exist at the component level.
1110
+
1111
+ For example:
1112
+
1113
+ ```text
1114
+ Button
1115
+ Input
1116
+ ListItem
1117
+ Switch
1118
+ Slider
1119
+ Modal
1120
+ Tab
1121
+ Navigation
1122
+ ```
1123
+
1124
+ should have defined accessibility behavior.
1125
+
1126
+ # 93. ACCESSIBILITY DEFAULTS
1127
+
1128
+ Prefer accessible defaults.
1129
+
1130
+ Developers should not need to manually repair every instance.
1131
+
1132
+ # 94. COMPONENT ACCESSIBILITY CONTRACT
1133
+
1134
+ Each component should define:
1135
+
1136
+ ```text
1137
+ role
1138
+ label
1139
+ state
1140
+ value
1141
+ actions
1142
+ focus behavior
1143
+ disabled behavior
1144
+ screen-reader behavior
1145
+ ```
1146
+
1147
+ where applicable.
1148
+
1149
+ # 95. ACCESSIBILITY REVIEW
1150
+
1151
+ Review every screen for:
1152
+
1153
+ ```text
1154
+ visual
1155
+ motor
1156
+ cognitive
1157
+ auditory
1158
+ semantic
1159
+ localization
1160
+ ```
1161
+
1162
+ .
1163
+
1164
+ # 96. ACCESSIBILITY SCORE
1165
+
1166
+ Suggested evaluation:
1167
+
1168
+ ```text
1169
+ Visual accessibility 20
1170
+ Motor accessibility 15
1171
+ Semantic accessibility 20
1172
+ Cognitive accessibility 15
1173
+ Dynamic text 10
1174
+ Motion accessibility 10
1175
+ Localization 5
1176
+ Feedback alternatives 5
1177
+ ────────────────────────────
1178
+ Total 100
1179
+ ```
1180
+
1181
+ Interpretation:
1182
+
1183
+ ```text
1184
+ 95–100 Exceptional
1185
+ 90–94 Excellent
1186
+ 80–89 Strong
1187
+ 70–79 Needs refinement
1188
+ 60–69 Weak
1189
+ <60 Rework required
1190
+ ```
1191
+
1192
+ # 97. ACCESSIBILITY REVIEW OUTPUT
1193
+
1194
+ ```text
1195
+ ACCESSIBILITY REVIEW
1196
+ ────────────────────────
1197
+
1198
+ Visual:
1199
+ ...
1200
+
1201
+ Text scaling:
1202
+ ...
1203
+
1204
+ Touch:
1205
+ ...
1206
+
1207
+ Gestures:
1208
+ ...
1209
+
1210
+ Screen reader:
1211
+ ...
1212
+
1213
+ Focus:
1214
+ ...
1215
+
1216
+ Motion:
1217
+ ...
1218
+
1219
+ Color:
1220
+ ...
1221
+
1222
+ Localization:
1223
+ ...
1224
+
1225
+ Cognitive load:
1226
+ ...
1227
+
1228
+ Critical issues:
1229
+ 1. ...
1230
+ 2. ...
1231
+
1232
+ Recommended fixes:
1233
+ 1. ...
1234
+ 2. ...
1235
+ ```
1236
+
1237
+ # 98. ACCESSIBILITY TEST MATRIX
1238
+
1239
+ Evaluate:
1240
+
1241
+ ```text
1242
+ Default text
1243
+ Large text
1244
+ Maximum practical text
1245
+ Dark mode
1246
+ Light mode
1247
+ Reduced motion
1248
+ Screen reader
1249
+ Keyboard
1250
+ Pointer
1251
+ Landscape
1252
+ Portrait
1253
+ Long content
1254
+ Localized content
1255
+ ```
1256
+
1257
+ where applicable.
1258
+
1259
+ # 99. FAILURE SEVERITY
1260
+
1261
+ Classify issues:
1262
+
1263
+ ```text
1264
+ P0
1265
+ Prevents task completion
1266
+
1267
+ P1
1268
+ Major usability barrier
1269
+
1270
+ P2
1271
+ Significant inconvenience
1272
+
1273
+ P3
1274
+ Minor accessibility issue
1275
+
1276
+ P4
1277
+ Polish improvement
1278
+ ```
1279
+
1280
+ # 100. ACCESSIBILITY-FIRST FIX ORDER
1281
+
1282
+ When accessibility problems exist:
1283
+
1284
+ ```text
1285
+ 1. task blockers
1286
+ 2. semantic problems
1287
+ 3. interaction problems
1288
+ 4. text/layout problems
1289
+ 5. contrast
1290
+ 6. motion
1291
+ 7. polish
1292
+ ```
1293
+
1294
+ .
1295
+
1296
+ # 101. ACCESSIBILITY AND PREMIUM DESIGN
1297
+
1298
+ Accessibility does not require ugly UI.
1299
+
1300
+ Good accessibility often improves:
1301
+
1302
+ ```text
1303
+ clarity
1304
+ spacing
1305
+ hierarchy
1306
+ interaction
1307
+ language
1308
+ ```
1309
+
1310
+ for everyone.
1311
+
1312
+ # 102. UNIVERSAL DESIGN
1313
+
1314
+ The best solution often benefits multiple groups simultaneously.
1315
+
1316
+ Example:
1317
+
1318
+ ```text
1319
+ larger touch target
1320
+ →
1321
+ motor accessibility
1322
+ +
1323
+ better mobile usability
1324
+ ```
1325
+
1326
+ .
1327
+
1328
+ # 103. PROGRESSIVE DISCLOSURE
1329
+
1330
+ Complexity should be revealed when needed.
1331
+
1332
+ This benefits:
1333
+
1334
+ ```text
1335
+ cognitive accessibility
1336
+ +
1337
+ visual hierarchy
1338
+ +
1339
+ general usability
1340
+ ```
1341
+
1342
+ .
1343
+
1344
+ # 104. ACCESSIBILITY AND MINIMALISM
1345
+
1346
+ Minimalism should remove unnecessary complexity.
1347
+
1348
+ It should never remove necessary information.
1349
+
1350
+ # 105. ACCESSIBILITY ANTI-PATTERNS
1351
+
1352
+ Avoid:
1353
+
1354
+ ```text
1355
+ tiny text
1356
+ low contrast
1357
+ icon-only ambiguous controls
1358
+ gesture-only critical actions
1359
+ fixed-height text containers
1360
+ hidden labels
1361
+ invisible focus
1362
+ color-only states
1363
+ excessive motion
1364
+ unlabeled controls
1365
+ ```
1366
+
1367
+ .
1368
+
1369
+ # 106. ACCESSIBILITY + MATERIALS
1370
+
1371
+ Translucency, blur, and low-opacity elements require additional contrast testing.
1372
+
1373
+ If material harms readability:
1374
+
1375
+ ```text
1376
+ simplify material
1377
+ ```
1378
+
1379
+ .
1380
+
1381
+ # 107. ACCESSIBILITY + MOTION
1382
+
1383
+ Motion should never prevent the user from understanding or completing the task.
1384
+
1385
+ # 108. ACCESSIBILITY + VISUAL HIERARCHY
1386
+
1387
+ The primary action must remain recognizable at:
1388
+
1389
+ ```text
1390
+ larger text
1391
+ reduced contrast environments
1392
+ screen-reader navigation
1393
+ ```
1394
+
1395
+ where applicable.
1396
+
1397
+ # 109. ACCESSIBILITY + INFORMATION ARCHITECTURE
1398
+
1399
+ If navigation is confusing visually, it is likely also difficult semantically.
1400
+
1401
+ Information architecture should support both.
1402
+
1403
+ # 110. ACCESSIBILITY DECISION ALGORITHM
1404
+
1405
+ ```text
1406
+ INPUT
1407
+ ↓
1408
+ Identify user task
1409
+ ↓
1410
+ Identify interaction method
1411
+ ↓
1412
+ Identify critical information
1413
+ ↓
1414
+ Identify potential barriers
1415
+ ↓
1416
+ Design default experience
1417
+ ↓
1418
+ Test larger text
1419
+ ↓
1420
+ Test semantic structure
1421
+ ↓
1422
+ Test touch / keyboard / pointer
1423
+ ↓
1424
+ Test reduced motion
1425
+ ↓
1426
+ Test contrast
1427
+ ↓
1428
+ Test localization
1429
+ ↓
1430
+ Provide alternative interaction paths
1431
+ ↓
1432
+ Review
1433
+ ↓
1434
+ IMPLEMENT
1435
+ ```
1436
+
1437
+ # 111. ACCESSIBILITY DECISION TREE
1438
+
1439
+ ```text
1440
+ Is this information/action important?
1441
+ │
1442
+ NO
1443
+ ↓
1444
+ Standard treatment
1445
+
1446
+ YES
1447
+ ↓
1448
+ Can users perceive it?
1449
+ │
1450
+ NO
1451
+ ↓
1452
+ Add alternative signal
1453
+
1454
+ YES
1455
+ ↓
1456
+ Can users operate it?
1457
+ │
1458
+ NO
1459
+ ↓
1460
+ Provide simpler interaction
1461
+
1462
+ YES
1463
+ ↓
1464
+ Can users understand it?
1465
+ │
1466
+ NO
1467
+ ↓
1468
+ Improve labeling / structure
1469
+
1470
+ YES
1471
+ ↓
1472
+ Can assistive technology access it?
1473
+ │
1474
+ NO
1475
+ ↓
1476
+ Fix semantic representation
1477
+
1478
+ YES
1479
+ ↓
1480
+ PASS
1481
+ ```
1482
+
1483
+ # 112. FINAL PRINCIPLE
1484
+
1485
+ Accessibility is not a separate version of the interface.
1486
+
1487
+ It is a quality dimension of the same interface.
1488
+
1489
+ # 113. FINAL AGENT DIRECTIVE
1490
+
1491
+ When designing any component, ask:
1492
+
1493
+ ```text
1494
+ Can I see it?
1495
+
1496
+ Can I read it?
1497
+
1498
+ Can I understand it?
1499
+
1500
+ Can I reach it?
1501
+
1502
+ Can I operate it?
1503
+
1504
+ Can I use it without precise gestures?
1505
+
1506
+ Can assistive technology understand it?
1507
+
1508
+ Can it survive larger text?
1509
+
1510
+ Can it survive localization?
1511
+
1512
+ Can it work with reduced motion?
1513
+
1514
+ Can I complete the task another way?
1515
+ ```
1516
+
1517
+ If the answer to a critical question is no:
1518
+
1519
+ ```text
1520
+ fix the design before polishing it.
1521
+ ```
1522
+
1523
+ ### Stack update
1524
+
1525
+ We now have:
1526
+
1527
+ ```text
1528
+ 01 Foundation
1529
+ 02 Layout
1530
+ 03 Typography
1531
+ 04 Color
1532
+ 05 Spacing
1533
+ 06 Components
1534
+ 07 Design Tokens
1535
+ 08 Screen Architecture
1536
+ 09 Interaction Patterns
1537
+ 10 Design Decision Framework
1538
+ 11 Visual Hierarchy
1539
+ 12 Motion & Animation
1540
+ 13 Materials & Surfaces
1541
+ 14 Accessibility & Inclusive Design ← NEW
1542
+ ```
1543
+