From b205fad175a9a86dfd6894289edf4db1dade9a7f Mon Sep 17 00:00:00 2001 From: nissy-dev Date: Thu, 4 May 2023 17:46:58 +0900 Subject: [PATCH] refactor: error msg --- website/src/pages/lint/rules/useAltText.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/pages/lint/rules/useAltText.md b/website/src/pages/lint/rules/useAltText.md index 79759e2f795..11f2f95535d 100644 --- a/website/src/pages/lint/rules/useAltText.md +++ b/website/src/pages/lint/rules/useAltText.md @@ -22,7 +22,7 @@ By default, this rule checks for alternative text on the following elements: `a11y/useAltText.js:1:1 lint/a11y/useAltText ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - Provide the attribute alt when using img, area or input type='image' + Provide a text alternative through the alt, aria-label or aria-labelledby attribute > 1 │ <img src="image.png" /> ^^^^^^^^^^^^^^^^^^^^^^^ @@ -38,7 +38,7 @@ By default, this rule checks for alternative text on the following elements: `a11y/useAltText.js:1:1 lint/a11y/useAltText ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - Provide the attribute alt when using img, area or input type='image' + Provide a text alternative through the alt, aria-label or aria-labelledby attribute > 1 │ <input type="image" src="image.png" /> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^