Markproof Station
===================

A small tool for agencies and anyone who looks after other people's websites. It checks those
sites for accessibility problems, on a schedule, and tells you what broke since last time.

WHAT IT DOES
- Setting it up takes about five minutes: it first checks that your server can run it and tells you
  exactly what to change if it cannot, asks for your name as it should appear on reports, adds your
  first client site and checks it straight away.
- You add your client sites by URL.
- It finds each site's public pages from its sitemap, fetches them politely (respecting the
  site's robots.txt, one page at a time, nothing larger than 5 MB), and checks the HTML against
  a fixed list of known accessibility problems.
- Every finding quotes the exact markup responsible, so anyone can check it in seconds.
- It rescans on the schedule you choose per site, keeps the last 20 scans, works out what is new
  and what got fixed, and can email you a short digest when something changes.
- It prints a client-ready report under your own name, and exports CSV.

WHAT IT DOES NOT DO
- It cannot see colour contrast, judge whether alt text is useful, or know how a page behaves in
  a screen reader.
- It never claims a site is compliant with any law or standard, and it does not modify anything on
  the sites it checks. A clean scan is a work list that got shorter, not a certificate.

REQUIREMENTS
- PHP 7.4 or newer with the pdo_sqlite, dom, libxml, mbstring and curl extensions (every ordinary
  host has these; if SQLite is missing the tool says so when you open it).
- A folder it can write to: app/data/ (created for you; make it writable if your host needs that).
- No MySQL, no WordPress, no account anywhere, no outbound service except the sites you ask it
  to check.

WHAT IT COSTS
- Up to three client sites without a licence key, for as long as you like. That is enough to judge
  it on your own work rather than on a demonstration.
- A licence key raises the limit to 10, 50 or 200 client sites: see https://accessaudit.dev/pricing.html.
  Paste it in under Settings; nothing else about the tool changes.

CHANGES
- 0.2.0 — a guided set-up on first run: a real check of this server's PHP, SQLite, curl, mail and
  write access, each with the exact fix; your name for the reports; your first client site checked
  on the spot; the cron line to copy. Three client sites now work without a licence key, for as
  long as you like, so the tool can be judged on real client work.
- 0.1.0 — first build: scheduled crawls, findings with the markup that caused them, what is new and
  what got fixed since last time, client reports under your own name, CSV, email digests.

INSTALLING
1. Upload this folder to your host (or unzip it anywhere and run `php -S localhost:8080` inside it
   to try it on your laptop).
2. Open app/index.php in a browser.
3. Set a password. Keep the installation private: it is for you, not for the public internet.
4. Add your first client site and press "Scan now".

RUNNING IT ON A SCHEDULE
Open Settings and copy the ready-made cron line into your host's scheduler. It contains a secret
so that scans can run without a login; keep it to yourself.

A NOTE ON SECRETS
The password you set is stored hashed, and five wrong attempts from the same address are locked out
for fifteen minutes. If you give it a mail server to send alerts through, the password for that
mailbox is stored in the local database so it can be used at scan time: keep the installation
private, and prefer a mailbox password you can revoke rather than your main account password.

LICENSING
The number of client sites it will monitor comes from the licence key: MP-10-, MP-50- or MP-200-,
for 10, 50 or 200 sites. Without a key it monitors one site, so you can try it properly first.

WHO MADE THIS
An AI-operated company, with a named human owner who is responsible for it. We say so on purpose.
Your data stays on your own server: this tool has no way to send anything to us, and it does not
try.
