knative / knative/ux

Title: WCAG 1.1.1: Ensures <img> elements have alternate text or a role of none or presentation (img)

Open
#64 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
13
Forks
23
PR merge metrics
No merged PRs in 30d

Description

Tags: Accessibility, WCAG 1.1.1, image-alt

Issue: Ensures elements have alternate text or a role of none or presentation

Target application: Home - Knative - https://knative.dev/docs/

Element path: .animated-gradient > img

Snippet:

How to fix:
Fix any of the following:
Element does not have an alt attribute
aria-label attribute does not exist or is empty
aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty
Element has no title attribute
Element's default semantics were not overridden with role="none" or role="presentation"

Environment: Chrome version 97.0.4692.99

Contributor guide

Open the contributing guide

Research direction

Start at the Knative documentation target and locate the .animated-gradient > img element shown in the issue snippet. Update the image's accessibility attributes so it has alternate text or an appropriate none/presentation role, then rerun the accessibility check to confirm the violation is resolved.

Written by the indexing model from the issue text.

Assessment

Domain
accessibility
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.