darylldoyle / svg-sanitizer

A PHP SVG/XML Sanitizer
GNU General Public License v2.0
465 stars 68 forks source link

SVG sanitizing strips out ARIA attributes #13

Closed darylldoyle closed 7 years ago

darylldoyle commented 7 years ago

As the title states, all ARIA attributes are stripped from the SVG. This shouldn't be the case and they should be preserved.

See https://css-tricks.com/accessible-svgs/ and http://rosel.li/wceu for info on this issue.

Initially reported at https://wordpress.org/support/topic/svg-sanitizing-strips-out-aria-attributes/