jpkleemans/vite-svg-loader

Adding attributes to the <svg> element, besides `class`

Closed this issue · 1 comments

I was wondering, if there is a way that we can somehow get other attributes to appear on the <svg> element? I when using inline SVG for icons or purely decorative elements, it'd be important to tell screenreaders to ignore this element via aria-hidden="true".

Hi, this is fixed in v3.1.0