# HTML Form Label Link Auditor
Local source edition 1.0.0. Inspect native form labels in an HTML template. Download missing targets, duplicate IDs and the native label associations for each control.
## Run locally
Extract the complete ZIP. Use Python 3.12 from a terminal in the extracted directory.
Create a virtual environment and activate it, then run:
python -m pip install -r requirements.txt
python run.py example.json results
Use a new output folder for each run. Start with example.json and replace its synthetic values with your own data. Preserve field names, types and units. Files and reports are processed on your computer.
## Inputs
Supply html as sanitized source text up to 128 KiB, 5000 nodes, 1000 label elements and 1000 native labelable controls. Use templates intended for hosted analysis. The HTML5 parser treats scripts as inert content and excludes template fragments. Input has scripting-enabled HTML parsing semantics. Submit each document separately.
## Results
LABELS.csv shows the native control index for every explicit or wrapping label. CONTROLS.csv reports native associations and the presence of ARIA naming attributes. DUPLICATES.csv lists repeated IDs. These structural checks cover built-in HTML elements. Review actual accessible names, visible text, dynamic DOM, shadow roots and custom elements in a browser.
The results folder includes summary.json and the output files produced by this input. The sample produces: LABELS.csv, CONTROLS.csv, DUPLICATES.csv.
## Español · Auditor de etiquetas de formularios HTML
Detecta destinos ausentes e identificadores duplicados y muestra cómo se asocia cada etiqueta a su control. Extrae el ZIP completo y abre una terminal en esa carpeta con Python 3.12. Crea y activa un entorno virtual e instala las dependencias con el comando anterior. Ejecuta:
python run.py example.json resultados
Copia example.json para preparar tus datos. Conserva los nombres y tipos de los campos, usa una carpeta de salida nueva y consulta summary.json junto con los archivos generados. La descripción detallada de los campos está en inglés.
The included LICENSE covers use and modification for your own personal and commercial projects. This edition includes its source and can run locally after setup.