|
|
|
|
|
by rikroots
2220 days ago
|
|
I used to love image maps: really useful for adding hotlinks and hover effects to images. Sadly they can't deal with the modern responsive web - though there exist some Wordpress plugins to help overcome that issue. This CSS article[1] goes into details about alternative approaches. It mainly seems to be SVG, or CSS clip paths. I've used (and like) SVG; CSS clip paths are foreign territory to me - has anyone used them in production to replicate image map functionality? One of the goals I made for myself when developing my canvas library[2] was to bring image-map-like functionality to the <canvas> element - but as responsive and accessible as I could make it. It's still a work-in-progress but I'm getting there! [1] - https://css-tricks.com/the-many-ways-to-link-up-shapes-and-i... [1] Scrawl-canvas - https://scrawl-v8.rikweb.org.uk/ |
|
Is it accessible-friendly?