[wp-trac] [WordPress Trac] #64169: Add JavaScript that allows front-end elements with role="button" to be triggered with the spacebar
WordPress Trac
noreply at wordpress.org
Thu Oct 30 16:37:57 UTC 2025
#64169: Add JavaScript that allows front-end elements with role="button" to be
triggered with the spacebar
-------------------------------------+------------------------------
Reporter: alh0319 | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version:
Severity: normal | Resolution: wontfix
Keywords: reporter-feedback close | Focuses: accessibility
-------------------------------------+------------------------------
Changes (by alh0319):
* status: new => closed
* resolution: => wontfix
Comment:
I didn't actually know the answer to
> What would happen if core adds such a global event listener, but then a
plugin already has such an event listener?
So, I investigated the reported conflict between Woo and Max Mega Menu,
and I do think that this may be the case. I think one fires and then the
other would fire, which reversed the trigger action. I tried coming up
with code to resolve this but wasn't able to without making it specificlly
target Max Mega Menu (I.e., I couldn't come up with a generic solution
that would apply to anything).
Given this, I think my idea, while good intially is not good in practice
and am closing this ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64169#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list