=== Oksigenia Access ===
Contributors: oksigenia
Tags: accessibility, a11y, toolbar, wcag, dyslexia
Requires at least: 5.0
Tested up to: 7.0
Stable tag: 17.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

A complete, lightweight, free accessibility suite for WordPress: 17 reading, vision and orientation tools in a floating widget, plus 4 profile presets and 8 locales.

== Description ==

Oksigenia Access is a powerful accessibility toolbar designed to let visitors adapt your site to their needs. It is lightweight, fast, and works with any theme. No telemetry, no external requests, no account required.

**Profile Presets (one click, additive)**:

*   **Low Vision:** zoom + high contrast + highlight links + big cursor + focus outlines.
*   **Dyslexia:** dyslexia font + line height + letter spacing + reading guide.
*   **Motor:** big cursor + big targets (44×44 hit area) + focus outlines.
*   **No Distractions:** hide images + pause animations.

**17 Atomic Controls:**

*   **Text:** Resize text (4 levels), line height (3 levels), align (3 levels), readable font, dyslexia font, letter spacing (3 levels).
*   **Vision:** High contrast, grayscale, hide images, highlight links, colorblind filters (Protanopia, Deuteranopia, Tritanopia).
*   **Orientation:** Reading guide, reading mask, big cursor, big targets (WCAG 2.5.5 minimum 44×44), pause animations, focus outlines.

**Multi-language:** Built-in support for English, Spanish, French, Italian, German, Dutch, Swedish, and **Guarani**.

**Customizable:** Choose icon position (Desktop & Mobile), size, colors, and main icon style (Vitruvian Man, Wheelchair, Eye, Universal).

**Why Oksigenia Access?**
We believe accessibility should be free and easy. This plugin is developed by Oksigenia IT as a contribution to the open-source community.

== Installation ==

1.  Upload the `oksigenia-access` folder to the `/wp-content/plugins/` directory.
2.  Activate the plugin through the 'Plugins' menu in WordPress.
3.  Go to Settings > Oksigenia Access to configure the toolbar position and style.

== Screenshots ==

1.  The accessibility toolbar open on the frontend.
2.  Plugin settings page in the admin dashboard.

== Changelog ==

= 17.2 =
*   Fix: on themes that hardcode `body { font-size: NNpx }` (common on classic WP themes), the 17.1 text-size fix scaled the root `<html>` and anything sized in `rem` (logos, gaps, etc.) but left the body and its descendants pinned to the theme's px declaration — so the visible text didn't move. Now `body.oks-zoom-N` also pins `font-size: 1rem !important`, which re-anchors body into the rem chain so descendants that inherit (no explicit font-size) scale with the level. Descendants with their own explicit `font-size: NNpx` declaration are still isolated, which is the trade-off vs. the exponential bug of pre-17.0 versions.

= 17.1 =
*   Fix: text-size levels (1-4) blew up the layout exponentially. The previous `body.oks-zoom-N *` rules applied `font-size: 1.05em / 1.10em / 1.15em / 1.20em !important` to every descendant via the universal selector. Since `em` is parent-relative, the factor compounded at every nesting level — a heading 3 levels deep ended up at `1.20³ = 1.73×` its intended size, blowing up the layout at level 3 and making the page unusable at level 4. New rules apply `font-size: NN%` to the root `<html>` via `:has(body.oks-zoom-N)`, so `em` / `rem` descendants scale exactly once. Same fix already applied to @oksigenia/access-panel since 0.3.3.
*   Note: with this fix the header/nav also scale with the level (previously they were excluded from the buggy rule). This is the intended behaviour of an accessibility text-size control. If a theme's header doesn't reflow gracefully at +50%, that's a theme limitation to handle in the theme itself.

= 17.0 =
*   New: **Reading Mask** in Orientation — dark overlay with a lit reading band that follows the cursor; more restrictive than the existing reading guide when surroundings are visually noisy.
*   New: **Big Targets** in Orientation — bumps interactive hit-areas (links, buttons, form controls) to 44×44 minimum (WCAG 2.5.5/2.5.8). Adjusts padding + min-* only, never display, so host layouts survive.
*   New: **4 profile presets** at the top of the panel (Low Vision, Dyslexia, Motor, No Distractions). Each one applies a bundle of related toggles in one click. Additive — pressing several unions their flags. 250 ms flash feedback on click; the buttons do not carry a persistent active state because users can adjust afterwards and a "preset active" indicator would lie.
*   17 atomic controls total (was 15) + 4 presets. 7 new translation keys added across all 8 locales (incl. Guaraní).
*   Admin: added **Liberapay** donation button alongside the existing PayPal one.
*   No breaking changes. Existing settings, localStorage state and CSS classes are preserved.

= 16.9 =
*   Standardized PHP/JS prefix to `oksiac_` across all functions, options, settings group, hooks, script handles, localized JS object and localStorage key (WordPress.org Plugin Review compliance).
*   Moved admin inline `<style>` and `<script>` blocks to enqueued assets (`assets/css/admin.css`, `assets/js/admin.js`).
*   Added `OKSIAC_VERSION` constant for asset cache busting.
*   Restricted admin assets to the plugin settings page via the `admin_enqueue_scripts` hook.
*   No functional change for site visitors.

= 16.8 =
*   Renamed plugin to "Oksigenia Access".
*   Added full WordPress i18n support: all admin strings wrapped in __() with text domain oksigenia-access.
*   Added translation files (.pot template + .po for es_ES, fr_FR, de_DE, it_IT, nl_NL, sv_SE).
*   Improved mobile panel: larger touch targets (88px), bigger icons and labels, focus button spans full width when cursor option is hidden.
*   All PHP and CSS comments rewritten in English.
*   Updated Tested up to: 6.9.

= 16.7 =
*   Redesigned big cursor: cleaner shape with white outline for visibility on any background.
*   Big cursor now uses @media (pointer: fine) — does not activate on touch devices.
*   Cursor option hidden from panel on mobile (irrelevant on touchscreens).
*   Reading guide now follows finger on touchscreens (touchmove support).
*   Focus mode: improved iOS Safari tap highlight integration.

= 16.6 =
*   Fixed invisible icons (replaced stroke-based SVGs with fill-based for Hide/Focus buttons).
*   Fixed big cursor not working in Firefox/Safari (URL-encoded SVG data URI).
*   Focus mode now shows dashed outline on all interactive elements immediately on activation.

= 16.5 =
*   Added Letter Spacing control (3 levels, WCAG 1.4.12 compliant).
*   Added Color Blind simulation modes (Protanopia, Deuteranopia, Tritanopia).
*   Added enhanced Focus Indicators toggle.
*   Replaced all emoji/Unicode icons with consistent inline SVGs.
*   Full ARIA dialog implementation: focus trap, Escape key, focus management.
*   Replaced external CDN icon dependencies with inline SVGs.

= 16.4 =
*   Removed TTS feature for stability.
*   Improved UI layout (no gaps).
*   Fixed Front Page loading logic.
*   Optimized code structure for repository standards.

= 16.0 =
*   Added independent mobile position settings.
*   Fixed grid layout issues in admin panel.

= 15.2 =
*   Improved "Close" button visibility.
*   Enhanced branding visibility.

= 15.1 =
*   Added Guarani language support.
*   Updated Admin Panel to English (Standard).

= 14.2 =
*   Added icon selector (Vitruvian, Wheelchair, Eye, Universal).
*   Improved Dyslexia font rendering.

= 14.0 =
*   Initial release on WordPress.org.
