6 common SVG fails (and how to fix them)

Mariana Beldi
UX Collective
Published in
10 min readFeb 23, 2023

--

Someone recently asked me how I approach debugging inline SVGs. Because it is part of the DOM, we can inspect any inline SVG in any browser DevTools. And because of that, we have the ability to scope things out and uncover any potential issues or opportunities to optimize the SVG.

But sometimes, we can’t even see our SVGs at all. In those cases, there are six specific things that I look for when I’m debugging.

6 common SVG fails cover artwork

--

--