NUKnightLab / TimelineJS3

TimelineJS v3: A Storytelling Timeline built in JavaScript. http://timeline.knightlab.com
Mozilla Public License 2.0
2.99k stars 621 forks source link

State-based `aria-label`s for the `MenuBar` buttons #769

Closed oleksandr-danylchenko closed 2 years ago

oleksandr-danylchenko commented 2 years ago

image image image

It would be amazing to provide the currently displayed timeline years in the alternative text for the MenuBar buttons so that the screen reader can understand what is being shown without having to go over to the timeline.

A rather reliable approach would be to provide the same info as the average user can see and for each of the buttons:

JoeGermuska commented 2 years ago

fixed with dda45e9