reactour icon indicating copy to clipboard operation
reactour copied to clipboard

Accessibility of tour "bullets" (aria-current)

Open brennanyoung opened this issue 1 year ago • 0 comments

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).

brennanyoung avatar Apr 17 '23 12:04 brennanyoung