[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 15:14: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 close | Focuses: accessibility
-------------------------------------+------------------------------
Comment (by joedolson):
I don't think that this kind of automated change is safe without being
able to test the effectiveness. This is essentially operating as an
accessibility overlay on a large scale, and I think it's a risk that may
solve a large number of problems, but also create a host of new ones.
The problem it solves, while a legitimate accessibility issue, is also
fairly minor, so I think that the benefits are too small.
The comment in the WooCommerce revert PR is exactly what I'd be concerned
about: over aggressive catching of events.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64169#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list