[wp-trac] [WordPress Trac] #61011: Plugin management: The "Install Now/Activate" button should be a button not a link

WordPress Trac noreply at wordpress.org
Thu May 16 15:30:13 UTC 2024


#61011: Plugin management: The "Install Now/Activate" button should be a button not
a link
---------------------------+----------------------------
 Reporter:  stevejonesdev  |       Owner:  rcreators
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  6.6
Component:  Plugins        |     Version:  6.5
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |     Focuses:  accessibility
---------------------------+----------------------------
Changes (by jorbin):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58161" 58161]:
 {{{
 #!CommitTicketReference repository="" revision="58161"
 Plugins: Assign role of button to links that act as buttons.

 Clicking on these links initiates an action, so they are more semantically
 a button rather than a link. Keeping them as an anchor in html allows any
 existing JS that is targeted to these items to continue to function. The
 addition of the role helps assistive technology to know that they should
 treat this as a button.

 Props stevejonesdev, sabernhardt, vipulgupta003, rcreators, joedolson.
 Fixes #61011.
 }}}

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


More information about the wp-trac mailing list