get( 'widget_features', array( 'font_size', 'contrast', 'dyslexia_font', 'keyboard_nav' ) ); $accessiq_st_widget_color = $accessiq_st_s->get( 'widget_color', '#3CDDC7' ); $accessiq_st_widget_pos = $accessiq_st_s->get( 'widget_position', 'bottom-right' ); $accessiq_st_swatches = array( '#3CDDC7', '#3b82f6', '#8b5cf6', '#ec4899', '#ef4444', '#f59e0b', '#10b981', '#64748b', '#ffffff', ); $accessiq_st_positions = array( 'top-left' => '↖ ' . __( 'Top Left', 'accessiq' ), 'top-right' => '↗ ' . __( 'Top Right', 'accessiq' ), 'bottom-left' => '↙ ' . __( 'Bottom Left', 'accessiq' ), 'bottom-right' => '↘ ' . __( 'Bottom Right', 'accessiq' ), ); $accessiq_st_features = array( 'font_size' => array( __( 'Font Size Control', 'accessiq' ), __( 'Adjust text size from 80% to 150%', 'accessiq' ) ), 'contrast' => array( __( 'High Contrast Mode', 'accessiq' ), __( 'Switch to high-contrast colour scheme', 'accessiq' ) ), 'dyslexia_font' => array( __( 'Dyslexia-Friendly Font', 'accessiq' ), __( 'Apply Lexend font for easier reading', 'accessiq' ) ), 'keyboard_nav' => array( __( 'Keyboard Navigation', 'accessiq' ), __( 'Highlight keyboard focus indicators', 'accessiq' ) ), 'screen_reader' => array( __( 'Screen Reader Optimize', 'accessiq' ), __( 'Optimise page for screen readers', 'accessiq' ) ), 'reading_line' => array( __( 'Reading Line', 'accessiq' ), __( 'Teal line that follows cursor to aid reading', 'accessiq' ) ), 'reading_mask' => array( __( 'Reading Mask', 'accessiq' ), __( 'Dark overlay with spotlight window to focus reading', 'accessiq' ) ), 'stop_animations' => array( __( 'Stop Animations', 'accessiq' ), __( 'Disable all animations and transitions on the page', 'accessiq' ) ), 'big_cursor' => array( __( 'Big Cursor', 'accessiq' ), __( 'Replace cursor with larger arrow for easier visibility', 'accessiq' ) ), 'highlight_links' => array( __( 'Highlight Links', 'accessiq' ), __( 'Outline all links with teal border for easy identification', 'accessiq' ) ), 'highlight_titles' => array( __( 'Highlight Titles', 'accessiq' ), __( 'Add teal left-border accent to all headings h1–h6', 'accessiq' ) ), 'letter_spacing' => array( __( 'Letter Spacing', 'accessiq' ), __( 'Increase space between letters for easier reading (0–5px)', 'accessiq' ) ), 'line_height' => array( __( 'Line Height', 'accessiq' ), __( 'Increase line spacing: 1x default, 2x comfortable, 3x spacious', 'accessiq' ) ), 'monochrome' => array( __( 'Monochrome', 'accessiq' ), __( 'Convert entire page to grayscale for colour-sensitivity users', 'accessiq' ) ), 'saturation' => array( __( 'Saturation', 'accessiq' ), __( 'Reduce or boost colour saturation on the page', 'accessiq' ) ), ); $accessiq_feat_icons = array( 'font_size' => '', 'letter_spacing' => '', 'line_height' => '', 'dyslexia_font' => '', 'reading_line' => '', 'reading_mask' => '', 'contrast' => '', 'monochrome' => '', 'saturation' => '', 'highlight_links' => '', 'highlight_titles'=> '', 'stop_animations' => '', 'big_cursor' => '', 'keyboard_nav' => '', 'screen_reader' => '', ); $accessiq_feat_groups = array( array( 'id' => 'text', 'label' => __( 'Text & Reading', 'accessiq' ), 'color' => '#57f1db', 'icon' => '', 'keys' => array( 'font_size', 'letter_spacing', 'line_height', 'dyslexia_font', 'reading_line', 'reading_mask' ), ), array( 'id' => 'color', 'label' => __( 'Color & Vision', 'accessiq' ), 'color' => '#818cf8', 'icon' => '', 'keys' => array( 'contrast', 'monochrome', 'saturation', 'highlight_links', 'highlight_titles' ), ), array( 'id' => 'motion', 'label' => __( 'Motion & Navigation', 'accessiq' ), 'color' => '#fb923c', 'icon' => '', 'keys' => array( 'stop_animations', 'big_cursor', 'keyboard_nav', 'screen_reader' ), ), ); $accessiq_profiles_enabled = (bool) $accessiq_st_s->get( 'profiles_enabled', true ); $accessiq_enabled_profiles = (array) $accessiq_st_s->get( 'enabled_profiles', array( 'vision', 'adhd', 'seizure', 'dyslexia', 'keyboard' ) ); $accessiq_all_profiles = array( 'vision' => array( 'label' => __( 'Vision Impaired', 'accessiq' ), 'desc' => __( 'Large text, high contrast, large cursor', 'accessiq' ), 'icon' => '', 'color' => '#818cf8', 'features' => __( 'Font Size +3, High Contrast, Large Cursor', 'accessiq' ), ), 'adhd' => array( 'label' => __( 'ADHD Friendly', 'accessiq' ), 'desc' => __( 'Reading line, reading mask, stop animations', 'accessiq' ), 'icon' => '', 'color' => '#fb923c', 'features' => __( 'Reading Line, Reading Mask, Stop Animations, Line Height ×2', 'accessiq' ), ), 'seizure' => array( 'label' => __( 'Seizure Safe', 'accessiq' ), 'desc' => __( 'Stops animations, enables high contrast', 'accessiq' ), 'icon' => '', 'color' => '#34d399', 'features' => __( 'Stop Animations, High Contrast', 'accessiq' ), ), 'dyslexia' => array( 'label' => __( 'Dyslexia', 'accessiq' ), 'desc' => __( 'Dyslexia font, letter & line spacing', 'accessiq' ), 'icon' => '', 'color' => '#f472b6', 'features' => __( 'Dyslexia Font, Letter Spacing +2, Line Height ×2, Font Size +1', 'accessiq' ), ), 'keyboard' => array( 'label' => __( 'Keyboard Only', 'accessiq' ), 'desc' => __( 'Keyboard navigation, focus indicator', 'accessiq' ), 'icon' => '', 'color' => '#57f1db', 'features' => __( 'Keyboard Navigation, Focus Indicator', 'accessiq' ), ), ); ?>