add article about accessible SVGs from CSS-Tricks #116 (#123)

This commit is contained in:
Daniel Ruf
2018-01-28 19:07:19 +01:00
committed by Terence Eden
parent d8a2b62e51
commit a62c90f080

View File

@@ -197,6 +197,8 @@ The super tiny icons are accessible by default. Each icon has:
`Note:` if using the ```<svg>``` as the `src` for an ```<img>``` element, the `alt` attribute should still be used on the ```<img>``` element because the ARIA is not recognised in this context. `Note:` if using the ```<svg>``` as the `src` for an ```<img>``` element, the `alt` attribute should still be used on the ```<img>``` element because the ARIA is not recognised in this context.
CSS-Tricks has also an [article about accessible SVG icons](https://css-tricks.com/accessible-svgs/).
### Guidelines ### Guidelines
This is the standard guideline. Use this to help with sizing your icons and they will look good no matter what border radius is chosen. This is the standard guideline. Use this to help with sizing your icons and they will look good no matter what border radius is chosen.