Skip to content

Commit 5e9fd0a

Browse files
authored
Update alert-a-nearby-image-has-the-same-alternative-text.md
update WAVE guidance section
1 parent 0f577ab commit 5e9fd0a

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

docs/known-issues-and-solutions/solutions-index/alert-a-nearby-image-has-the-same-alternative-text.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,24 +23,18 @@ WAVE Tool's Reference material on A nearby image has the same alternative text m
2323

2424
> ### WAVE Category
2525
> Alerts
26-
2726
> ### WAVE Error
2827
> A nearby image has the same alternative text
29-
3028
> ### What It Means
3129
> Two images near each other have the same alternative text.
32-
3330
> ### Why It Matters
3431
> When two images have the same alternative text, this often causes redundancy or indicates incorrect alternative text.
35-
3632
> ### What To Do
3733
> Ensure that the alternative text for each image or image button is appropriate while removing unnecessary redundancy. If the content of the image is already conveyed elsewhere (through text or the alternative text of a nearby image) or if the image does not convey content, the image may generally be given empty/null alternative text (alt=""). Image buttons always convey a specific function, and thus cannot be given null alternative text.
38-
3934
> ### The Algorithm... in English
40-
> The same alternative text (case insensitive, but not null/empty) is present for two images or image buttons (<input type='image'>) near each other (no more than 2 other images separate them).
41-
35+
> The same alternative text (case insensitive, but not null/empty) is present for two images or image buttons (`<input type='image'>`) near each other (no more than 2 other images separate them).
4236
> ### Standards and Guidelines
43-
> - 1.1.1 Non-text Content (Level A)
37+
> - [1.1.1 Non-text Content (Level A)](https://webaim.org/standards/wcag/checklist#sc1.1.1)
4438

4539
## Example of a DOM Snippet Generated From WAVE Tool
4640

0 commit comments

Comments
 (0)