[wp-trac] [WordPress Trac] #47171: Incorrect cursor used on buttons

WordPress Trac noreply at wordpress.org
Mon Jun 24 17:05:11 UTC 2019


#47171: Incorrect cursor used on buttons
-------------------------------------+-------------------------------------
 Reporter:  nrqsnchz                 |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  5.3
Component:  Administration           |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots needs-   |     Focuses:  ui, accessibility,
  design-feedback wpcampus-report    |  coding-standards
-------------------------------------+-------------------------------------

Comment (by kjellr):

 To reiterate some of what's noted in the GitHub ticket:

 As @afercia noted, WP buttons are not consistent in their behavior: some
 of them act as links, while others act as traditional button elements. The
 fully-compliant fix for this would be to:

 1. Remove the pointer cursor from our button styles.
 2. Do an audit of buttons throughout WP-Admin.
 3. Change buttons that act as links to be links instead of buttons.

 That said, this ticket is interesting in that the W3C guideline goes
 against what many users anticipate: if something is clickable, they expect
 to see a pointer icon when hovering over it. The visual appearance of a
 button may remediate that though, so I'm not 100% sure what the best
 solution is here. It sounds like the WCAG guidelines do not specify this
 behavior exactly.

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


More information about the wp-trac mailing list