[wp-trac] [WordPress Trac] #45209: Add new plugin GUI Image click issue

WordPress Trac noreply at wordpress.org
Sun Oct 28 10:21:30 UTC 2018


#45209: Add new plugin GUI Image click issue
--------------------------+------------------------------------------------
 Reporter:  Hitendra      |       Owner:  (none)
  Chopda                  |
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Plugins       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  2nd-opinion   |     Focuses:  ui, accessibility, administration
  close                   |
--------------------------+------------------------------------------------

Comment (by afercia):

 @Hitendra Chopda thanks for your report. That's intentional. Rather than
 an "auto click", this happens because both the plugin image and the plugin
 name are within the same link. It's a best practice to reduce the amount
 of links pointing to the same resource, see
 https://www.w3.org/TR/WCAG20-TECHS/H2.html

 WordPress already uses this pattern in a few places, for example in the
 Media Library (list mode: `wp-admin/upload.php?mode=list`) and the Credits
 page (`wp-admin/credits.php`). See in the screenshot below the focus style
 when clicking on a media image:

 [[Image(http://cldup.com/wY24zbKAJh.png)]]


 For consistency, I'd rather suggest to add a focus style to the image when
 the parent link gets clicked. See
 https://core.trac.wordpress.org/browser/trunk/src/wp-
 admin/css/common.css?rev=43309&marks=265-272#L264

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


More information about the wp-trac mailing list