3 ms·
SVGs can also be referenced with object tags at which part they become part of the DOM. This is required if you want SVGs with embedded hyperlinks to work.
by kevin_thibedeau 6y ago
SVGs can also be referenced with object tags at which part they become part of the DOM. This is required if you want SVGs with embedded hyperlinks to work.
- SahAssar 6y agoYeah, my point was having them as a11y objects in img tags, which is how they have to be used within the github readmes. felixfbecker's parent comment talked about object/iframes for SVG's.
- felixfbecker 6y agoThat will run scripts inside the SVG though. <iframe> can be set to disallow that using `sandbox` and/or `csp`.