enable rule jsx-a11y/iframe-has-title (#56292)

This commit is contained in:
Ashley Harrison 2022-10-04 16:04:28 +01:00 committed by GitHub
parent a7de5182b0
commit d293055ef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -202,6 +202,7 @@ export function HelpWizard({ panel, plugin, onClose }: Props) {
{({ height }) => (
<>
<iframe
title="Support snapshot preview"
src={`${config.appUrl}dashboard/new?orgId=${contextSrv.user.orgId}&kiosk&${snapshotUpdate}`}
width="100%"
height={height - 100}