DEV Community

loading...

Discussion on: Benefits of SVG

Collapse
lexlohr profile image
Alex Lohr

One thing that's missing in this list is accessibility: any SVG can have a title tag, nodes are selectable if the SVG is rendered in the DOM context and WAI ARIA annotation attributes will work in modern browsers, too.

One other thing missing here: gradients have a consistent syntax over all browsers supporting SVG. No vendor prefixes required. Only support for SVG filters is still a bit flaky.

Collapse
alexi_be3 profile image
Alexi Taylor 🐶 Author

Yes, a11y is important when it comes to SVG and I plan on creating another article in this SVG series to cover that.