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

WordPress Trac noreply at wordpress.org
Wed Oct 2 22:12:25 UTC 2019


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

Comment (by sabernhardt):

 I still think there are cases where the feed URL is valuable to include;
 however, I do realize that it makes little sense to have both links within
 the same heading tag. Besides, anyone can add a separate link to the feed
 URL if they intend to make it available.

 So if it's not too late for 5.3, I'd like to suggest a temporary option
 that:
 1. Changes the URL on the icon to the same URL as the text link (unifying
 them in preparation for an actual solution in the next release cycle),
 2. Hides the icon link from screen readers and keyboard navigation with
 both `aria-hidden="true"` and `tabindex="-1"` since that link would be
 redundant,
 3. Still allows people to click (or touch) the icon with the new URL, and
 4. Replaces the hard-coded `alt` text with an escaped text string that has
 already been translated.

 This would probably warrant a dev note, something like:
  "RSS feed URL removed from the RSS Widget heading so there is only one
 link there. A link to the RSS feed itself can still be added below the RSS
 Widget in a separate widget (or elsewhere on the page)."

 Then we can revisit how to adjust to a single link in various themes for
 5.4 (open a new ticket?).

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


More information about the wp-trac mailing list