[wp-trac] [WordPress Trac] #9537: disabled buttons still "press" when clicked

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 14 21:13:20 GMT 2009


#9537: disabled buttons still "press" when clicked
----------------------------+-----------------------------------------------
 Reporter:  jbsil           |       Owner:  anonymous 
     Type:  enhancement     |      Status:  new       
 Priority:  lowest          |   Milestone:  Unassigned
Component:  Administration  |     Version:  2.7       
 Severity:  trivial         |    Keywords:            
----------------------------+-----------------------------------------------
 The button gradients for button, button-secondary and button-primary all
 invert on :active. This gives the user the impression that the button
 still can be clicked because, when the button is clicked, it still changes
 and looks as though it is being clicked in.

 The :disabled state for any of the three button classes does not include a
 background parameter, and the :active state's background parameter is
 listed as !important.

 I think the :disabled state should be more apparent to the user so that
 the button does not seem clickable. Maybe

 {{{
 button:disabled, button-secondary:disabled, button-primary:disabled {
      background: #ccc !important;
 }
 }}}

 or something along those lines. And possibly remove the !important from
 the :active states.

 This needs to be changed in both colors-fresh.css and colors-classic.css

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9537>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list