[wp-trac] [WordPress Trac] #26504: Semantic elements for non-link links

WordPress Trac noreply at wordpress.org
Sat Apr 16 22:52:23 UTC 2016


#26504: Semantic elements for non-link links
----------------------------+--------------------------------------------
 Reporter:  GaryJ           |       Owner:
     Type:  task (blessed)  |      Status:  reopened
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:  3.8
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  ui, accessibility, javascript
----------------------------+--------------------------------------------

Comment (by joedolson):

 If we're going to add role=button, then we should also make sure that any
 relevant link can be activated by the spacebar, so that it behaves more
 like a button. Attached patch lets any link with the class 'aria-button-
 if-js' be activated using the spacebar.

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


More information about the wp-trac mailing list