=== Ababil 360 - European Accessibility Act Compliance & Auto-Fixer ===
Contributors: md pulok
Tags: accessibility, wcag, eaa, compliance, auto fix, scanner, ada
Requires at least: 6.0
Tested up to: 6.7
Stable tag: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Plugin URI: https://ababil360.com

A powerful accessibility suite designed to scan, detect, and automatically fix Web Content Accessibility Guidelines (WCAG) and European Accessibility Act (EAA) compliance issues.

== Description ==

The European Accessibility Act (EAA) is mandating digital compliance. Ababil 360 is not just a scanner; it is a remediation engine designed to help WordPress site owners achieve compliance with less effort.

Unlike standard plugins that only "report" errors, Ababil 360 uses a proprietary "Auto-Healer" engine to surgically fix HTML issues directly in your database or via a virtual patching layer. It handles complex tasks like fixing missing table headers, cleaning up empty headings, securing external links, and managing media transcripts.

Support: For technical assistance, please contact: support@ababil360.com

= Key Capabilities =

Deep DOM Scanning Engine
The plugin analyzes your content at the DOM level, detecting issues that surface-level scanners miss. It checks for structural gaps, missing attributes, legacy code, and complex readability issues.

3-Layer Auto-Healer System
Fixes are applied using a robust three-tier strategy to ensure compatibility and performance:

Layer 1: Surgical DB Fix (Permanent correction in database)
Layer 2: Virtual Patching (Fixes dynamic content on-the-fly without altering DB)
Layer 3: JS Guardian (Frontend fallback for stubborn elements)

Intelligent Media & Structure Management

Audio & Video: Detects missing captions/transcripts and provides a UI to add them.
Data Tables: Automatically converts invalid data cells (td) to headers (th) where required.
Empty Tags: Identifies and removes empty headings (h2-h6) that confuse screen readers.

== Features ==

= Core Scanning & Fixing =

Missing H1 Detection: Ensures every page has a main heading.
Image Alt Text: Identifies missing or empty alt text and applies smart defaults or manual overrides.
Link Safety: Automatically adds rel="noopener" to external links (target="_blank").
Vague Links: Flags "Click Here" or "Read More" links for better context.
Form Accessibility: Adds aria-labels to inputs missing standard labels.

= Advanced Modules =

Audio & Video Support: Specifically scans <audio> and <video> tags for accessibility compliance.
Table Intelligence: Fixes missing table headers (<th>) automatically.
Legacy Cleanup: Removes banned tags like <marquee> and <blink>.
Readability Check: Flags overly complex paragraphs that may be hard to read.

= Workflow Tools =

Batch Processing: Scan and fix multiple pages in one click.
Manual Intervention UI: For issues requiring human context (like video transcripts), a popup allows quick input without editing the page manually.
Undo Capability: Safely revert changes if the result is not as expected.

== Installation ==

1. Upload the plugin files to the /wp-content/plugins/ababil-360 directory, or install the plugin through the WordPress plugins screen.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Use the Ababil 360 menu to access the scanning console.
4. Run a "Discovery" to find pages, then start scanning.

== Frequently Asked Questions ==

= Does this guarantee 100% compliance? =

While Ababil 360 fixes the majority of technical WCAG/EAA errors (approx. 80-90% of common issues), full compliance often requires a human review of content meaning (e.g., ensuring an image description is accurate). This plugin handles the heavy lifting of code and attribute compliance.

= What happens if I deactivate the plugin? =

Issues fixed via "DB Fix" remain fixed permanently. Issues fixed via "Virtual Patch" or "JS Fallback" will revert to their original state, as they rely on the plugin being active to filter the output.

= Can it fix video captions automatically? =
No AI can perfectly guess a video's content yet. Ababil 360 detects missing captions and provides a popup interface for you to paste the transcript, which it then automatically inserts into the code in an accessible format.

== Screenshots ==

1. Scanner Console - Real-time scanning interface.
2. Auto-Fix Modal - Batch fixing multiple issues.
3. Manual Input UI - Easily adding transcripts and headings.

== Changelog ==

= 1.0.0 =
* Initial release.
* Added Deep DOM Scanner engine.
* Added Audio Scanner and Transcript support.
* Added Table Header auto-fix logic.
* Added Empty Heading removal logic.
* Implemented 3-Layer Auto-Healer engine.
* Integrated Batch Processing and Undo functionality.