DEV Community

Discussion on: ⚠️ Don't try this at home: CSS-only image detail zoom - As hacky as possible! 🖼️🔍

Collapse
 
thormeier profile image
Pascal Thormeier

Oh, also: When I got that working with the input field, my first thought was "Why does this work, I don't want this to work" 🤣

Collapse
 
grahamthedev profile image
GrahamTheDev

Well I do have a whole series of things "breaking the internet" here on dev, so who am I to say anything as none of them are accessible 😋🤣

Thread Thread
 
thormeier profile image
Pascal Thormeier • Edited

To be honest, hacking that modal like this felt way too easy! The DOM is minimal, the CSS isn't exactly rocket science either. In my opinion, it's such a pity that it's so easy to make things so horribly inaccessible. Doing them right should be the easy thing.