get( 'widget_features', array( 'font_size', 'contrast', 'dyslexia_font', 'keyboard_nav' ) ); $accessiq_st_enable_click = get_option( 'accessiq_analytics_enable_click_tracking', true ); $accessiq_st_enable_behavior = get_option( 'accessiq_analytics_enable_behavior_tracking', true ); $accessiq_st_excl_logged_in = get_option( 'accessiq_analytics_exclude_logged_in', false ); $accessiq_st_replace_dash = get_option( 'accessiq_analytics_replace_dashboard', false ); $accessiq_st_retention = (int) get_option( 'accessiq_analytics_data_retention', 90 ); $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_scan_level = $accessiq_st_s->get( 'scan_level', 'AA' ); // Last accessibility score for sidebar mini card. $accessiq_st_scan_posts = get_posts( array( 'post_type' => ACCESSIQ_SCAN_CPT, 'posts_per_page' => 1, 'orderby' => 'date', 'order' => 'DESC', ) ); $accessiq_st_score = ! empty( $accessiq_st_scan_posts ) ? (int) get_post_meta( $accessiq_st_scan_posts[0]->ID, '_accessiq_score', true ) : 0; // Colour swatches. $accessiq_st_swatches = array( '#3CDDC7', '#3b82f6', '#8b5cf6', '#ec4899', '#ef4444', '#f59e0b', '#10b981', '#64748b', '#ffffff', ); // Position options. $accessiq_st_positions = array( 'top-left' => '↖ Top Left', 'top-right' => '↗ Top Right', 'bottom-left' => '↙ Bottom Left', 'bottom-right' => '↘ Bottom Right', ); // Feature toggles. $accessiq_st_features = array( 'font_size' => array( 'Font Size Control', 'Adjust text size from 80% to 150%' ), 'contrast' => array( 'High Contrast Mode', 'Switch to high-contrast colour scheme' ), 'dyslexia_font' => array( 'Dyslexia-Friendly Font', 'Apply Lexend font for easier reading' ), 'keyboard_nav' => array( 'Keyboard Navigation', 'Highlight keyboard focus indicators' ), 'screen_reader' => array( 'Screen Reader Optimize', 'Optimise page for screen readers' ), ); ?>

$accessiq_st_pos_label ) : ?>
list( $accessiq_st_flabel, $accessiq_st_fdesc ) ) : ?>