README.md in inline_svg-0.6.4 vs README.md in inline_svg-0.7.0

- old
+ new

@@ -79,15 +79,16 @@ `size` | set width and height attributes on the SVG <br/> Can also be set using `height` and/or `width` attributes, which take precedence over `size` <br/> Supplied as "{Width} * {Height}" or "{Number}", so "30px*45px" becomes `width="30px"` and `height="45px"`, and "50%" becomes `width="50%"` and `height="50%"` `title` | add a \<title\> node inside the top level of the SVG document `desc` | add a \<desc\> node inside the top level of the SVG document `nocomment` | remove comment tags (and other unsafe/unknown tags) from svg (uses the [Loofah](https://github.com/flavorjones/loofah) gem) `preserve_aspect_ratio` | adds a `preserveAspectRatio` attribute to the SVG +`aria` | adds common accessibility attributes to the SVG (see [PR #34](https://github.com/jamesmartin/inline_svg/pull/34#issue-152062674) for details) Example: ```ruby inline_svg("some-document.svg", id: 'some-id', class: 'some-class', data: {some: "value"}, size: '30% * 20%', title: 'Some Title', desc: -'Some description', nocomment: true, preserve_aspect_ratio: 'xMaxYMax meet') +'Some description', nocomment: true, preserve_aspect_ratio: 'xMaxYMax meet', aria: true) ``` ## Custom Transformations The transformation behavior of `inline_svg` can be customized by creating custom transformation classes.