diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/AdoptionGuide.tutorial b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/AdoptionGuide.tutorial index 25b3377..39b0adb 100644 --- a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/AdoptionGuide.tutorial +++ b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/AdoptionGuide.tutorial @@ -24,11 +24,7 @@ First of all, every **functional element** of the interface has to be sufficiently *described*. - @TutorialReference(tutorial: "doc:AccessibleUI") @TutorialReference(tutorial: "doc:AccessibilityAttributes") - @TutorialReference(tutorial: "doc:Traits") - @TutorialReference(tutorial: "doc:Frame") - @TutorialReference(tutorial: "doc:AdaptCells") } @Chapter(name: "Ensure that navigation is possible") { @@ -36,10 +32,6 @@ Secondly, to *reconnect* the elements into a integral interface certain **alternative controlling options** have to be enabled. - @TutorialReference(tutorial: "doc:OnScreen-Navigation") - @TutorialReference(tutorial: "doc:FocusManagement") - @TutorialReference(tutorial: "doc:Between-ScreensNavigation") - @TutorialReference(tutorial: "doc:Notifications") } @Chapter(name: "Secure user scenarios") { @@ -47,10 +39,7 @@ Lastly, to make sure that the users of assistive technology are able to complete the tasks they are *supposed* to achieve we should **review the layout** of the accessible interface. - @TutorialReference(tutorial: "doc:ControlHierarchy") @TutorialReference(tutorial: "doc:AdaptCells") - @TutorialReference(tutorial: "doc:Containers") - } } diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Frame/Frame.tutorial b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleControls/Frame/Frame.tutorial similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Frame/Frame.tutorial rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleControls/Frame/Frame.tutorial diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Code/SwiftUI/addTraits.swift b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Code/SwiftUI/addTraits.swift similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Code/SwiftUI/addTraits.swift rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Code/SwiftUI/addTraits.swift diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Code/SwiftUI/allowsDirectTouch.swift b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Code/SwiftUI/allowsDirectTouch.swift similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Code/SwiftUI/allowsDirectTouch.swift rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Code/SwiftUI/allowsDirectTouch.swift diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Code/SwiftUI/budgetSlider.swift b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Code/SwiftUI/budgetSlider.swift similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Code/SwiftUI/budgetSlider.swift rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Code/SwiftUI/budgetSlider.swift diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Code/SwiftUI/isToggle.swift b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Code/SwiftUI/isToggle.swift similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Code/SwiftUI/isToggle.swift rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Code/SwiftUI/isToggle.swift diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Code/UIKit/directTouch.swift b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Code/UIKit/directTouch.swift similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Code/UIKit/directTouch.swift rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Code/UIKit/directTouch.swift diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Code/UIKit/hiddenTraits.swift b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Code/UIKit/hiddenTraits.swift similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Code/UIKit/hiddenTraits.swift rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Code/UIKit/hiddenTraits.swift diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Code/UIKit/optionSet.swift b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Code/UIKit/optionSet.swift similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Code/UIKit/optionSet.swift rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Code/UIKit/optionSet.swift diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Code/UIKit/toggleButton.swift b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Code/UIKit/toggleButton.swift similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Code/UIKit/toggleButton.swift rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Code/UIKit/toggleButton.swift diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/adjustable.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/adjustable.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/adjustable.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/adjustable.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/adjustable~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/adjustable~dark.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/adjustable~dark.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/adjustable~dark.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/buttons.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/buttons.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/buttons.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/buttons.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/buttons~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/buttons~dark.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/buttons~dark.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/buttons~dark.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/controls.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/controls.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/controls.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/controls.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/controls~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/controls~dark.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/controls~dark.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/controls~dark.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/direct-interaction.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/direct-interaction.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/direct-interaction.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/direct-interaction.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/direct-interaction~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/direct-interaction~dark.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/direct-interaction~dark.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/direct-interaction~dark.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/headers.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/headers.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/headers.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/headers.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/images.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/images.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/images.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/images.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/images~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/images~dark.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/images~dark.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/images~dark.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/keys.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/keys.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/keys.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/keys.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/links.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/links.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/links.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/links.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/media-session.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/media-session.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/media-session.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/media-session.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/modal.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/modal.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/modal.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/modal.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/modal~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/modal~dark.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/modal~dark.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/modal~dark.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/not-enabled.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/not-enabled.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/not-enabled.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/not-enabled.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/plays-sound.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/plays-sound.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/plays-sound.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/plays-sound.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/search-field.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/search-field.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/search-field.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/search-field.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/search-field~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/search-field~dark.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/search-field~dark.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/search-field~dark.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/selected.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/selected.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/selected.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/selected.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/selected~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/selected~dark.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/selected~dark.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/selected~dark.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/static-text.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/static-text.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/static-text.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/static-text.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/static-text~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/static-text~dark.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/static-text~dark.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/static-text~dark.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/summary-element.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/summary-element.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/summary-element.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/summary-element.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/tabs.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/tabs.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/tabs.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/tabs.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/tabs~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/tabs~dark.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/tabs~dark.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/tabs~dark.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/toggles.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/toggles.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/toggles.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/toggles.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/toggles~dark.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/toggles~dark.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/toggles~dark.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/toggles~dark.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/updates-frequently.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/updates-frequently.PNG similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Images/updates-frequently.PNG rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Images/updates-frequently.PNG diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Traits.tutorial b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Traits.tutorial similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/AccessibilityAttributes/Traits/Traits.tutorial rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleDescription/Traits/Traits.tutorial diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Connect/Navigation/Between-Screens/Between-ScreensNavigation.tutorial b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleNavigation/Between-Screens/Between-ScreensNavigation.tutorial similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Connect/Navigation/Between-Screens/Between-ScreensNavigation.tutorial rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleNavigation/Between-Screens/Between-ScreensNavigation.tutorial diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Simplify/Containers.tutorial b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleNavigation/Containers.tutorial similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Simplify/Containers.tutorial rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleNavigation/Containers.tutorial diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Simplify/HideUselessControls.tutorial b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleNavigation/HideUselessControls.tutorial similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Simplify/HideUselessControls.tutorial rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleNavigation/HideUselessControls.tutorial diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Connect/Navigation/Notifications.tutorial b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleNavigation/Notifications.tutorial similarity index 100% rename from Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Connect/Navigation/Notifications.tutorial rename to Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Advanced/AccessibleNavigation/Notifications.tutorial diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Connect/Navigation/Navigation.tutorial b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Connect/Navigation/Navigation.tutorial index b01e83f..10337c8 100644 --- a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Connect/Navigation/Navigation.tutorial +++ b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Connect/Navigation/Navigation.tutorial @@ -1,8 +1,65 @@ -@Article(time: 20) { - @Intro(title: "Accessible Navigation") { +@Tutorial(time: 20) { + @Intro(title: "Navigating Between Elements") { + Previously we learnt how to provide interfacial elements with everything to be accessible. But interfaces are not just elements -- there is also coherence between them, implemented by meaningful connection between its elements. + + In this tutorial we are going to conclude foundation of making accessible interfaces: how to connect everything so it flawlessly work as intended with any assistive technology. + } + + @Section(title: "Direct and indirect selection") { + @ContentAndMedia { + Accessing elements of an interface may be accomplished two ways: by direct and indirect selection. + + ### Direct selection + Direct selection is navigating within an interface by precisely aiming at a target element of free choice by using pointer devices such as mouses, trackballs, touchpads, eye-trackers and so on. Modern personal computers are designed to be primarily used with pointers, thus it is important for developers to not forget about another way. + + ### Indirect selection + Indirect selection is oppose to the former on: all elements available on a screen are consequently iterated in a particular order. In case of iOS, the order is how users visually perceive the content -- it's called reading order. Talking about English language, its speakers read top to bottom and left to right, so an English screen-reader will do the same on iOS. + + ### Physical controls of indirect selection + Assistive technology enabling indirect selection do so because there is no requirement to be able to precisely aim with pointer devices, therefore it provides access to an interface for people who struggle with dexterity (fine motor skills) or visual perception. To see how exactly various Accessible Features use indirect selection, visit [**Switch Control**]() and [**VoiceOver**]() articles. + + Talking about our mission in this tutorial we are going to learn how to ensure that every elements on a screen is reachable with usage of assistive technology, so let's start to figure out what may be an issue. + } + @Section(title: "Horizontal swipes and accessible scroll") { + @ContentAndMedia { + We already know how [**Accessibility Features**]() build their Accessibility Tree. Our goal is to make sure that the elements are presented in the right order and are accessible for consequential selection. + } + + @Steps { + @Step { + Let's continue from the point we stopped at the previous tutorial. We were working on accessibility of a complex cell and that cell was placed in a list of such elements. + } + + @Step { + So we have to deal with a list of complex cells. + } + + @Step { + First of all, such construction is a list, so let's omit the fact of complexity of its components and see how indirect selection works in scrolling of such lists. + } + + @Step { + Swipe to left, right key button, "to next item" switch recipe and other implementations of proceeding to the next item puts the focus frame on an appropriate element and allows interaction with it. + } + + @Step { + Our task is to ensure that elements iterated in the order that repeats the order of visual perception of the interface to convey the same cognitive model. + } + + @Step { + Let's take a look at our screen and flatten it to a textual description of elements in the order they are placed on the screen. But is it how we present it? + } + + @Step { + Nope, it's not an ideal representation of the idea. + } + } + } + } } + @Comment { To simplify navigation developer had to achieve several goals: call a notification to update accessibility tree, manage focus when a new screen is opened, support action for closing or completing the screen. diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/Resources/attributes-order@2x.png b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/Resources/attributes-order@2x.png deleted file mode 100644 index 3b760a3..0000000 Binary files a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/Resources/attributes-order@2x.png and /dev/null differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/Resources/attributes-order~dark@2x.png b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/Resources/attributes-order~dark@2x.png deleted file mode 100644 index 25bbcab..0000000 Binary files a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Describe/Resources/attributes-order~dark@2x.png and /dev/null differ diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Simplify/AdaptCells/AdaptCells.tutorial b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Simplify/AdaptCells/AdaptCells.tutorial index 4580c4a..93d0394 100644 --- a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Simplify/AdaptCells/AdaptCells.tutorial +++ b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Pages/Integration/Basic/Simplify/AdaptCells/AdaptCells.tutorial @@ -18,7 +18,7 @@ } - @Sections(title: "A card as a complex cells") { + @Section(title: "A card as a complex cells") { @ContentAndMedia { This product card as a pattern built of multiple components of different types. It is done because a product card is purpose to display an object such way so it attracts customer's attention and gives a succinct preview without providing unnecessary for choice-making process details. @@ -179,9 +179,9 @@ @Step { We have 3 actions possible to be performed with this card: - - change (main action, takes the user to the product's page); - - adjust quantity (decrease and increase, that stepper); - - remove the position at all (left swipe). + change (main action, takes the user to the product's page); + adjust quantity (decrease and increase, that stepper); + remove the position at all (left swipe). } @Step { diff --git a/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/IMG_7025.PNG b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/IMG_7025.PNG new file mode 100644 index 0000000..ffd3446 Binary files /dev/null and b/Sources/iOSAccessibilityHandbook/iOSAccessibilityHandbook.docc/Resources/IMG_7025.PNG differ