enable img-redundant-alt rule (#55833)

This commit is contained in:
Ashley Harrison 2022-09-27 15:26:32 +01:00 committed by GitHub
parent 615d86d902
commit 422b22a513
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@
"jsx-a11y/heading-has-content": "error", "jsx-a11y/heading-has-content": "error",
"jsx-a11y/html-has-lang": "error", "jsx-a11y/html-has-lang": "error",
"jsx-a11y/iframe-has-title": "off", "jsx-a11y/iframe-has-title": "off",
"jsx-a11y/img-redundant-alt": "off", "jsx-a11y/img-redundant-alt": "error",
"jsx-a11y/interactive-supports-focus": [ "jsx-a11y/interactive-supports-focus": [
"off", "off",
{ {

View File

@ -10,7 +10,7 @@ export function AlertHowToModal({ onDismiss }: AlertHowToModalProps): JSX.Elemen
return ( return (
<Modal title="Adding an Alert" isOpen onDismiss={onDismiss} onClickBackdrop={onDismiss}> <Modal title="Adding an Alert" isOpen onDismiss={onDismiss} onClickBackdrop={onDismiss}>
<VerticalGroup spacing="sm"> <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> <p>
Alerts are added and configured in the Alert tab of any dashboard graph panel, letting you build and visualize Alerts are added and configured in the Alert tab of any dashboard graph panel, letting you build and visualize
an alert using existing queries. an alert using existing queries.