Daily Accessibility ReviewMissing alt Attributes on Images in Carousel and ReceiverIcons Components (WCAG 1.1.1) #17804
Unanswered
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Two components render
<img>elements withoutaltattributes, making image content inaccessible to screen reader users.Affected Files
1.
shell/components/Carousel.vue— Line 198The slide icon image has no
altattribute at all. Screen readers will typically fall back to announcing the image file path/URL, which is meaningless to the user.2.
shell/components/formatter/ReceiverIcons.vue— Line 98The receiver type logo image has no
altattribute. These icons represent different alert receiver types (e.g., Slack, PagerDuty) in the Monitoring configuration UI and their meaning should be communicated to assistive technology users.WCAG Violation
WCAG 2.2 — Success Criterion 1.1.1: Non-text Content (Level A)
Images that convey meaning (such as an app icon in a catalog or a receiver type logo) must have a descriptive
altattribute. Images that are purely decorative should usealt=""to instruct screen readers to ignore them.See: (www.w3.org/redacted)
Recommended Fix
Carousel.vue — Add a meaningful alt text using the chart name:
ReceiverIcons.vue — Add a meaningful alt text using the receiver type name:
(where
keyis the iterator variable already available in thev-forloop at line 92)Beta Was this translation helpful? Give feedback.
All reactions