JetBrains / svg-sprite-loader

Webpack loader for creating SVG sprites.
MIT License
2.01k stars 272 forks source link

How can I add new attributes to the parent SVG? #488

Open dcristafovici opened 2 years ago

dcristafovici commented 2 years ago

Hi, I have a small question. How can I add additional attributes to parent SVG tag, that covers all svg symbols. Based on WGAG recommendations I need to add role, label, and focusable state for parent SVG. I suppose I can do that, in webpack configuration, ( options object) , but unfortunately I did not find any information about that. Could anybody help ? Thanks in advance.