enable img-redundant-alt rule (#55833)

pull/55809/head^2
Ashley Harrison 3 years ago committed by GitHub
parent 615d86d902
commit 422b22a513
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .eslintrc
  2. 2
      public/app/features/alerting/AlertHowToModal.tsx

@ -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",
{

@ -10,7 +10,7 @@ export function AlertHowToModal({ onDismiss }: AlertHowToModalProps): JSX.Elemen
return (
<Modal title="Adding an Alert" isOpen onDismiss={onDismiss} onClickBackdrop={onDismiss}>
<VerticalGroup spacing="sm">
<img src="public/img/alert_howto_new.png" alt="link to how to alert image" />
<img src="public/img/alert_howto_new.png" alt="" />
<p>
Alerts are added and configured in the Alert tab of any dashboard graph panel, letting you build and visualize
an alert using existing queries.

Loading…
Cancel
Save