Fix spelling and formatting issues
This commit is contained in:
parent
a56e0c67ba
commit
3dc8d51c2d
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
description: 'Guidance for creating more accessible code'
|
description: 'Guidance for creating more accessible code'
|
||||||
applyTo: "**"
|
applyTo: '**'
|
||||||
---
|
---
|
||||||
# Instructions for accessibility
|
# Instructions for accessibility
|
||||||
|
|
||||||
@ -149,7 +149,7 @@ All graphics, regardless of type, have the correct role. The role is either prov
|
|||||||
|
|
||||||
* The `<img>` element does not need a role attribute.
|
* The `<img>` element does not need a role attribute.
|
||||||
* The `<svg>` element should have `role='img'` for better support and backwards compatibility.
|
* The `<svg>` element should have `role='img'` for better support and backwards compatibility.
|
||||||
* Icon fonts and emojois will need the `role='img'` attribute, likely on a `<span>` containing just the graphic.
|
* Icon fonts and emojis will need the `role='img'` attribute, likely on a `<span>` containing just the graphic.
|
||||||
|
|
||||||
#### All graphics MUST have appropriate alternative text
|
#### All graphics MUST have appropriate alternative text
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user