1, 'skip_to_content_text' => 'Skip to content', 'skip_to_nav_text' => 'Skip to navigation', 'skip_to_footer_text' => 'Skip to footer', 'skip_links_style' => 'default', // Focus Management 'focus_outline_enabled' => 1, 'focus_outline_color' => '#005fcc', 'focus_outline_width' => '3', 'focus_outline_style' => 'solid', 'remove_outline_disabled' => 0, // Font Size Controls 'font_resizer_enabled' => 1, 'font_resizer_position' => 'bottom-right', 'font_min_size' => '80', 'font_max_size' => '150', 'font_default_size' => '100', 'font_step' => '10', // Color / Contrast 'contrast_switcher_enabled' => 1, 'high_contrast_enabled' => 1, 'dark_mode_enabled' => 1, 'grayscale_enabled' => 1, 'invert_colors_enabled' => 1, 'contrast_position' => 'bottom-right', // Links 'underline_links' => 0, 'highlight_links' => 0, 'link_indicator_enabled' => 0, 'external_link_indicator' => 1, 'new_tab_warning' => 1, // Images 'image_alt_check' => 1, 'show_missing_alt_admin' => 1, 'decorative_empty_alt' => 1, // Forms 'label_check_enabled' => 1, 'required_field_indicator' => 1, 'error_summary_enabled' => 1, // Keyboard Navigation 'keyboard_nav_enabled' => 1, 'tab_index_fix' => 1, 'arrow_key_nav' => 0, // Screen Reader 'sr_only_css_enabled' => 1, 'screen_reader_text_links' => 1, 'read_more_text' => 'Read more about %s', // ARIA & Landmarks 'aria_landmarks_enabled' => 1, 'auto_aria_labels' => 1, 'page_title_aria' => 1, // Animation / Motion 'reduce_motion_enabled' => 1, 'pause_animations' => 1, // Toolbar 'toolbar_enabled' => 1, 'toolbar_position' => 'bottom-right', 'toolbar_color' => '#1a73e8', 'toolbar_show_font_resize' => 1, 'toolbar_show_contrast' => 1, 'toolbar_show_grayscale' => 1, 'toolbar_show_links' => 1, 'toolbar_show_cursor' => 1, 'toolbar_show_reading_guide' => 1, 'toolbar_show_dyslexia_font' => 1, // Dyslexia 'dyslexia_font_enabled' => 1, // Reading Guide 'reading_guide_enabled' => 1, // Big Cursor 'big_cursor_enabled' => 1, // Page Structure 'heading_structure_check' => 1, 'auto_fix_heading_order' => 0, // Tables 'table_accessibility' => 1, 'table_scope_fix' => 1, // Media 'video_captions_notice' => 1, 'audio_transcript_notice' => 1, ); } // Install / activation register_activation_hook( __FILE__, 'wpas_activate' ); function wpas_activate() { $defaults = wpas_default_settings(); if ( ! get_option( 'wpas_settings' ) ) { update_option( 'wpas_settings', $defaults ); } } register_deactivation_hook( __FILE__, 'wpas_deactivate' ); function wpas_deactivate() { // Nothing destructive on deactivate } // Load includes require_once WPAS_PLUGIN_DIR . 'includes/helpers.php'; require_once WPAS_PLUGIN_DIR . 'includes/frontend.php'; require_once WPAS_PLUGIN_DIR . 'includes/checks.php'; require_once WPAS_PLUGIN_DIR . 'admin/admin-page.php';