get( 'autofix_features', [] );
$aiq_af_fixes = array(
'skip_link' => array(
'label' => __( 'Skip Link', 'accessiq' ),
'desc' => __( 'Adds a "Skip to content" link as the first focusable element — helps keyboard users bypass navigation.', 'accessiq' ),
'wcag_id' => '2.4.1',
'wcag_txt' => __( 'Bypass Blocks', 'accessiq' ),
'icon' => '',
),
'focus_outline' => array(
'label' => __( 'Focus Outline', 'accessiq' ),
'desc' => __( 'Injects a visible teal focus ring on all focusable elements when theme focus styles are missing.', 'accessiq' ),
'wcag_id' => '2.4.7',
'wcag_txt' => __( 'Focus Visible', 'accessiq' ),
'icon' => '',
),
'html_lang' => array(
'label' => __( 'HTML Lang Attribute', 'accessiq' ),
'desc' => __( 'Auto-adds lang attribute to <html> tag using WordPress site language if missing.', 'accessiq' ),
'wcag_id' => '3.1.1',
'wcag_txt' => __( 'Language of Page', 'accessiq' ),
'icon' => '',
),
'alt_fix' => array(
'label' => __( 'Image Alt Text', 'accessiq' ),
'desc' => __( 'Fills missing alt attributes from your Media Library alt text, and marks tracking pixels, spacers and presentational images as alt="". Meaningful images without alt are left for you to describe.', 'accessiq' ),
'wcag_id' => '1.1.1',
'wcag_txt' => __( 'Non-text Content', 'accessiq' ),
'icon' => '',
),
);
$aiq_af_active_count = count( array_intersect( array_keys( $aiq_af_fixes ), $aiq_af_enabled ) );
?>
$aiq_af_fix ) :
$aiq_af_is_active = in_array( $aiq_af_key, $aiq_af_enabled, true );
?>
'
. esc_html__( 'Settings → Auto-Fix', 'accessiq' )
. ''
);
?>