=== SumitTejani Site Audit Insights ===
Contributors: sumittejani, concatstring, shobhit2412, kakshak
Tags: performance, accessibility, seo, woocommerce, site health
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI-powered website health, accessibility, performance, and quality intelligence platform for WordPress.

== Description ==

**SumitTejani Site Audit Insights** is the Lighthouse + Datadog + Ahrefs layer inside your WordPress admin. It analyzes your site across six dimensions — performance, accessibility, SEO structure, plugin impact, content quality, and WooCommerce health — and surfaces actionable, prioritized recommendations through a beautiful modern dashboard.

= Why SumitTejani Site Audit Insights? =

* It is not another optimization plugin. It is a diagnostic platform.
* It does not modify your site without consent. Every safe fix is opt-in.
* It is privacy-first. No external requests, telemetry or tracking unless you explicitly opt in.
* It is developer-friendly. PSR-4 autoloading, REST API, hooks, filters, modular scan engine.

= Modules =

* **Performance Intelligence** — Heavy assets, oversized images, plugin bloat, excessive DOM, page weight.
* **Accessibility Intelligence** — WCAG 2.1 AA static analysis: alt text, heading order, labels, empty links.
* **SEO Structure Intelligence** — Missing titles/descriptions, headings, orphan pages, broken external links.
* **Plugin Impact Analyzer** — Asset weight per plugin, duplicate-library detection.
* **Content Quality Intelligence** — Thin content, stale posts, missing featured images, readability proxy.
* **WooCommerce Intelligence** — Missing descriptions, gallery health, heavy product images, checkout config.

= Dashboard =

* Overall health score and per-module scores.
* Issues grouped by severity (Critical / Major / Minor / Info).
* 30-day score trend.
* Filterable issue stream with concrete recommendations.

= Reports =

* Optional weekly digest email.
* Performance regression alerts.
* All sending requires explicit recipient configuration.

= Compatibility =

Works with classic themes, block themes, Gutenberg, Elementor, and WooCommerce. Multisite-friendly architecture.

== Installation ==

1. Upload the `sumittejani-site-audit-insights` folder to `/wp-content/plugins/`, or install through Plugins → Add New.
2. Activate the plugin through the Plugins menu in WordPress.
3. Go to **Intelligence** in the admin sidebar.
4. Click **Run Scan** to generate your first report.
5. (Optional) Visit **Intelligence → Settings** to configure email reports, scan schedule, and safe accessibility fixes.

== Frequently Asked Questions ==

= Does this plugin send my data anywhere? =

No. By default SumitTejani Site Audit Insights performs all analysis locally. The only outbound request is an optional broken-link check (HEAD requests) — disabled until you toggle "Allow external requests" in Settings.

= Will the plugin modify my site automatically? =

No. Safe accessibility fixes are opt-in and clearly labeled. The plugin never injects accessibility "overlays".

= How heavy is the plugin? =

Admin assets load only on SumitTejani Site Audit Insights screens. Scans run in batches and use a modular engine designed to scale to large sites.

= How do I run a scan from the command line? =

You can trigger a scan from any cron-aware context by firing `do_action( 'stsai_run_scheduled_scan' )` — or call `stsai_plugin()->service( 'scan_engine' )->run_full();` directly.

= Is this compatible with WooCommerce? =

Yes. The WooCommerce Intelligence module activates automatically when WooCommerce is detected.

= Is this GPL? =

Yes. GPL-2.0-or-later. No bundled non-free libraries.

== Screenshots ==

1. The SumitTejani Site Audit Insights dashboard with overall health score, severity breakdown and 30-day trend chart.
2. Performance Intelligence module — asset breakdown, score and recommendations.
3. Accessibility Intelligence module — WCAG 2.1 AA findings and safe auto-fixes.
4. SEO Structure Intelligence — orphan pages and broken-link findings.
5. Plugin Impact Analyzer — asset weight per plugin and duplicate libraries.

== Changelog ==

= 1.0.0 =
* Initial release.
* Performance, Accessibility, SEO, Plugin Impact, Content Quality and WooCommerce modules.
* REST API, dashboard, settings, weekly email digest.
* Modular scan engine with severity tracking and history.

== Upgrade Notice ==

= 1.0.0 =
First public release. Run a fresh scan after activating.

== Privacy ==

SumitTejani Site Audit Insights does not collect personal data or send analytics. Optional broken-link scanning is disabled until you opt in. Email recipients are configured by you and stored locally as a WordPress option.
