Skip to content

Commit

Permalink
fixes?
Browse files Browse the repository at this point in the history
  • Loading branch information
crescentheaded committed Jan 29, 2024
1 parent 4b18abd commit be4419f
Show file tree
Hide file tree
Showing 2 changed files with 71 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1520"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AccessibilityDocumentation"
BuildableName = "AccessibilityDocumentation"
BlueprintName = "AccessibilityDocumentation"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "AccessibilityDocumentation"
BuildableName = "AccessibilityDocumentation"
BlueprintName = "AccessibilityDocumentation"
ReferencedContainer = "container:">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Nevertheless **Voice Control** and **Switch Control** also benefit from explicit
To describe an element we can **specify three properties**: a *label*, a *value* and a *trait*. Let's get familiar with each of them.


## `accessibilityLabel` — Label
## accessibilityLabel — Label

@Row {
@Column(size: 1) {
Expand Down Expand Up @@ -37,7 +37,7 @@ To describe an element we can **specify three properties**: a *label*, a *value*
}
}

## `accessibilityValue` — Value
## accessibilityValue — Value

@Row {
@Column(size: 2) {
Expand Down Expand Up @@ -87,7 +87,9 @@ Another example is **Adjustable Elements**: this feature will change *only* the
**If there is a *button* in the interface but it is not specified in its description — users *won't* be able to interact with this element using Accessibility Features**.

> Note: If *Label* and *Value* are separated by a *comma*, *Trait* is separated from the other parts of the description by a *full stop*.

> Important: *Label* and *Value* are `String` properties, meanwhile *Trait* is **selected from a *limited* amount of options**.

> Important: **Don't mention *Trait* inside *Label* or *Value***. There is **no need to *double up* such facts for users: if the element is, for example, a *button*, they will know *everything* they need to know** depending on the **Accessible Feature** used.
}

Expand All @@ -104,11 +106,9 @@ Another example is **Adjustable Elements**: this feature will change *only* the



**Samples:**


## `accessibilityHint` — Hint
``Book/accessibilityHint``
## ``Book/accessibilityHint`` — Hint

**Hint** is another *optional* property that is used to **provide additional information about the element itself**. Property's *name* points at that: **we give a *hint* to the user about how to *treat* the element**. For example, «*tap twice to activate*».

Expand Down

0 comments on commit be4419f

Please sign in to comment.