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

@ -15,7 +15,7 @@ A **g** is as much acceleration as you get from Earth's gravity.
## ~
### Parameters
## Parameters
* **dimension**: the direction you are checking for acceleration, or the total strength of force.
>`x`: acceleration in the left and right direction.<br/>
@ -23,11 +23,11 @@ A **g** is as much acceleration as you get from Earth's gravity.
`z`: acceleration the up and down direction.<br/>
`strength`: the total of all the forces in every dimension (direction) together.
### Returns
## Returns
* a [number](/types/number) that means the amount of acceleration. When the @boardname@ is lying flat on a surface with the screen pointing up, `x` is `0`, `y` is `0`, `z` is `-1023`, and `strength` is `1023`.
### Example: bar chart
## Example: bar chart
This example shows the acceleration of the @boardname@ with a bar graph.
@ -47,7 +47,7 @@ basic.forever(() => {
})
```
### See also
## See also
[set accelerometer range](/reference/input/set-accelerometer-range),
[compass heading](/reference/input/compass-heading),