diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Adaption/Advanced/AccessibleAppearance/ColorsAndShapes.tutorial b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Adaption/Advanced/AccessibleAppearance/ColorsAndShapes.tutorial index 4255965..9efed0a 100644 --- a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Adaption/Advanced/AccessibleAppearance/ColorsAndShapes.tutorial +++ b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Adaption/Advanced/AccessibleAppearance/ColorsAndShapes.tutorial @@ -16,7 +16,7 @@ > Note: Accessibility Inspector has a built-in instrument - @Section(title: "<#text#>") { + @Section(title: "Accessible Appearance of Controls") { @ContentAndMedia { <#text#> } @@ -27,4 +27,152 @@ } } } + + @Section(title: "Dark Mode Support") { + @ContentAndMedia { + <#text#> + } + + @Steps { + @Step { + <#Work in progress#> + } + } + } + + @Section(title: "Color Blindness") { + @ContentAndMedia { + <#text#> + } + + @Steps { + @Step { + <#Work in progress#> + } + } + } + + @Section(title: "Sufficient Contrast") { + @ContentAndMedia { + <#text#> + } + + @Steps { + @Step { + <#Work in progress#> + } + } + } + + @Section(title: "Dynamic Type") { + @ContentAndMedia { + <#text#> + } + + @Steps { + @Step { + <#Work in progress#> + } + } + } + + @Section(title: "What now") { + @ContentAndMedia { + Congratulations! + + What about a little `quiz` to revise the topic? 🔎 + + @Image(source: placeholder-image, alt: "") + } + + @Steps { + @Step { + Text. + @Image(source: placeholder-image, alt: "") + } + } + } + @Assessments { + @MultipleChoice { + Question? + + @Choice(isCorrect: false) { + Yes + @Justification(reaction: "Try again!") { + text + } + } + + @Choice(isCorrect: true) { + No + @Justification(reaction: "That's right!") { + text + } + } + + @Choice(isCorrect: false) { + Maybe + @Justification(reaction: "Try again!") { + text + } + } + } + + @MultipleChoice { + Question? + + @Choice(isCorrect: false) { + Yes + @Justification(reaction: "Try again!") { + text + } + } + + @Choice(isCorrect: true) { + No + @Justification(reaction: "That's right!") { + text + } + } + + @Choice(isCorrect: false) { + Maybe + @Justification(reaction: "Try again!") { + text + } + } + } + + @MultipleChoice { + Question? + + @Choice(isCorrect: false) { + Yes + @Justification(reaction: "Try again!") { + text + } + } + + @Choice(isCorrect: false) { + No + @Justification(reaction: "Try again!") { + text + } + } + + @Choice(isCorrect: true) { + All + @Justification(reaction: "That's right!") { + text + } + } + + @Choice(isCorrect: false) { + None + @Justification(reaction: "Try again!") { + text + } + } + } + } } diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Adaption/Advanced/AccessibleAppearance/ControlledMotion.tutorial b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Adaption/Advanced/AccessibleAppearance/ControlledMotion.tutorial new file mode 100644 index 0000000..ff02153 --- /dev/null +++ b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Adaption/Advanced/AccessibleAppearance/ControlledMotion.tutorial @@ -0,0 +1,87 @@ +@Tutorial(time: 15) { + @Intro(title: "<#text#>") { + <#text#> + + @Image(source: <#file#>, alt: "<#accessible description#>") + } + + @Section(title: "What Is Considered Motion in an Interface") { + @ContentAndMedia { + <#text#> + + @Image(source: <#file#>, alt: "<#accessible description#>") + } + + @Steps { + @Step { + <#text#> + + @Image(source: <#file#>, alt: "<#accessible description#>") + } + } + } + + @Section(title: "How Motion Sickness Functions") { + @ContentAndMedia { + <#text#> + + @Image(source: <#file#>, alt: "<#accessible description#>") + } + + @Steps { + @Step { + <#text#> + + @Image(source: <#file#>, alt: "<#accessible description#>") + } + } + } + + @Section(title: "Limit Amount of Moving Pictures") { + @ContentAndMedia { + <#text#> + + @Image(source: <#file#>, alt: "<#accessible description#>") + } + + @Steps { + @Step { + <#text#> + + @Image(source: <#file#>, alt: "<#accessible description#>") + } + } + } + + @Section(title: "Cross-fade Transition") { + @ContentAndMedia { + <#text#> + + @Image(source: <#file#>, alt: "<#accessible description#>") + } + + @Steps { + @Step { + <#text#> + + @Image(source: <#file#>, alt: "<#accessible description#>") + } + } + } + + @Section(title: "Gaming Without Motion Sickness") { + @ContentAndMedia { + <#text#> + + @Image(source: <#file#>, alt: "<#accessible description#>") + } + + @Steps { + @Step { + <#text#> + + @Image(source: <#file#>, alt: "<#accessible description#>") + } + } + } +} diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Adaption/Advanced/AccessibleAppearance/DynamicType.tutorial b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Adaption/Advanced/AccessibleAppearance/DynamicType.tutorial index 14ad1c0..8c06707 100644 --- a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Adaption/Advanced/AccessibleAppearance/DynamicType.tutorial +++ b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Adaption/Advanced/AccessibleAppearance/DynamicType.tutorial @@ -9,7 +9,7 @@ } - @Section(title: "<#text#>") { + @Section(title: "Tracking Dynamic Type") { @ContentAndMedia { <#text#> } @@ -20,4 +20,176 @@ } } } + + @Section(title: "Elastic Interface") { + @ContentAndMedia { + <#text#> + } + + @Steps { + @Step { + <#Work in progress#> + } + } + } + + @Section(title: "Large Text") { + @ContentAndMedia { + <#text#> + } + + @Steps { + @Step { + <#Work in progress#> + } + } + } + + @Section(title: "Bold Text") { + @ContentAndMedia { + <#text#> + } + + @Steps { + @Step { + <#Work in progress#> + } + } + } + + @Section(title: "Outlines, Icons and Other Symbols") { + @ContentAndMedia { + <#text#> + } + + @Steps { + @Step { + <#Work in progress#> + } + } + } + + @Section(title: "Enlarged Images") { + @ContentAndMedia { + <#text#> + } + + @Steps { + @Step { + <#Work in progress#> + } + } + } + + @Section(title: "Fitting Larger Content Into a Screen") { + @ContentAndMedia { + <#text#> + } + + @Steps { + @Step { + <#Work in progress#> + } + } + } + + @Section(title: "What now") { + @ContentAndMedia { + Congratulations! + + What about a little `quiz` to revise the topic? 🔎 + + @Image(source: placeholder-image, alt: "") + } + + @Steps { + @Step { + Text. + @Image(source: placeholder-image, alt: "") + } + } + } + @Assessments { + @MultipleChoice { + Question? + + @Choice(isCorrect: false) { + Yes + @Justification(reaction: "Try again!") { + text + } + } + + @Choice(isCorrect: true) { + No + @Justification(reaction: "That's right!") { + text + } + } + + @Choice(isCorrect: false) { + Maybe + @Justification(reaction: "Try again!") { + text + } + } + } + + @MultipleChoice { + Question? + + @Choice(isCorrect: false) { + Yes + @Justification(reaction: "Try again!") { + text + } + } + + @Choice(isCorrect: true) { + No + @Justification(reaction: "That's right!") { + text + } + } + + @Choice(isCorrect: false) { + Maybe + @Justification(reaction: "Try again!") { + text + } + } + } + + @MultipleChoice { + Question? + + @Choice(isCorrect: false) { + Yes + @Justification(reaction: "Try again!") { + text + } + } + + @Choice(isCorrect: false) { + No + @Justification(reaction: "Try again!") { + text + } + } + + @Choice(isCorrect: true) { + All + @Justification(reaction: "That's right!") { + text + } + } + + @Choice(isCorrect: false) { + None + @Justification(reaction: "Try again!") { + text + } + } + } + } } diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/accessible-penguins.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/accessible-penguins.PNG new file mode 100644 index 0000000..26f3117 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/accessible-penguins.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/accessible-penguins~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/accessible-penguins~dark.PNG new file mode 100644 index 0000000..bf475c5 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/accessible-penguins~dark.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/bold-fonts.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/bold-fonts.PNG new file mode 100644 index 0000000..94788e1 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/bold-fonts.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/bold-fonts~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/bold-fonts~dark.PNG new file mode 100644 index 0000000..4976be8 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/bold-fonts~dark.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/causes-page-turn.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/causes-page-turn.PNG new file mode 100644 index 0000000..becaca5 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/causes-page-turn.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/causes-page-turn~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/causes-page-turn~dark.PNG new file mode 100644 index 0000000..bc1fd69 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/causes-page-turn~dark.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/dt-hig.png b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/dt-hig.png new file mode 100644 index 0000000..6edd728 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/dt-hig.png differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/dt-hig~dark.png b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/dt-hig~dark.png new file mode 100644 index 0000000..f329c59 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/dt-hig~dark.png differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/increased-contrast.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/increased-contrast.PNG new file mode 100644 index 0000000..ac5f738 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/increased-contrast.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/increased-contrast~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/increased-contrast~dark.PNG new file mode 100644 index 0000000..2339f88 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/increased-contrast~dark.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/inverted-colors.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/inverted-colors.PNG new file mode 100644 index 0000000..51698c9 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/inverted-colors.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/large-penguins.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/large-penguins.PNG new file mode 100644 index 0000000..afc4371 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/large-penguins.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/large-penguins~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/large-penguins~dark.PNG new file mode 100644 index 0000000..9ef1b8b Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/large-penguins~dark.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/multiple-visual-settings.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/multiple-visual-settings.PNG new file mode 100644 index 0000000..faeb3ab Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/multiple-visual-settings.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/multiple-visual-settings~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/multiple-visual-settings~dark.PNG new file mode 100644 index 0000000..d538b09 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/multiple-visual-settings~dark.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/no-visual-settings.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/no-visual-settings.PNG new file mode 100644 index 0000000..7ede19c Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/no-visual-settings.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/no-visual-settings~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/no-visual-settings~dark.PNG new file mode 100644 index 0000000..df8ebc1 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/no-visual-settings~dark.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/normal-contrast.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/normal-contrast.PNG new file mode 100644 index 0000000..feeab1c Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/normal-contrast.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/normal-contrast~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/normal-contrast~dark.PNG new file mode 100644 index 0000000..fd89274 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/normal-contrast~dark.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/original-colors.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/original-colors.PNG new file mode 100644 index 0000000..bff5415 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/original-colors.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/regular-fonts.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/regular-fonts.PNG new file mode 100644 index 0000000..4f4a270 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/regular-fonts.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/regular-fonts~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/regular-fonts~dark.PNG new file mode 100644 index 0000000..2fe72b6 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/regular-fonts~dark.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/regular-penguins.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/regular-penguins.PNG new file mode 100644 index 0000000..263232f Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/regular-penguins.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/regular-penguins~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/regular-penguins~dark.PNG new file mode 100644 index 0000000..105b33b Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/regular-penguins~dark.PNG differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-hig.png b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-hig.png new file mode 100644 index 0000000..6a8015c Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-hig.png differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-hig~dark.png b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-hig~dark.png new file mode 100644 index 0000000..a319dc7 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-hig~dark.png differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-scales-weights@2x.png b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-scales-weights@2x.png new file mode 100644 index 0000000..aa8c34e Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-scales-weights@2x.png differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-scales-weights~dark@2x.png b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-scales-weights~dark@2x.png new file mode 100644 index 0000000..b049fc9 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-scales-weights~dark@2x.png differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-symbols-1.png b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-symbols-1.png new file mode 100644 index 0000000..511fe46 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-symbols-1.png differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-symbols-1~dark.png b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-symbols-1~dark.png new file mode 100644 index 0000000..ba433a8 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-symbols-1~dark.png differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-symbols-2.png b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-symbols-2.png new file mode 100644 index 0000000..dcbfdde Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-symbols-2.png differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-symbols-2~dark.png b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-symbols-2~dark.png new file mode 100644 index 0000000..762a586 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/sf-symbols-2~dark.png differ