Cycle toggle (demo) - Dynamic aria-selected doesn't work when value is last span -> wrong children?
GalinhaLX opened this issue Β· comments
Hi
In your page: here
Cycle toggle doesn't work when selected span is after the value we want to affect
if you select π (last span), you'll not be able to apply to π
in your demo page you maybe set the wrong children?
Yeah, you need to remove the existing aria-selected
attribute first.