From d293055ef61a82b1e842d2b466c2e46531c46702 Mon Sep 17 00:00:00 2001 From: Ashley Harrison Date: Tue, 4 Oct 2022 16:04:28 +0100 Subject: [PATCH] enable rule `jsx-a11y/iframe-has-title` (#56292) --- .eslintrc | 2 +- .../app/features/dashboard/components/HelpWizard/HelpWizard.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc b/.eslintrc index 40b042e0a15..1b384e06201 100644 --- a/.eslintrc +++ b/.eslintrc @@ -79,7 +79,7 @@ "jsx-a11y/click-events-have-key-events": "off", "jsx-a11y/heading-has-content": "error", "jsx-a11y/html-has-lang": "error", - "jsx-a11y/iframe-has-title": "off", + "jsx-a11y/iframe-has-title": "error", "jsx-a11y/img-redundant-alt": "error", "jsx-a11y/interactive-supports-focus": [ "off", diff --git a/public/app/features/dashboard/components/HelpWizard/HelpWizard.tsx b/public/app/features/dashboard/components/HelpWizard/HelpWizard.tsx index 1698000c553..f0a95b690d0 100644 --- a/public/app/features/dashboard/components/HelpWizard/HelpWizard.tsx +++ b/public/app/features/dashboard/components/HelpWizard/HelpWizard.tsx @@ -202,6 +202,7 @@ export function HelpWizard({ panel, plugin, onClose }: Props) { {({ height }) => ( <>