From 422b22a5130ec5307e85e80d40fe3673c83bc248 Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Tue, 27 Sep 2022 15:26:32 +0100 Subject: [PATCH] enable img-redundant-alt rule (#55833) --- .eslintrc | 2 +- public/app/features/alerting/AlertHowToModal.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc b/.eslintrc index a06a3cd8557..cb9fff6bc19 100644 --- a/.eslintrc +++ b/.eslintrc @@ -54,7 +54,7 @@ "jsx-a11y/heading-has-content": "error", "jsx-a11y/html-has-lang": "error", "jsx-a11y/iframe-has-title": "off", - "jsx-a11y/img-redundant-alt": "off", + "jsx-a11y/img-redundant-alt": "error", "jsx-a11y/interactive-supports-focus": [ "off", { diff --git a/public/app/features/alerting/AlertHowToModal.tsx b/public/app/features/alerting/AlertHowToModal.tsx index 4ebddb0c089..9de9bcf7eda 100644 --- a/public/app/features/alerting/AlertHowToModal.tsx +++ b/public/app/features/alerting/AlertHowToModal.tsx @@ -10,7 +10,7 @@ export function AlertHowToModal({ onDismiss }: AlertHowToModalProps): JSX.Elemen return ( - link to how to alert image +

Alerts are added and configured in the Alert tab of any dashboard graph panel, letting you build and visualize an alert using existing queries.