reactour
reactour copied to clipboard
Accessibility of tour "bullets" (aria-current)
There's a missed opportunity (and a WCAG violation - Info and Relationships) in the little bullet widget thing that shows the current 'step' in the tour.
Need to add aria-current="true" to the bullet that represents the current element. Attribute should be removed otherwise.
(And remember that aria attributes work very well in CSS selectors to keep the accessibility tree in sync with the CSS presentation).