edenspiekermann / a11y-toggle

A tiny script for accessible content toggles.
https://edenspiekermann.github.io/a11y-toggle/
MIT License
304 stars 21 forks source link

aria-labelledby #4

Closed ffoodd closed 8 years ago

ffoodd commented 8 years ago

Ensuring your hidden/shown region has a correct label is important, moreover if the region is expanded by default.

You may add two things:

Pretty easy to automate, I guess. Please also consider that "Read more" is generally not a good way to label anything ;)

Here are a few examples using it:

What do you think about it?

KittyGiraudel commented 8 years ago

Sounds like a very good idea.

KittyGiraudel commented 8 years ago

Done in 0.2.0.