[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
Wed Oct 29 21:10:21 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: new
Priority: normal | Milestone: Awaiting Review
Component: Script Loader | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses: accessibility
-------------------------------+------------------------------
Changes (by westonruter):
* keywords: => reporter-feedback
Comment:
What would happen if core adds such a global event listener, but then a
plugin already has such an event listener? Wouldn't that result in
duplicated events being triggered when the spacebar is pressed?
Also, do you have some examples of ecosystem plugins that have this
problem?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64169#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list