esc_html__( 'Incorrect Heading Order', 'accessibility-checker' ), 'info_url' => 'https://a11ychecker.com/help1940', 'slug' => 'incorrect_heading_order', 'rule_type' => 'error', 'summary' => esc_html__( 'This page uses headings out of order, skipping one or more heading levels.', 'accessibility-checker' ), 'summary_plural' => sprintf( // translators: %1$s is <h1>, %2$s is <h3>, %3$s is <h2><h1>', '<h3>', '<h2>' ), 'why_it_matters' => esc_html__( 'Headings help all users—especially those using screen readers or keyboard navigation—understand the structure of the page. Skipping heading levels can create confusion and make it harder to follow the content hierarchy or navigate efficiently.', 'accessibility-checker' ), 'how_to_fix' => sprintf( // translators: %1$s is <h1>, %2$s is <h3>, %3$s is <h2><h1>', '<h3>', '<h2>' ), 'references' => [ [ 'text' => __( 'W3C Page Structure Tutorial: Headings', 'accessibility-checker' ), 'url' => 'https://www.w3.org/WAI/tutorials/page-structure/headings/', ], ], 'ruleset' => 'js', 'wcag' => '1.3.1', 'severity' => 2, // High. 'affected_disabilities' => [ AffectedDisabilities::BLIND, AffectedDisabilities::LOW_VISION, AffectedDisabilities::DEAFBLIND, AffectedDisabilities::COGNITIVE, AffectedDisabilities::MOBILITY, ], 'combines' => [ 'heading-order', ], ]; } }