4 ms·
Curious if they have any fallback for the very few browsers that can't render inline svg.
by alex_doom 11y ago
Curious if they have any fallback for the very few browsers that can't render inline svg.
- brotherjerky 11y agoSVG support is nearly universal now: http://caniuse.com/#feat=svg http://caniuse.com/#feat=svg -- plus, the icons aren't necessary for the UI to function, so perhaps they've forgone the fallback.
- J_Darnley 11y agoI wonder, do more people use an old browser or disable web fonts? <IE8 could be a lot of people.
- youngtaff 11y agoMy content blocker disables them on my iPad
- frozenport 11y agoFor example, the blind?
- afloatboat 11y agoWell, in Github's case the icons always seem to accompany a label, which would already make the content accessible. SVG also provides descriptions and titles that can be read out by screenreaders. Icon fonts are 'hacked' in specific unicode characters and often screenreaders try to read these characters, leading to nonsense. But to specifically enter the question: They hide the icons. The aria-hidden attribute makes sure that the icon is not seen by screenreaders [1]. [1] http://www.456bereastreet.com/archive/201205/hiding_visible_content_from_screen_readers_with_aria-hidden/ http://www.456bereastreet.com/archive/201205/hiding_visible_...