RSS icons have the same Alt tag. Lighthouse is failing these elements. How do I display different alt tags for each icon?
I am making my websites accessible by mostly using Lighthouse in Chrome Devtools. I have fixed everything but this one issue. Lighthouse is failing these elements because the alt tags need discernible names:
a class="rsswidget" href="https://blog.mysite.org/formative-assessment/feed"img class="rss-widget-icon" style="border:0" width="14" height="14" src="https://blog.mysite.org/wp-includes/images/rss.png" alt="RSS"/a
a class="rsswidget" href="https://blog.mysite.org/technology/feed/"img class="rss-widget-icon" style="border:0" width="14" height="14" src="https://blog.mysite.org/wp-includes/images/rss.png" alt="RSS"/a
a class="rsswidget" href="https://blog.mysite.org/licensure/feed/"img class="rss-widget-icon" style="border:0" width="14" height="14" src="https://blog.mysite.org/wp-includes/images/rss.png" alt="RSS"/a
How do I change the alt text for the image to reflect which feed it is related to? I am not very familiar with wordpress, most of the sites I work on are drupal. Any thoughts?
Topic accessibility rss plugins Wordpress
Category Web