=== TNK Barrierefrei ===
Contributors: thenetkey
Tags: accessibility, barrierefreiheit, bfsg, wcag, eaa
Requires at least: 6.7
Tested up to: 7.2
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Finds every barrier with axe-core, fixes page language, zoom and skip link in your HTML, shows step-by-step help for the rest and creates the BFSG statement.

== Description ==

TNK Barrierefrei checks your website for accessibility barriers and fixes the first ones where they are: in the HTML that your site delivers. There is no widget, no overlay script and no account.

= Honest scan =

The built-in scanner checks your home page and all your pages in your own browser with axe-core against WCAG 2.0, 2.1 and 2.2 up to level AA. Every page is checked twice, once without and once with the fixes, so you see exactly what the plugin fixes and what is still open. Only the findings are stored, never the content of your pages. There is no limit on the number of pages.

= Fixes in your HTML =

* Missing or invalid page language
* Zoom blocked on mobile devices
* Missing skip link to the content

Every fix can be switched off, and the Changes tab shows each change before and after.

= Step-by-step help for everything else =

Every finding shows the affected places with Show on the page and a direct link to the WordPress editor, Elementor, Themify or the Customizer, plus instructions on how to fix it in your theme or page builder. For contrast problems the plugin calculates a suggested color that keeps your hue.

= Preview and approval =

New installations start in preview mode: all corrections are calculated and included in the scan, but your visitors see nothing until you switch them live.

= Screen reader check =

Eleven screen reader checkpoints are tested automatically on every page, with a transcript of what a screen reader announces.

= Accessibility statement =

The plugin creates the information required by section 14 and Annex 3 of the German Accessibility Strengthening Act (BFSG) from your current scan results, including the competent market surveillance authority. It never claims more than your site delivers.

= Error reports =

The Errors tab collects failed scans and server errors with technical context. You can send a report to THE NET KEY with one click.

= TNK Barrierefrei Pro =

TNK Barrierefrei Pro is a separate plugin that extends this one. It fixes alternative texts, link and button names, form labels, headings, page regions, contrast and click areas automatically, writes texts with the AI provider of your choice, checks posts, WooCommerce products and all content types, fills in the statement with AI, records a manual screen reader test and adds an x-ray view. This plugin works fully without it. More at https://plugins.thenetkey.com/barrierefrei

= What the plugin does not do =

Automated tests find only part of all accessibility problems. Keyboard operation, understandable texts and the logic of your forms must also be checked by people. The plugin shows you where to start.

== Disclaimer ==

TNK Barrierefrei supports you with accessibility, but it is not legal advice and does not replace a complete test by people. Automated tests find only part of all barriers. THE NET KEY does not guarantee that your website meets the requirements of the BFSG, the EAA or the WCAG and, as far as legally permitted, accepts no liability for damages or claims arising from the use of the plugin. You are responsible for your website and your accessibility statement. Corrections only go live after you confirm this notice.

== Installation ==

1. Upload the plugin and activate it.
2. Open Accessibility in the admin menu and start the first scan.
3. Check the findings, follow the instructions for each place and complete the statement.

== Frequently Asked Questions ==

= Do I need an account? =

No. The plugin works without registration and sends no data to external services.

= Does it work with caching plugins? =

Yes. The fixes are part of the HTML, so caching plugins store the corrected pages.

= What happens when I deactivate the plugin? =

The fixes in the HTML end with the plugin. Your content is not changed.

== External services ==

The plugin itself connects to no external service.

Error reports: only when you click Send report in the Errors tab, the plugin sends an email from your server to bugreport@thenetkey.com. It contains the selected error messages, the technical context of each error and, if you leave the option switched on, the versions of WordPress, PHP, the plugin, your theme and your active plugins. Your note and email address are included only if you enter them. API keys, passwords and tokens are removed before sending. You can see the full report before you send it. Nothing is sent automatically.

== Third party software ==

The scanner uses axe-core by Deque Systems, licensed under the Mozilla Public License 2.0. See assets/vendor/axe-LICENSE.txt.

== Changelog ==

= 1.0.0 =
* Free and Pro: the free plugin now scans your home page and all pages without limit, fixes page language, zoom and skip link and gives step-by-step instructions for every other finding. AI, automatic fixes, posts and products moved to the separate TNK Barrierefrei Pro plugin.
* Show on the page works without the x-ray view.

= 0.6.0 =
* Nothing goes live without your decision: corrections stay in preview until you confirm the notice. Updates from earlier versions also start in preview.
* The cockpit shows the real result without changes first and the result after applying them as a preview.
* Screen reader test: automated check of eleven screen reader checkpoints on every page plus a guided manual test with NVDA or VoiceOver. Both go into the statement.
* Links in running text are underlined automatically (WCAG 1.4.1).
* Contrast colors adjustable with a slider limited to the allowed range, plus similar colors that meet the requirement.
* The scan covers every kind of content: pages, posts, products, custom post types, archives, author pages, search and the 404 page.
* Clickable status at the top, clearer errors when filling in the statement with AI.

= 0.5.0 =
* New Errors tab: the plugin collects failed AI requests, scan problems, correction errors, server errors and admin errors with full technical context.
* Send a report to THE NET KEY with one click, with preview, note and reply address. Keys are removed automatically. Copy fallback when the server cannot send email.

= 0.4.0 =
* Every finding links to its place: Show on the page highlights the element, Edit in opens the WordPress editor, Elementor or the Themify page.
* Every single change can be undone or set manually, per element, under Changes. Own colors for contrast corrections.

= 0.3.1 =
* Connecting an AI: the key selects its provider, Connect and test saves and checks in one step.
* Caches of common caching plugins are cleared after approvals and changes.

= 0.3.0 =
* Preview mode with approval, new Changes tab with before and after for every change.
* Design corrections stored in the database and written into the HTML per element, verified by a second scan.
* Deterministic scans: animations and lazy content settle before each check, all affected elements are measured.
* The AI runs within the first scan, so the first result is complete.
* The AI reads home page, imprint and contact page and fills in the whole statement.

= 0.2.0 =
* AI autopilot with Claude, ChatGPT, Gemini, Mistral, OpenRouter and WordPress connectors, review and autopilot mode, undo.
* AI alt text in the media library and on upload.
* New fixes: autocomplete, main heading and heading levels, hidden focusable elements, tab order, page title, media controls, reduced motion.
* Accessibility index, WCAG principles, BFSG risk and trend.
* X-ray view in the admin bar.
* New dashboard.

= 0.1.0 =
* First version.
