From 1a5e09eec9e6f52e8323226381247c42952e56f9 Mon Sep 17 00:00:00 2001 From: Kate Higa <16447748+khiga8@users.noreply.github.com> Date: Thu, 5 Oct 2023 22:07:27 -0400 Subject: [PATCH] Add detail --- src/rules/no-default-alt-text.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rules/no-default-alt-text.js b/src/rules/no-default-alt-text.js index c5f03ea..3254561 100644 --- a/src/rules/no-default-alt-text.js +++ b/src/rules/no-default-alt-text.js @@ -59,6 +59,7 @@ module.exports = { onError({ lineNumber: lineNumber + i, range: [startIndex + 1, altText.length], + detail: `Flagged alt: ${altText}`, }); } }