-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef751ba
commit b3b5289
Showing
1 changed file
with
140 additions
and
20 deletions.
There are no files selected for viewing
160 changes: 140 additions & 20 deletions
160
...s/Integration/Advanced/AccessibleDescription/AccessibleReading/AccessibleReading.tutorial
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,157 @@ | ||
@Tutorial(time: 15) { | ||
@Article(time: 30) { | ||
@Intro(title: "Writing Accessible Texts") { | ||
Even though there is no problem for screen readers to speak textual information there are a few moments one should consider to make reading comfortable for everyone. Text layout, fonts used, proper language - let's discuss everything that may become an obstacle for a user. | ||
Здесь зачин. | ||
|
||
@Image(source: <#file#>, alt: "<#accessible description#>") | ||
@Image(source: placeholder-image, alt: "") | ||
} | ||
|
||
@ContentAndMedia { | ||
## Structured text | ||
|
||
### Fragmentate blocks | ||
|
||
### Style text layout | ||
|
||
### Headings | ||
|
||
### Bullet-points | ||
|
||
### Sentence case | ||
|
||
### Embedded links | ||
} | ||
|
||
@ContentAndMedia { | ||
## Plain language | ||
|
||
### Short sentences | ||
|
||
### No to specific terminology | ||
|
||
### Expand acronyms | ||
|
||
### Write inclusively | ||
} | ||
|
||
|
||
|
||
@ContentAndMedia { | ||
## Dyslexia-friendly typefaces | ||
|
||
### Dyslexia | ||
|
||
### Dyslexia-friendly typefaces properties | ||
|
||
### Examples of dyslexia-friendly typefaces | ||
} | ||
|
||
@ContentAndMedia { | ||
## Accessibility attributes | ||
|
||
### Appropriate language passage | ||
|
||
### Page enumeration | ||
|
||
### Lines enumeration | ||
|
||
### Automatic page-turning | ||
|
||
### Accessible scroll | ||
} | ||
} | ||
|
||
|
||
@Comment { | ||
https://developer.apple.com/wwdc19/248 | ||
Intro | ||
WWDC | ||
Details | ||
Quiz | ||
} | ||
|
||
@Section(title: "<#text#>") { | ||
|
||
@ContentAndMedia { | ||
#Text | ||
|
||
##text | ||
|
||
###text | ||
|
||
text | ||
|
||
@Image(source: placeholder-image, alt: "") | ||
} | ||
|
||
@ContentAndMedia { | ||
#Text | ||
|
||
##text | ||
|
||
###text | ||
|
||
text | ||
} | ||
|
||
@Stack { | ||
@ContentAndMedia { | ||
<#text#> | ||
@Image(source: placeholder-image, alt: "") | ||
} | ||
} | ||
@Stack { | ||
@ContentAndMedia { | ||
#Text | ||
|
||
##text | ||
|
||
###text | ||
|
||
text | ||
|
||
@Image(source: <#file#>, alt: "<#accessible description#>") | ||
@Image(source: placeholder-image, alt: "") | ||
} | ||
|
||
@Steps { | ||
@Step { | ||
<#text#> | ||
|
||
@Image(source: <#file#>, alt: "<#accessible description#>") | ||
} | ||
|
||
@Step { | ||
<#text#> | ||
|
||
@Code(name: "<#display name#>", file: <#filename.swift#>) | ||
} | ||
@ContentAndMedia { | ||
#Text | ||
|
||
##text | ||
|
||
###text | ||
|
||
text | ||
|
||
@Image(source: placeholder-image, alt: "") | ||
} | ||
} | ||
|
||
@Assessments { | ||
@MultipleChoice { | ||
What element did you use to add space around and between your views? | ||
|
||
|
||
@Choice(isCorrect: false) { | ||
A state variable. | ||
|
||
|
||
@Justification(reaction: "Try again!") { | ||
Remember, it's something you used to arrange views vertically. | ||
} | ||
} | ||
|
||
|
||
@Choice(isCorrect: true) { | ||
A `VStack` with trailing padding. | ||
|
||
|
||
@Justification(reaction: "That's right!") { | ||
A `VStack` arranges views in a vertical line. | ||
} | ||
} | ||
|
||
|
||
@Choice(isCorrect: false) { | ||
|
||
... | ||
|
||
} | ||
} | ||
} | ||
} | ||
} |