svg-sprite-loader icon indicating copy to clipboard operation
svg-sprite-loader copied to clipboard

How can I add new attributes to the parent SVG?

Open dcristafovici opened this issue 3 years ago • 0 comments

  • webpack version: 4.41
  • svg-sprite-loader version: 4.15

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.

dcristafovici avatar Jun 06 '22 07:06 dcristafovici