Introducing A11y Toggle

Here’s a bit of convergent evolution: Hugo’s script is similar to what I wrote about recently.

He also raises a point that Kevin mentioned:

I would like to investigate on the details and summary elements as they are basically a native implementation for content toggles.

For some reason details never got much browser love, even though it’s clearly paving a well-trodden cowpath.

Introducing A11y Toggle

Tagged with


Kevin Marks

Well, details is in chrome and safari so you have android and iOS covered. The fallback is to show all the expanded content, which is more ok on IE and Firefox as they’re on big screens mainly