fix(html): resolve validation errors, implement dynamic MDX heading shifting, and improve accessibility
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 9s
Build & Deploy / 🧪 QA (push) Successful in 1m30s
Build & Deploy / 🏗️ Build (push) Successful in 2m42s
Build & Deploy / 🚀 Deploy (push) Successful in 39s
Build & Deploy / 🧪 Smoke Test (push) Successful in 51s
Build & Deploy / 🛡️ Quality Gates (push) Failing after 1m24s
Build & Deploy / 🔔 Notify (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / ♿ WCAG (push) Has been cancelled

This commit is contained in:
2026-02-22 17:01:18 +01:00
parent 470e532d2c
commit e1b441e8e7
81 changed files with 10093 additions and 738 deletions

16
test-html.js Normal file
View File

@@ -0,0 +1,16 @@
const fs = require('fs');
const html = fs.readFileSync('.htmlvalidate-tmp/page-8.html', 'utf8');
console.log('--- MAIN TAGS ---');
const mainTags = html.match(/<main[^>]*>/g);
console.log(mainTags);
console.log('--- DUP CLASS EXAMPLES ---');
const classAttr = html.match(/class="[^"]*text-slate-500[^"]*"/g);
if (classAttr) {
console.log(classAttr[0]);
}
const dupText10 = html.match(/class="[^"]*text-\[10px\][^"]*"/g);
if (dupText10) {
console.log(dupText10[0]);
}