From 4215ac5d479d10a3cc17c42b4fcb57b1123d92fc Mon Sep 17 00:00:00 2001 From: pattonwebz Date: Wed, 29 May 2024 14:08:00 +0100 Subject: [PATCH] Correct iframe_missing_title summary --- includes/rules.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/includes/rules.php b/includes/rules.php index ce6e2543..dd8bc796 100644 --- a/includes/rules.php +++ b/includes/rules.php @@ -92,11 +92,9 @@ 'slug' => 'iframe_missing_title', 'rule_type' => 'error', 'summary' => sprintf( - // translators: %1$s is <h3>, %2$s is <h1>, %3$s is <h2>. - esc_html__( 'An Incorrect Heading Order error means your heading structure has skipped over a level. For example, if your page structure has a level 3 heading (%1$s) under a level 1 heading (%2$s), an Incorrect Heading Order error will be flagged because there is no %3$s tag between the H1 and H2. To fix incorrect heading order errors, you will need to either change the incorrect heading level to the correct heading level, or add content with the correct heading level in between the two already existing levels.', 'accessibility-checker' ), - '<h3>', - '<h1>', - '<h2>' + // translators: %1$s is <frame>. + esc_html__( 'An iFrame Missing title error means that one or more of the iFrames on your post or page does not have an accessible title describing the contents of the iFrame. An iFrame title is an attribute that can be added to the %1$s tag to describe the contents of the frame to people using assistive technology. To fix a missing iFrame title, you will need to add a title or an aria-label attribute to the %1$s tag. The attribute should accurately describe the contents of the iFrame.', 'accessibility-checker' ), + '<iframe>', ), ], [