Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What would be great is if it generated an SVG with the screen-reader accessible title and description built in.

<svg role="img" aria-label="[title + description]"> <title>[title]</title> <desc>[long description]</desc> ... </svg >



Why do you even need SVG if you're on the web already though? Nothing in these code pictures requires more than basic CSS and HTML. You can go wild with fonts, gradients, shadows, etc. to make beautiful looking pre and code elements. Tools like prismjs will syntax highlight with spans. Everything is in plain old semantic HTML with aria properties where appropriate.


You need it for places that will only take images.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: