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

@ -1,12 +1,12 @@
# The amazing coin flipper
### ~avatar avatar
## ~avatar avatar
Are you trying to choose whether to play soccer or go to the movies
instead, or which toppings to have on your pizza? Build a coin
flipping machine with the @boardname@ to choose for you!
### ~
## ~
Here are the blocks to make your coin flipper. When you press button
`B`, the coin flipper will show either `H` for heads or `T` for tails
@ -21,7 +21,7 @@ input.onButtonPressed(Button.B, () => {
}
});
```
### ~hint
## ~hint
The `[Math.randomBoolean()]` block randomly tells the ``if``
block `true` or `false`. If value picked is `true`, the
@ -29,16 +29,16 @@ block `true` or `false`. If value picked is `true`, the
That's it!
### ~
## ~
### Keeping score
## Keeping score
#### ~avatar
### ~avatar
To keep track out of how many guesses you've won,
add these blocks to your coin flipper:
#### ~
### ~
```blocks
input.onButtonPressed(Button.A, () => {