Hacker News new | ask | show | jobs
by chryton 2193 days ago
I wonder what the accessibility for html in svg is like. But really, isn't this just an iframe with a different name?
1 comments

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.