esc_html__( 'Missing Title', 'accessibility-checker' ),
'info_url' => 'https://a11ychecker.com/help4431',
'slug' => 'missing_title',
'rule_type' => 'error',
'summary' => sprintf(
// translators: %1$s is <title>, %2$s is og:title.
esc_html__( 'This element is missing a title tag (%1$s or %2$s). This may happen if the post or page title field is empty or if the theme fails to output a title tag in the document head.', 'accessibility-checker' ),
'<title>',
'og:title'
),
'summary_plural' => sprintf(
// translators: %1$s is <title>, %2$s is og:title.
esc_html__( 'These elements are missing title tags (%1$s or %2$s). This may happen if post or page title fields are empty or if the theme fails to output title tags in the document head.', 'accessibility-checker' ),
'<title>',
'og:title'
),
'why_it_matters' => esc_html__( 'The title element is used by screen readers, search engines, and browser tabs to identify the page. Without a title, users may have difficulty determining the purpose of the page.', 'accessibility-checker' ),
'how_to_fix' => esc_html__( 'Ensure the post or page title field is filled in on the backend. If the title field is not empty and the error persists, check your theme\'s code to make sure it outputs a valid