settings = AccessIQ_Settings::instance(); add_action( 'wp_head', [ $this, 'inject_fixes' ], 1 ); add_action( 'wp_footer', [ $this, 'inject_skip_link' ], 1 ); add_filter( 'language_attributes', [ $this, 'fix_lang_attribute' ] ); add_filter( 'the_content', [ $this, 'fix_decorative_images' ] ); } /* ── 1. Skip Link ──────────────────────────────────────────── */ /** * Output skip-to-content link as first element in footer (priority 1). * Visually hidden until focused via CSS; accessible via keyboard tab. */ public function inject_skip_link() { if ( ! $this->is_enabled( 'skip_link' ) ) { return; } echo '' . esc_html__( 'Skip to content', 'accessiq' ) . ''; } /* ── 2 & 5. CSS injection ──────────────────────────────────── */ /** * Inject CSS fixes via wp_add_inline_style (WP.org compliant, no raw