[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
Fri Oct 31 23:04:12 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:
Component:  Script Loader            |     Version:
 Severity:  normal                   |  Resolution:  wontfix
 Keywords:  reporter-feedback close  |     Focuses:  accessibility
-------------------------------------+----------------------------

Comment (by SirLouen):

 Replying to [comment:7 westonruter]:
 > If no event listener is added then nothing would happen 😊
 Yes, as if we don't add a single aria label in the whole project. In terms
 of happening, nothing happens. 😅 But the point is that something actually
 happens, and do not rely on a 3rd party for that to happen or not happen.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64169#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list