[wp-trac] [WordPress Trac] #31476: Semantic elements for non-link links: /wp-admin/includes/widgets.php

WordPress Trac noreply at wordpress.org
Thu Oct 22 16:46:37 UTC 2015


#31476: Semantic elements for non-link links: /wp-admin/includes/widgets.php
--------------------------+--------------------------------------------
 Reporter:  afercia       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Widgets       |     Version:  4.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui, accessibility, javascript
--------------------------+--------------------------------------------

Comment (by afercia):

 Refreshed patch. Takes care of the buttons in the Customizer too. Also, a
 better string for translation. In the screenshot below, see the links in
 question, before and after the patch: they should be buttons. Please
 notice for a proper styling this patch needs to wait for #34242 and the
 review of the `.button-link` style.

 About the accessibility part, there's a bug in Firefox/NVDA that prevents
 NVDA to announce the dynamic change of the `aria-expanded` attribute, see
 http://community.nvda-project.org/ticket/5247. We already faced this bug
 in the Customizer and the only workaround would be changing the markup.
 This issue should go in a separate ticket though.

 [[Image(https://cldup.com/7Jj0tPrItq.png)]]

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


More information about the wp-trac mailing list