Opened 8 months ago
Closed 7 months ago
#61011 closed defect (bug) (fixed)
Plugin management: The "Install Now/Activate" button should be a button not a link
Reported by: | stevejonesdev | Owned by: | rcreators |
---|---|---|---|
Milestone: | 6.6 | Priority: | normal |
Severity: | normal | Version: | 6.5 |
Component: | Plugins | Keywords: | has-patch |
Focuses: | accessibility | Cc: |
Description
On the WordPress plugin installation page, the "Install Now/Activate" link acts more like a button than a typical link, it triggers actions rather than leading you somewhere else. To make this clearer and improve accessibility, it would be better to convert it into an actual button. This can be done by either updating the HTML to use a <button> tag or by adding a role="button" attribute to the link.
Attachments (4)
Change History (12)
#3
@
8 months ago
Those tickets are related but neither of them would fully address this accessibility issue. The initial state of the "Install Now/Activate" button is an anchor link when it should be a button or have a role of button. Once a plugin is installed and activated it is not until after the page is reloaded that it turns into a button. Since the page no longer reloads as noted in ticket #60992 the "Install Now/Activate" button never changes to a button unless the user does a manual page refresh. This is also why it's still clickable as noted in ticket ticket #60663.
This ticket was mentioned in Slack in #accessibility by joedolson. View the logs.
7 months ago
#5
@
7 months ago
- Milestone changed from Awaiting Review to 6.6
- Owner set to rcreators
- Status changed from new to assigned
Interestingly the link markup changes to a button once the plugin is active. But with the Ajax plugin activation introduced in version 6.5, the markup doesn't refresh until a manual page refresh, which I've detailed in this ticket / 60992.