Skip to content

Commit 9d93bc4

Browse files
authored
Image name descriptive update example descriptions
As suggested by Daniel, adding reason for failures in failed 2 and 3.
1 parent 70fdc54 commit 9d93bc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_rules/image-accessible-name-descriptive-qt1vmo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ This `img` element has an `alt` attribute that incorrectly describes the image.
136136

137137
#### Failed Example 2
138138

139-
This `svg` element has an `aria-label` attribute that incorrectly describes the image.
139+
This `svg` element has an `aria-label` attribute that incorrectly describes the image because aria-label is "W3C Logo" instead of "HTML 5 Logo".
140140

141141
```html
142142
<html lang="en">
@@ -157,7 +157,7 @@ This `svg` element has an `aria-label` attribute that incorrectly describes the
157157

158158
#### Failed Example 3
159159

160-
This `canvas` element has an `aria-label` attribute that incorrectly describes the image.
160+
This `canvas` element has an `aria-label` attribute that incorrectly describes the image because aria-label is "HTML 5 Logo" instead of "W3C Logo".
161161

162162
```html
163163
<html lang="en">

0 commit comments

Comments
 (0)