[wp-trac] [WordPress Trac] #35257: Update button not completely disabled after plugin update on plugin-install.php screen

WordPress Trac noreply at wordpress.org
Tue Jan 12 12:49:14 UTC 2016


#35257: Update button not completely disabled after plugin update on plugin-
install.php screen
-----------------------------+----------------------------------------
 Reporter:  adamsilverstein  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  4.3
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  accessibility, javascript
-----------------------------+----------------------------------------

Comment (by afercia):

 Replying to [comment:3 adamsilverstein]:
 > Does anyone have insight into why the buttons are constructed this way?
 I think that's because when JS is off, these links behave like regular
 links and the update will take place on `/wp-admin/update.php`. Instead,
 when JS is on, they behave like buttons (they "do" something), so they
 should have a semantics of button and recently a `aria-button-if-js` CSS
 class was introduced in [35947]. I'd suggest to use it.
 About the main issue, maybe just return on click if the link has the class
 `updated-message`?

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


More information about the wp-trac mailing list