pxt-microbit Accessibility PR (#529)

* Accessibility changes
This commit is contained in:
Sam El-Husseini
2017-09-07 13:42:08 -07:00
committed by GitHub
parent 3f87576a50
commit e3975e65e5
357 changed files with 1641 additions and 3540 deletions

View File

@ -2,11 +2,11 @@
Create a love meter with the @boardname@
### ~avatar avatar
## ~avatar avatar
Welcome! This activity will help you create a love meter with the @boardname@. Let's get started!
### ~
## ~
Begin by registering an event with `on pin pressed` *P0* to know when someone is holding pin *P0* and pin *Gnd*.
@ -39,9 +39,9 @@ input.onPinPressed(TouchPin.P0, () => {
```
### ~avatar avatar
## ~avatar avatar
Excellent, you're ready to continue with the [challenges](/lessons/love-meter/challenges)
### ~
## ~

View File

@ -14,7 +14,7 @@ input.onPinPressed(TouchPin.P0, () => {
```
### Challenge 1
## Challenge 1
Add a pause of 3000 milliseconds (3 seconds) after showing the number so that the number won't immediately disappear in the next challenge.
@ -27,7 +27,7 @@ input.onPinPressed(TouchPin.P0, () => {
})
```
### Challenge 2
## Challenge 2
If the rating **x** is between *0* and *3* (strictly less than *4*), display the text "HORRIBLE!".
@ -43,7 +43,7 @@ input.onPinPressed(TouchPin.P0, () => {
})
```
### Challenge 3
## Challenge 3
**If** the rating is between 4 and 7, display the text "MEDIOCRE!" **else** display the text "MATCHED!"
@ -63,7 +63,7 @@ input.onPinPressed(TouchPin.P0, () => {
})
```
### Challenge 4
## Challenge 4
Use `show LEDs` to display images instead of text for each case.