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

@ -8,12 +8,12 @@ Find the next string sent by `radio` from another @boardname@.
radio.receiveString()
```
### Returns
## Returns
* the first [string](/types/string) that was sent. If no
string was sent, then this function returns an empty (blank) string.
### Example: Simple receiver
## Example: Simple receiver
Show the string sent by another @boardname@.
@ -23,7 +23,7 @@ radio.onDataReceived(() => {
});
```
### Example: Two-way radio
## Example: Two-way radio
If you load this program onto two or more @boardname@s, you can send a code word from one of them to the others by pressing button `A`.
The other @boardname@s will receive the code word and then show it.
@ -39,13 +39,13 @@ radio.onDataReceived(() => {
});
```
### ~hint
## ~hint
A radio that can both transmit and receive is called a _transceiver_.
### ~
## ~
### Example: Mood radio
## Example: Mood radio
This is a simple program to send whether you are happy or sad over ```radio```.
Use the `A` or `B` button to select an emotion.
@ -84,7 +84,7 @@ radio.onDataReceived(() => {
});
```
### See also
## See also
[send string](/reference/radio/send-string), [on data received](/reference/radio/on-data-received)