Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions includes/classes/Rules/Rule/IncorrectHeadingOrderRule.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,7 @@ public static function get_rule(): array {
'info_url' => 'https://a11ychecker.com/help1940',
'slug' => 'incorrect_heading_order',
'rule_type' => 'error',
'summary' => sprintf(
// translators: %1$s is the found heading level (e.g., <h3>), %2$s is the previous heading level (e.g., <h1>.
esc_html__( 'This page uses headings out of order. This is an %1$s after an %2$s, skipping one or more heading levels.', 'accessibility-checker' ),
'<code>&lt;h3&gt;</code>',
'<code>&lt;h1&gt;</code>'
),
'summary' => esc_html__( 'This page uses headings out of order, skipping one or more heading levels.', 'accessibility-checker' ),
Comment thread
SteveJonesDev marked this conversation as resolved.
'summary_plural' => sprintf(
// translators: %1$s is <code>&lt;h1&gt;</code>, %2$s is <code>&lt;h3&gt;</code>, %3$s is <code>&lt;h2&gt;</code.
esc_html__( 'These pages use headings out of order, skipping one or more heading levels, such as going from %1$s to %2$s without an %3$s between.', 'accessibility-checker' ),
Expand Down
Loading