[wp-trac] [WordPress Trac] #27555: Make tag post meta box more accessible

WordPress Trac noreply at wordpress.org
Thu Feb 23 21:55:29 UTC 2017


#27555: Make tag post meta box more accessible
------------------------------+----------------------------
 Reporter:  joedolson         |       Owner:  joedolson
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.7
Component:  Editor            |     Version:  3.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  accessibility
------------------------------+----------------------------

Comment (by afercia):

 @cyclic thanks for your comment. In WordPress, that link has been changed
 in a button element with a `type="button"`attribute and as such, it
 doesn't have any default action to prevent. Previously, it was an anchor
 tag and thus it needed a `return false` to prevent the link default
 action.

 For accessibility reasons, links that are not real links and instead
 perform an action should be buttons. In the last months,
 [https://core.trac.wordpress.org/query?keywords=~semantic-buttons
 WordPress has changed many non-links in buttons] and still there are many
 other ones to change. Ideally, the plugin you mentioned should follow
 core's best practices and change its link in a button :)

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


More information about the wp-trac mailing list