<!DOCTYPE html>
<html lang="en">

<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Axe Accessibility Report</title>
    <style>
        /* Simple, clean Axe styling */
        body {
            font-family: system-ui, sans-serif;
            background: #f4f4f4;
            color: #333;
            margin: 0;
            padding: 2rem;
        }

        .container {
            max-width: 1000px;
            margin: 0 auto;
        }

        .header {
            margin-bottom: 2rem;
        }

        .card {
            background: white;
            padding: 1.5rem;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            margin-bottom: 2rem;
        }

        .page-url {
            font-family: monospace;
            color: #0284c7;
            font-weight: bold;
            border-bottom: 1px solid #eee;
            padding-bottom: 1rem;
            margin-bottom: 1rem;
            display: block;
        }

        .violation {
            margin-bottom: 1.5rem;
            border-left: 4px solid #ef4444;
            padding-left: 1rem;
        }

        .violation-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }

        .violation-title {
            font-weight: bold;
            font-size: 1.1rem;
        }

        .impact {
            text-transform: uppercase;
            font-size: 0.75rem;
            font-weight: bold;
            background: #fee2e2;
            color: #991b1b;
            padding: 2px 6px;
            border-radius: 4px;
        }

        .nodes {
            background: #1e293b;
            color: #e2e8f0;
            padding: 1rem;
            border-radius: 6px;
            font-family: monospace;
            font-size: 0.85rem;
            margin-top: 0.5rem;
        }

        .node-item {
            margin-bottom: 0.5rem;
            border-bottom: 1px solid #334155;
            padding-bottom: 0.5rem;
        }

        .node-item:last-child {
            border: none;
            margin: 0;
            padding: 0;
        }

        .target {
            color: #38bdf8;
            display: block;
            margin-bottom: 4px;
        }
    </style>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
</head>

<body>
    <div id="app" class="container">
        <div class="header">
            <h1>Axe-Core Report</h1>
            <p v-if="meta.date">Generated: {{ meta.date }}</p>
        </div>

        <div v-for="page in pages" :key="page.url" class="card">
            <span class="page-url">{{ page.url }}</span>

            <div v-if="page.violations.length === 0" style="color: green">✅ No violations found.</div>

            <div v-else v-for="v in page.violations" :key="v.id" class="violation">
                <div class="violation-header">
                    <span class="violation-title">{{ v.description }}</span>
                    <span class="impact">{{ v.impact }}</span>
                </div>
                <p style="margin: 0; color: #666; font-size: 0.9rem;">{{ v.help }} (<a :href="v.helpUrl" target="_blank">Docs</a>)</p>

                <div class="nodes">
                    <div v-for="(node, idx) in v.nodes" :key="idx" class="node-item">
                        <span class="target">{{ node.target.join(' ') }}</span>
                        <div v-text="node.html"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        new Vue({
            el: '#app',
            data: {
                pages: [],
                meta: {}
            },
            mounted() {
                // Pointing specifically to Axe JSON
                fetch('/accessibility-scans/axe-static.json')
                    .then(r => r.json())
                    .then(data => {
                        this.pages = data.pages || [];
                        this.meta = data.meta || {};
                    });
            }
        });
    </script>
</body>

</html>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Axe Accessibility Report</title>
    <style>
        /* Simple, clean Axe styling */
        body { font-family: system-ui, sans-serif; background: #f4f4f4; color: #333; margin: 0; padding: 2rem; }
        .container { max-width: 1000px; margin: 0 auto; }
        .header { margin-bottom: 2rem; }
        .card { background: white; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); margin-bottom: 2rem; }
        .page-url { font-family: monospace; color: #0284c7; font-weight: bold; border-bottom: 1px solid #eee; padding-bottom: 1rem; margin-bottom: 1rem; display: block; }

        .violation { margin-bottom: 1.5rem; border-left: 4px solid #ef4444; padding-left: 1rem; }
        .violation-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
        .violation-title { font-weight: bold; font-size: 1.1rem; }
        .impact { text-transform: uppercase; font-size: 0.75rem; font-weight: bold; background: #fee2e2; color: #991b1b; padding: 2px 6px; border-radius: 4px; }

        .nodes { background: #1e293b; color: #e2e8f0; padding: 1rem; border-radius: 6px; font-family: monospace; font-size: 0.85rem; margin-top: 0.5rem; }
        .node-item { margin-bottom: 0.5rem; border-bottom: 1px solid #334155; padding-bottom: 0.5rem; }
        .node-item:last-child { border: none; margin: 0; padding: 0; }
        .target { color: #38bdf8; display: block; margin-bottom: 4px; }
    </style>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.14/dist/vue.js"></script>
</head>
<body>
    <div id="app" class="container">
        {% raw %}
        <div class="header">
            <h1>Axe-Core Report</h1>
            <p v-if="meta.date">Generated: {{ meta.date }}</p>
        </div>

        <div v-for="page in pages" :key="page.url" class="card">
            <span class="page-url">{{ page.url }}</span>

            <div v-if="page.violations.length === 0" style="color: green">✅ No violations found.</div>

            <div v-else v-for="v in page.violations" :key="v.id" class="violation">
                <div class="violation-header">
                    <span class="violation-title">{{ v.description }}</span>
                    <span class="impact">{{ v.impact }}</span>
                </div>
                <p style="margin: 0; color: #666; font-size: 0.9rem;">{{ v.help }} (<a :href="v.helpUrl" target="_blank">Docs</a>)</p>

                <div class="nodes">
                    <div v-for="(node, idx) in v.nodes" :key="idx" class="node-item">
                        <span class="target">{{ node.target.join(' ') }}</span>
                        <div v-text="node.html"></div>
                    </div>
                </div>
            </div>
        </div>
        {% endraw %}
    </div>

    <script>
        new Vue({
            el: '#app',
            data: { pages: [], meta: {} },
            mounted() {
                // Pointing specifically to Axe JSON
                fetch('/accessibility-scans/axe-static.json')
                    .then(r => r.json())
                    .then(data => {
                        this.pages = data.pages || [];
                        this.meta = data.meta || {};
                    });
            }
        });
    </script>
</body>
</html>

No notes defined.