From 9d93bc44a94e97d54c92236ce29037fe70d14d01 Mon Sep 17 00:00:00 2001 From: will Date: Mon, 22 Aug 2022 09:59:14 -0400 Subject: [PATCH] Image name descriptive update example descriptions As suggested by Daniel, adding reason for failures in failed 2 and 3. --- _rules/image-accessible-name-descriptive-qt1vmo.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_rules/image-accessible-name-descriptive-qt1vmo.md b/_rules/image-accessible-name-descriptive-qt1vmo.md index 983f7cb9f2d..5029b7dbc3b 100755 --- a/_rules/image-accessible-name-descriptive-qt1vmo.md +++ b/_rules/image-accessible-name-descriptive-qt1vmo.md @@ -136,7 +136,7 @@ This `img` element has an `alt` attribute that incorrectly describes the image. #### Failed Example 2 -This `svg` element has an `aria-label` attribute that incorrectly describes the image. +This `svg` element has an `aria-label` attribute that incorrectly describes the image because aria-label is "W3C Logo" instead of "HTML 5 Logo". ```html @@ -157,7 +157,7 @@ This `svg` element has an `aria-label` attribute that incorrectly describes the #### Failed Example 3 -This `canvas` element has an `aria-label` attribute that incorrectly describes the image. +This `canvas` element has an `aria-label` attribute that incorrectly describes the image because aria-label is "HTML 5 Logo" instead of "W3C Logo". ```html