[wp-trac] [WordPress Trac] #47670: RSS widget creates an accessibility problem when used more than once
WordPress Trac
noreply at wordpress.org
Fri Jul 26 23:45:38 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: Awaiting Review
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses: accessibility
-----------------------------------+------------------------------
Comment (by tpaw):
Replying to [comment:2 mukesh27]:
> I think we have to remove that alt tag from RSS image because if anyone
does not use feed title then image alt display space before RSS text, also
RSS was not used any escaping function.
>
> Remove alt text from the widget is a better solution.
>
> @audrasjb can you check this?
Thank you for reviewing this.
Unfortunately, removing the alt text means that one will then have an
"empty" link, as it would effectively become an <a href="url"></a> in the
accessibility DOM.
Links must have some sort of link text, whether it's regular text or alt
text from an image, so your proposed solution will still violate WCAG
accessibility guidelines.
By leaving the user-specified title in, at least there is a chance and
ability for users to correctly adhere to WCAG. Without any link text, it's
still basically the same problem of not meeting a11y guidelines.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47670#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list