=== NormHarbor Accessibility Badge ===
Contributors: normharbor
Tags: accessibility, wcag, eaa, badge, compliance
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Embed your live NormHarbor accessibility score badge on your WordPress site.

== Description ==

NormHarbor (https://normharbor.com) scans your site for real WCAG 2.1 AA / EN 301 549 accessibility
issues — an honest audit, not an overlay. This plugin adds a single shortcode so you can show your
live compliance score badge anywhere on your site. The badge does not link anywhere unless you turn the link on.

= Usage =

1. Sign in to your NormHarbor account and monitor a site (available on every plan).
2. Open that site's history page and copy the token from the "Embed your score badge" section.
3. Add the shortcode to any post, page, or widget:

`[normharbor_badge token="YOUR_TOKEN"]`

The badge is a plain image. To make it link to the NormHarbor website, opt in with `link="yes"`. The optional `lang` attribute (`en`, `it`, `de`; default `en`) picks the language of that link:

`[normharbor_badge token="YOUR_TOKEN" link="yes" lang="de"]`

The badge image is served directly from normharbor.com and reflects your latest scan automatically.
Without `link="yes"` the plugin adds no link and no credit to your pages.

== External services ==

This plugin loads one SVG image per badge from `https://normharbor.com/badge/<token>.svg` (NormHarbor, normharbor.com).
When a visitor's browser requests the badge, the visitor's IP address and the referring page URL reach NormHarbor
like with any externally hosted image. Nothing is sent from your server and the plugin stores nothing itself.

* Privacy policy: https://normharbor.com/en/privacy
* Terms of service: https://normharbor.com/en/terms

== Installation ==

1. Upload the `normharbor-badge` folder to `/wp-content/plugins/`.
2. Activate the plugin through the "Plugins" menu in WordPress.
3. Add the `[normharbor_badge token="..."]` shortcode wherever you'd like the badge to appear.

== Frequently Asked Questions ==

= Does this plugin collect any data? =

The plugin itself collects and stores nothing and makes no requests from your server. It renders an `<img>` tag (wrapped in a link only if you set `link="yes"`); visitors' browsers load the badge image from normharbor.com, so their IP address and referrer reach NormHarbor (see "External services").

= Where do I get a token? =

Your token is shown on your NormHarbor account's site history page, under "Embed your score badge" —
available once you've added and are monitoring a site.

= Will this slow down my site? =

No — it's a single `<img>` request to a small, cached SVG. No JavaScript, no external stylesheets.

== Changelog ==

= 1.1.0 =
* The link to NormHarbor is now opt-in (`link="yes"`), off by default.
* Added Requires at least / Requires PHP headers.

= 1.0.0 =
* Initial release: `[normharbor_badge]` shortcode.
