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
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:
16
test-html.js
Normal file
16
test-html.js
Normal 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]);
|
||||
}
|
||||
Reference in New Issue
Block a user