News for hackers. Stuff that matters.
Re:Building a Hexagonal Grid in CSS by chryton on Friday June 19, 2020 @11:36PM (#23581396)
I wonder what the accessibility for html in svg is like. But really, isn't this just an iframe with a different name?
Re:Building a Hexagonal Grid in CSS by chrismorgan on Saturday June 20, 2020 @03:40AM (#23582466)
No. An iframe is a separate browsing context which as a developer you can’t interact with perfectly, and is segregated from the rest as a user, which has implications on keyboard interactivity especially. Essentially, <iframe> is an accessibility headache. <foreignObject> is just the opposite of <svg>, so it’s no trouble at all.