UX Designer, Javon Bell, shares a presentation on why he uses SVGs instead of Font Icons in designs. Check it out - maybe you should be using them, too!
dimensional graphics with support for interactivity and animation. The SVG specification is an open standard developed by the World Wide Web Consortium (W3C) since 1999. ” …Baby One More Time” — Britney Spears
icons are considered text and the browser treats it as such. This means your font icons will not be as sharp as you may expect them to be. CSS? Winner: SVG The options are unlimited as you have the ability to control multiple parts of the SVG. Font icons are limited to the font CSS, nothing more. Browser Fails? Winner: SVG If the SVG is part of the HTML, it will display. No worries about call backs to the server because its already part of the HTML. Not every browser supports @fontface, and blocking applications may prevent your font from showing. Accessibility? Winner: SVG SVG has many attributes within the file (ex. <title><desc>) to help you better define your graphic. Font icons use pseudo and span elements to display the font. Additional labor is needed for any screen reader to know it is an icon.
and make needed edits. Delete commented out data and make any needed changes to the class or id. CSS: Use the SVG id or class name to call the specific part to style.
all of their ministries around the world. Nick Johnson (@thebrawnyman) used an existing SVG of the world and customized each country with its own class name based on the country, ministry type (missionaries, national partners, national churches, and projects). He also added javascript click function to display each ministry type for the user to view. [ View Live SVG ]
counties as a clickable graphic. Javon Bell (@javonbell) took the graphic and converted it to a SVG in Sketch to organize each county by class names. Link tags were added to each county along with the URL path. [ View Live SVG ]
link in the SVG in order to make the click function work. You will need to add xlink: right before the href in the link tag. Example: <a xlink:href="/northeast- indiana/member-county-profiles/ steuben-county"> “I’m afraid I just blue myself”- Tobias Fünke
designers and front-end developers will be work closer on projects. 2) Online ads will utilize SVG for advertisements flexibility. 3) PNG graphic images will see a major decrease in usage. 4) Larger increase in SVG animated graphics over the use of video.