=== זהנגיש ===
Contributors: shmulikdorinbaum
Tags: accessibility, נגישות, accessibility statement, WCAG, a11y
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.2
Stable tag: 1.0.8
License: Freemium, attribution required (see LICENSE.txt)
License URI: https://www.shmul.co.il/zehnagish-license/

A self-contained bilingual accessibility widget plus an auto-generated legal accessibility statement. No external services, no tracking.

== Description ==

Adds a complete accessibility layer to any WordPress site, with zero configuration beyond your contact details:

* A floating accessibility widget (♿) on every page, with 15 controls: text sizing, dark/light contrast, invert colours, grayscale, highlight links and headings, readable font, letter and line spacing, stop animations, big cursor, reading guide and mask, plus a skip-to-content link.
* Full keyboard operation, ARIA roles, focus trap and Esc to close. Visitor preferences persist across pages.
* The widget is bilingual: it reads your site language and renders Hebrew (RTL, button bottom-left) or English (LTR, button bottom-right) automatically.
* An auto-generated legal accessibility statement page. Hebrew statements cite Israeli Standard ת"י 5568 (level AA, based on WCAG 2.0) and the accessibility-of-service regulations. English statements target WCAG 2.1 AA and reference the ADA.
* An optional footer link to the statement on every page.

The widget is self-contained: it injects its own styles and markup, loads no external resources, sets no tracking cookies, and stores a visitor's chosen settings only in their own browser (localStorage).

Note: an accessibility widget complements, but does not replace, accessible site code and content.

License and credit: the plugin is free on one condition, that the small "ZeNagish, www.shmul.co.il" credit on the generated accessibility statement page stays visible. That credit is the price of the free license. Removing, hiding, or altering it requires a paid white-label license from www.shmul.co.il. Doing so without a license is a breach of the license and an infringement of copyright in code built specifically under Shmul's terms. See LICENSE.txt. Full terms and a no-credit license: https://www.shmul.co.il/zehnagish-license/

== Installation ==

1. In WordPress, go to Plugins → Add New → Upload Plugin.
2. Upload `accessibility-il.zip` and click Install Now, then Activate.
3. Go to Settings → Accessibility IL and fill in the accessibility coordinator's name, email (required) and phone (optional).
4. Done. The widget is live on every page and a statement page was created automatically (it appears in your Pages list).

To place the statement somewhere custom, drop the `[accessibility_statement]` shortcode into any page.

== Frequently Asked Questions ==

= Does it send any data anywhere? =
No. The widget runs entirely in the browser and stores preferences only in the visitor's own browser. No analytics, no external requests.

= Hebrew or English? =
Automatic, based on your site's language setting. You can force one in Settings → Accessibility IL.

= Where is the statement page? =
It is created on activation (slug `/accessibility/` for Hebrew, `/accessibility-statement/` for English) and updates whenever you change the coordinator details. The link is shown on the settings screen.

= Is this full legal compliance? =
The plugin provides the widget and a properly worded statement, which are required components. Full conformance also depends on your theme and content being accessible. The statement is honestly worded as "aims to conform".

== Changelog ==

= 1.0.8 =
* Statement credit now also links LEOS Media (leos.co.il) alongside shmul.co.il.

= 1.0.7 =
* Fixed a 502 error on activation, the settings sanitize callback recursed through update_option. It is now pure.
* Added a License & credit section in the settings screen, and pointed all license links to the dedicated page https://www.shmul.co.il/zehnagish-license/ instead of the homepage.

= 1.0.6 =
* License clarified: free to use as long as the "ZeNagish, www.shmul.co.il" credit on the statement page stays visible. Removing it requires a paid white-label license. Added LICENSE.txt and in-code attribution notices.

= 1.0.5 =
* Plugin name set to the clean brand "זהנגיש".

= 1.0.4 =
* Removed em-dashes from plugin texts in favor of clean comma phrasing.

= 1.0.3 =
* Creator credit on the statement page is now clearer (larger, separated) and links to the full domain https://www.shmul.co.il/.

= 1.0.2 =
* Rebranded to "זהנגיש" (ZeNagish).
* Added a creator credit linking to shmul.co.il at the bottom of the accessibility statement page.

= 1.0.1 =
* Text-size control now works on any theme: each element is scaled proportionally from its own size instead of relying on the root font-size (which themes with hard-coded px ignored).
* Statement email now auto-uses the site's WordPress admin email when the coordinator email field is left empty, ideal for client sites.

= 1.0.0 =
* Initial release. Bilingual widget + auto-generated statement, settings screen, optional footer link. Field-proven on shmul.co.il and newname.co.il before packaging.
