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

WordPress Trac noreply at wordpress.org
Thu Apr 24 07:34:37 UTC 2014


#26504: Semantic elements for non-link links
----------------------------+------------------------------
 Reporter:  GaryJ           |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  3.8
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  accessibility
----------------------------+------------------------------

Comment (by GaryJ):

 The <button> element implicitly has the role="button"§, but we could look
 at adding aria-pressed and aria-expanded attributes to the right elements,
 and updating with JS.

 § As per http://www.w3.org/TR/2013/WD-aria-in-html-20131003
 /#recommendations-table role="button" is needed if using aria-pressed
 since some browsers don't recognise the latter without the former being
 present.

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


More information about the wp-trac mailing list