[wp-trac] [WordPress Trac] #29018: Plugin names should be included within links in Install Plugins

WordPress Trac noreply at wordpress.org
Thu Jul 24 16:35:56 UTC 2014


#29018: Plugin names should be included within links in Install Plugins
----------------------------+-----------------------------
 Reporter:  GrahamArmfield  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Plugins         |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  accessibility   |
----------------------------+-----------------------------
 In the new Install Plugins screen there are links that carry the text
 'Update Now' or 'Install Now'. There are also links that carry text 'More
 Details'.

 None of these links contain the name of the plugins. So screen reader
 users using the list links functionality are getting no context to let
 them know which plugin is being referenced by the links.

 The plugin name needs to be included in the links.

 There is an aria-labelledby attribute in the links that refers to a non-
 existant element. Obviously someone has attempted to get some context for
 the links from this.

 Unfortunately, the behaviour of aria-labelledby and aria-label when used
 on links is to override the link text. So if the current approach did
 work, the two links for each plugin would actually be identical for screen
 reader users, when obviously they are not.

 In my view, and to cater for internationalisation I suggest this approach:

 <a href="xxx" aria-label="Install plugin name now">Install now</a>

 and the same approach for the More details link.

 Sighted users won't see any difference, but screen reader users will hear
 the full link with context.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29018>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list