Hi there, we have sites requiring accessibility, and it appears that you have changed the functionality of Accordion items in the latest updates? They used to open with the return/enter key, but now only open with the spacebar. Is this an intended change? If so, is there a way to change the functionality back to opening with the enter key? Thanks.
Yes we can do that. I’m not sure what happened, but it looks like the keyboard space and enter is triggering a click event. So the enter event is still there, it’s just conflicting and triggering twice. I have to check if this is a new browser feature or if they’ve always done this because it sounds like we don’t need an explicit event for “Enter” if it is considered a click event. Thanks for sending this our way!
Thanks for looking into this, Charlie!
So as an update buttons, which is what the accordion uses, browsers already send a click event for accessibility. So for buttons I’ll make sure the keybinding is ignored since it is not needed. Should be fixed in the next release. Have a great day.
Fantastic, you guys are the best! Thanks!!
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.