[wp-trac] [WordPress Trac] #47670: RSS widget creates an accessibility problem when used more than once

WordPress Trac noreply at wordpress.org
Tue Sep 7 18:09:43 UTC 2021


#47670: RSS widget creates an accessibility problem when used more than once
-------------------------------------------------+-------------------------
 Reporter:  tpaw                                 |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  5.9
Component:  Widgets                              |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots 2nd-opinion has-     |     Focuses:
  patch                                          |  accessibility
-------------------------------------------------+-------------------------

Comment (by tpaw):

 Replying to [comment:19 sabernhardt]:
 > After noticing that the admin toolbar's extra profile link currently
 uses a negative tabindex (since r19559), that attribute seems viable in
 this case, too.
 >
 > The feed link also would need `aria-hidden="true"` to hide it (with
 NVDA).

 I believe that adding both `tabindex="-1"` and `aria-hidden="true"`
 attribute on the RSS icon's wrapping `a` tag (not on the `img` itself) is
 an elegant and standards-based solution to remove the linked icon from the
 Accessibility DOM. This would solve the issue of duplicate link text
 leading to different URIs violating the WCAG 2.4.4 standard.

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


More information about the wp-trac mailing list