import { test, expect } from '@playwright/test'; test.describe('Functional - homepage', () => { test('homepage: title matches GT', async ({ page }) => { await page.goto('/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('digital inclura tools for ada & wcag com'); }); test('homepage: h2 "ADA & EAA Assurance"', async ({ page }) => { await page.goto('/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'ADA & EAA Assurance' || t.startsWith('ADA & EAA Assurance'))).toBeTruthy(); }); test('homepage: h2 "Configurable"', async ({ page }) => { await page.goto('/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Configurable' || t.startsWith('Configurable'))).toBeTruthy(); }); test('homepage: h2 "We do the hard work"', async ({ page }) => { await page.goto('/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'We do the hard work' || t.startsWith('We do the hard work'))).toBeTruthy(); }); test('homepage: nav link "VPAT Certify your compliance"', async ({ page }) => { await page.goto('/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Certify your compliance' || t.startsWith('VPAT Certify your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('homepage: nav link "Litigation Defense Lean on ded"', async ({ page }) => { await page.goto('/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Defense Lean on dedicated compliance experts' || t.startsWith('Litigation Defense Lean on dedicated compliance experts')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('homepage: nav link "User testing Test with actual "', async ({ page }) => { await page.goto('/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Test with actual end-users' || t.startsWith('User testing Test with actual end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('homepage: nav link "Expert review Run a hands-on m"', async ({ page }) => { await page.goto('/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert review Run a hands-on manual audit' || t.startsWith('Expert review Run a hands-on manual audit')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - about', () => { test('about: title matches GT', async ({ page }) => { await page.goto('/about/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('about inclura'); }); test('about: h1 "Building a more inclusive web,"', async ({ page }) => { await page.goto('/about/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Building a more inclusive web, together' || t.startsWith('Building a more inclusive web, together'))).toBeTruthy(); }); test('about: h2 "Bringing digital experiences w"', async ({ page }) => { await page.goto('/about/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Bringing digital experiences within everyone\'s reach' || t.startsWith('Bringing digital experiences within everyone\'s reach'))).toBeTruthy(); }); test('about: h2 "From a bold idea to worldwide "', async ({ page }) => { await page.goto('/about/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'From a bold idea to worldwide reach' || t.startsWith('From a bold idea to worldwide reach'))).toBeTruthy(); }); test('about: h2 "Our Values"', async ({ page }) => { await page.goto('/about/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Our Values' || t.startsWith('Our Values'))).toBeTruthy(); }); test('about: nav link "VPAT Document your conformance"', async ({ page }) => { await page.goto('/about/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Document your conformance' || t.startsWith('VPAT Document your conformance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('about: nav link "Lawsuit Assistance Work with o"', async ({ page }) => { await page.goto('/about/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Lawsuit Assistance Work with our specialized advisors' || t.startsWith('Lawsuit Assistance Work with our specialized advisors')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('about: nav link "User trials Trial with genuine"', async ({ page }) => { await page.goto('/about/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Trial with genuine users' || t.startsWith('User trials Trial with genuine users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('about: nav link "Manual review Run a hands-on a"', async ({ page }) => { await page.goto('/about/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual review Run a hands-on accessibility review' || t.startsWith('Manual review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - accessflow', () => { test('accessflow: title matches GT', async ({ page }) => { await page.goto('/accessflow/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('inclura pricing & plans'); }); test('accessflow: h1 "Bring web accessibility within"', async ({ page }) => { await page.goto('/accessflow/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Bring web accessibility within reach of every team' || t.startsWith('Bring web accessibility within reach of every team'))).toBeTruthy(); }); test('accessflow: h2 "Run your entire accessibility "', async ({ page }) => { await page.goto('/accessflow/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Run your entire accessibility program in one platform' || t.startsWith('Run your entire accessibility program in one platform'))).toBeTruthy(); }); test('accessflow: h2 "Build accessibility in early"', async ({ page }) => { await page.goto('/accessflow/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Build accessibility in early' || t.startsWith('Build accessibility in early'))).toBeTruthy(); }); test('accessflow: h2 "Resolve accessibility issues w"', async ({ page }) => { await page.goto('/accessflow/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Resolve accessibility issues while you code using IncluraFlow\'s MCP' || t.startsWith('Resolve accessibility issues while you code using IncluraFlow\'s MCP'))).toBeTruthy(); }); test('accessflow: nav link "VPAT Record your compliance wo"', async ({ page }) => { await page.goto('/accessflow/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance work' || t.startsWith('VPAT Record your compliance work')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('accessflow: nav link "Legal Case Support Work with o"', async ({ page }) => { await page.goto('/accessflow/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Work with our dedicated specialists' || t.startsWith('Legal Case Support Work with our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('accessflow: nav link "User trials Validate with real"', async ({ page }) => { await page.goto('/accessflow/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Validate with real users' || t.startsWith('User trials Validate with real users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('accessflow: nav link "Manual audit Run a hands-on ac"', async ({ page }) => { await page.goto('/accessflow/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual audit Run a hands-on accessibility review' || t.startsWith('Manual audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - inclura_alternatives', () => { test('inclura_alternatives: title matches GT', async ({ page }) => { await page.goto('/inclura-alternatives/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('why teams pick inclura'); }); test('inclura_alternatives: h1 "Why choose Inclura"', async ({ page }) => { await page.goto('/inclura-alternatives/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Why choose Inclura' || t.startsWith('Why choose Inclura'))).toBeTruthy(); }); test('inclura_alternatives: h2 "PeerRank names Inclura a Grid "', async ({ page }) => { await page.goto('/inclura-alternatives/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'PeerRank names Inclura a Grid Leader.' || t.startsWith('PeerRank names Inclura a Grid Leader.'))).toBeTruthy(); }); test('inclura_alternatives: h2 "Engineered to keep you"', async ({ page }) => { await page.goto('/inclura-alternatives/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Engineered to keep you' || t.startsWith('Engineered to keep you'))).toBeTruthy(); }); test('inclura_alternatives: h2 "Custom-fit solutions, streamli"', async ({ page }) => { await page.goto('/inclura-alternatives/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Custom-fit solutions, streamlined process' || t.startsWith('Custom-fit solutions, streamlined process'))).toBeTruthy(); }); test('inclura_alternatives: nav link "VPAT Prove your compliance"', async ({ page }) => { await page.goto('/inclura-alternatives/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your compliance' || t.startsWith('VPAT Prove your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('inclura_alternatives: nav link "Litigation Assistance Work wit"', async ({ page }) => { await page.goto('/inclura-alternatives/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Assistance Work with a dedicated expert team' || t.startsWith('Litigation Assistance Work with a dedicated expert team')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('inclura_alternatives: nav link "User research Validate with ge"', async ({ page }) => { await page.goto('/inclura-alternatives/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User research Validate with genuine users' || t.startsWith('User research Validate with genuine users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('inclura_alternatives: nav link "Specialist review Run a hands-"', async ({ page }) => { await page.goto('/inclura-alternatives/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Specialist review Run a hands-on accessibility review' || t.startsWith('Specialist review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - accessibility_interface', () => { test('accessibility_interface: title matches GT', async ({ page }) => { await page.goto('/accessibility-interface/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('accessibility interface'); }); test('accessibility_interface: h1 "Offer each visitor a tailored,"', async ({ page }) => { await page.goto('/accessibility-interface/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Offer each visitor a tailored, accessible experience' || t.startsWith('Offer each visitor a tailored, accessible experience'))).toBeTruthy(); }); test('accessibility_interface: h2 "How IncluraWidget adapts to di"', async ({ page }) => { await page.goto('/accessibility-interface/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'How IncluraWidget adapts to different needs' || t.startsWith('How IncluraWidget adapts to different needs'))).toBeTruthy(); }); test('accessibility_interface: h2 "Controls that let every visito"', async ({ page }) => { await page.goto('/accessibility-interface/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Controls that let every visitor browse comfortably' || t.startsWith('Controls that let every visitor browse comfortably'))).toBeTruthy(); }); test('accessibility_interface: h2 "Own your interface. Keep your "', async ({ page }) => { await page.goto('/accessibility-interface/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Own your interface. Keep your brand untouched.' || t.startsWith('Own your interface. Keep your brand untouched.'))).toBeTruthy(); }); test('accessibility_interface: nav link "VPAT Document your conformance"', async ({ page }) => { await page.goto('/accessibility-interface/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Document your conformance' || t.startsWith('VPAT Document your conformance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('accessibility_interface: nav link "Legal Claim Support Rely on ou"', async ({ page }) => { await page.goto('/accessibility-interface/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Claim Support Rely on our dedicated specialists' || t.startsWith('Legal Claim Support Rely on our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('accessibility_interface: nav link "User testing Test with actual "', async ({ page }) => { await page.goto('/accessibility-interface/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Test with actual visitors' || t.startsWith('User testing Test with actual visitors')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('accessibility_interface: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/accessibility-interface/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - accessscan', () => { test('accessscan: title matches GT', async ({ page }) => { await page.goto('/accessscan/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('inclurascan'); }); test('accessscan: h1 "Scan your site for accessibili"', async ({ page }) => { await page.goto('/accessscan/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Scan your site for accessibility and ADA readiness in moments' || t.startsWith('Scan your site for accessibility and ADA readiness in moments'))).toBeTruthy(); }); test('accessscan: h2 "3 easy steps. Give your websit"', async ({ page }) => { await page.goto('/accessscan/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === '3 easy steps. Give your website a check:' || t.startsWith('3 easy steps. Give your website a check:'))).toBeTruthy(); }); test('accessscan: h2 "650,000+ scans completed each "', async ({ page }) => { await page.goto('/accessscan/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === '650,000+ scans completed each year' || t.startsWith('650,000+ scans completed each year'))).toBeTruthy(); }); test('accessscan: h2 "Reduce legal exposure with an "', async ({ page }) => { await page.goto('/accessscan/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Reduce legal exposure with an accessible, compliant website' || t.startsWith('Reduce legal exposure with an accessible, compliant website'))).toBeTruthy(); }); test('accessscan: nav link "VPAT Prove your compliance lev"', async ({ page }) => { await page.goto('/accessscan/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your compliance level' || t.startsWith('VPAT Prove your compliance level')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('accessscan: nav link "Legal Case Support Work with d"', async ({ page }) => { await page.goto('/accessscan/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Work with dedicated support experts' || t.startsWith('Legal Case Support Work with dedicated support experts')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('accessscan: nav link "User trials Test with actual e"', async ({ page }) => { await page.goto('/accessscan/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Test with actual end-users' || t.startsWith('User trials Test with actual end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('accessscan: nav link "Expert review Run a hands-on a"', async ({ page }) => { await page.goto('/accessscan/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert review Run a hands-on accessibility review' || t.startsWith('Expert review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - accessservices', () => { test('accessservices: title matches GT', async ({ page }) => { await page.goto('/accessservices/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('web accessibility pricing & plans'); }); test('accessservices: h1 "Digital accessibility services"', async ({ page }) => { await page.goto('/accessservices/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Digital accessibility services built for inclusion and compliance' || t.startsWith('Digital accessibility services built for inclusion and compliance'))).toBeTruthy(); }); test('accessservices: h2 "VPAT"', async ({ page }) => { await page.goto('/accessservices/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT' || t.startsWith('VPAT'))).toBeTruthy(); }); test('accessservices: h2 "Litigation Support"', async ({ page }) => { await page.goto('/accessservices/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support' || t.startsWith('Litigation Support'))).toBeTruthy(); }); test('accessservices: h2 "User Testing"', async ({ page }) => { await page.goto('/accessservices/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User Testing' || t.startsWith('User Testing'))).toBeTruthy(); }); test('accessservices: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/accessservices/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('accessservices: nav link "Legal Case Support Lean on our"', async ({ page }) => { await page.goto('/accessservices/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Lean on our dedicated specialists' || t.startsWith('Legal Case Support Lean on our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('accessservices: nav link "User testing Trial it with rea"', async ({ page }) => { await page.goto('/accessservices/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Trial it with real users' || t.startsWith('User testing Trial it with real users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('accessservices: nav link "Manual audit Run a hands-on ac"', async ({ page }) => { await page.goto('/accessservices/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual audit Run a hands-on accessibility review' || t.startsWith('Manual audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - accesswidget', () => { test('accesswidget: title matches GT', async ({ page }) => { await page.goto('/accesswidget/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('inclurawidget'); }); test('accesswidget: h1 "AI-driven accessibility and co"', async ({ page }) => { await page.goto('/accesswidget/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'AI-driven accessibility and compliance for any site' || t.startsWith('AI-driven accessibility and compliance for any site'))).toBeTruthy(); }); test('accesswidget: h2 "Join 80k+ websites around the "', async ({ page }) => { await page.goto('/accesswidget/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Join 80k+ websites around the world that are already inclusive' || t.startsWith('Join 80k+ websites around the world that are already inclusive'))).toBeTruthy(); }); test('accesswidget: h2 "How IncluraWidget delivers acc"', async ({ page }) => { await page.goto('/accesswidget/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'How IncluraWidget delivers accessibility' || t.startsWith('How IncluraWidget delivers accessibility'))).toBeTruthy(); }); test('accesswidget: h2 "See right now whether your web"', async ({ page }) => { await page.goto('/accesswidget/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'See right now whether your website is accessible' || t.startsWith('See right now whether your website is accessible'))).toBeTruthy(); }); test('accesswidget: nav link "VPAT Document your conformance"', async ({ page }) => { await page.goto('/accesswidget/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Document your conformance' || t.startsWith('VPAT Document your conformance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('accesswidget: nav link "Lawsuit Assistance Lean on our"', async ({ page }) => { await page.goto('/accesswidget/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Lawsuit Assistance Lean on our dedicated legal experts' || t.startsWith('Lawsuit Assistance Lean on our dedicated legal experts')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('accesswidget: nav link "User trials Test with authenti"', async ({ page }) => { await page.goto('/accesswidget/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Test with authentic users' || t.startsWith('User trials Test with authentic users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('accesswidget: nav link "Expert review Run a hands-on a"', async ({ page }) => { await page.goto('/accesswidget/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert review Run a hands-on accessibility review' || t.startsWith('Expert review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - artificial_intelligence', () => { test('artificial_intelligence: title matches GT', async ({ page }) => { await page.goto('/artificial-intelligence/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('artificial intelligence'); }); test('artificial_intelligence: h1 "Moving web accessibility forwa"', async ({ page }) => { await page.goto('/artificial-intelligence/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Moving web accessibility forward with AI' || t.startsWith('Moving web accessibility forward with AI'))).toBeTruthy(); }); test('artificial_intelligence: h2 "How Inclura\'s AI engine works"', async ({ page }) => { await page.goto('/artificial-intelligence/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'How Inclura\'s AI engine works' || t.startsWith('How Inclura\'s AI engine works'))).toBeTruthy(); }); test('artificial_intelligence: h2 "Why AI-driven web accessibilit"', async ({ page }) => { await page.goto('/artificial-intelligence/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Why AI-driven web accessibility matters' || t.startsWith('Why AI-driven web accessibility matters'))).toBeTruthy(); }); test('artificial_intelligence: h2 "Inclura\'s AI engine brings tog"', async ({ page }) => { await page.goto('/artificial-intelligence/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Inclura\'s AI engine brings together computer vision, contextual analysis, and automated scanning sys' || t.startsWith('Inclura\'s AI engine brings together computer vision, contextual analysis, and automated scanning sys'))).toBeTruthy(); }); test('artificial_intelligence: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/artificial-intelligence/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('artificial_intelligence: nav link "Litigation Support Lean on our"', async ({ page }) => { await page.goto('/artificial-intelligence/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Lean on our dedicated specialists' || t.startsWith('Litigation Support Lean on our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('artificial_intelligence: nav link "User testing Validate with gen"', async ({ page }) => { await page.goto('/artificial-intelligence/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with genuine users' || t.startsWith('User testing Validate with genuine users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('artificial_intelligence: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/artificial-intelligence/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - careers', () => { test('careers: title matches GT', async ({ page }) => { await page.goto('/careers/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('join inclura'); }); test('careers: h1 "Want to shape the future? Join"', async ({ page }) => { await page.goto('/careers/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Want to shape the future? Join us.' || t.startsWith('Want to shape the future? Join us.'))).toBeTruthy(); }); test('careers: h2 "Why build with Inclura?"', async ({ page }) => { await page.goto('/careers/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Why build with Inclura?' || t.startsWith('Why build with Inclura?'))).toBeTruthy(); }); test('careers: h2 "Our Values"', async ({ page }) => { await page.goto('/careers/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Our Values' || t.startsWith('Our Values'))).toBeTruthy(); }); test('careers: h2 "Want to make a difference?"', async ({ page }) => { await page.goto('/careers/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Want to make a difference?' || t.startsWith('Want to make a difference?'))).toBeTruthy(); }); test('careers: nav link "VPAT Certify your compliance"', async ({ page }) => { await page.goto('/careers/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Certify your compliance' || t.startsWith('VPAT Certify your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('careers: nav link "Legal Case Support Work with o"', async ({ page }) => { await page.goto('/careers/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Work with our dedicated specialists' || t.startsWith('Legal Case Support Work with our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('careers: nav link "User testing Trial with real e"', async ({ page }) => { await page.goto('/careers/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Trial with real end-users' || t.startsWith('User testing Trial with real end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('careers: nav link "Expert review Run a hands-on a"', async ({ page }) => { await page.goto('/careers/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert review Run a hands-on accessibility review' || t.startsWith('Expert review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - case_studies', () => { test('case_studies: title matches GT', async ({ page }) => { await page.goto('/case-studies/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('web accessibility case studies'); }); test('case_studies: h1 "How AI-powered accessibility t"', async ({ page }) => { await page.goto('/case-studies/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'How AI-powered accessibility transformed Havenwell\'s site' || t.startsWith('How AI-powered accessibility transformed Havenwell\'s site'))).toBeTruthy(); }); test('case_studies: h2 "How Marston protects clients f"', async ({ page }) => { await page.goto('/case-studies/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'How Marston protects clients from litigation and strengthens their legal safeguards' || t.startsWith('How Marston protects clients from litigation and strengthens their legal safeguards'))).toBeTruthy(); }); test('case_studies: h2 "How Inclura helped a DTC furni"', async ({ page }) => { await page.goto('/case-studies/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'How Inclura helped a DTC furniture brand get an ADA lawsuit dismissed' || t.startsWith('How Inclura helped a DTC furniture brand get an ADA lawsuit dismissed'))).toBeTruthy(); }); test('case_studies: h2 "How Sunroom Apparel beat an un"', async ({ page }) => { await page.goto('/case-studies/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'How Sunroom Apparel beat an unfounded accessibility lawsuit' || t.startsWith('How Sunroom Apparel beat an unfounded accessibility lawsuit'))).toBeTruthy(); }); test('case_studies: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/case-studies/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('case_studies: nav link "Legal Case Support Lean on our"', async ({ page }) => { await page.goto('/case-studies/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Lean on our dedicated specialists' || t.startsWith('Legal Case Support Lean on our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('case_studies: nav link "Human testing Trial with genui"', async ({ page }) => { await page.goto('/case-studies/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Human testing Trial with genuine users' || t.startsWith('Human testing Trial with genuine users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('case_studies: nav link "Manual review Run a hands-on a"', async ({ page }) => { await page.goto('/case-studies/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual review Run a hands-on accessibility check' || t.startsWith('Manual review Run a hands-on accessibility check')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - compliance', () => { test('compliance: title matches GT', async ({ page }) => { await page.goto('/compliance/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('ada compliance made simple with inclura'); }); test('compliance: h1 "A clear guide to web accessibi"', async ({ page }) => { await page.goto('/compliance/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'A clear guide to web accessibility legislation and the compliance standards you must meet' || t.startsWith('A clear guide to web accessibility legislation and the compliance standards you must meet'))).toBeTruthy(); }); test('compliance: h2 "Check if your website is acces"', async ({ page }) => { await page.goto('/compliance/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Check if your website is accessible, for free' || t.startsWith('Check if your website is accessible, for free'))).toBeTruthy(); }); test('compliance: h2 "Accessible websites aren\'t a c"', async ({ page }) => { await page.goto('/compliance/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Accessible websites aren\'t a courtesy. They\'re the law.' || t.startsWith('Accessible websites aren\'t a courtesy. They\'re the law.'))).toBeTruthy(); }); test('compliance: h2 "Your ally for meeting complian"', async ({ page }) => { await page.goto('/compliance/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Your ally for meeting compliance demands' || t.startsWith('Your ally for meeting compliance demands'))).toBeTruthy(); }); test('compliance: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/compliance/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('compliance: nav link "Litigation Support Lean on a t"', async ({ page }) => { await page.goto('/compliance/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Lean on a team of specialists' || t.startsWith('Litigation Support Lean on a team of specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('compliance: nav link "User testing Validate with act"', async ({ page }) => { await page.goto('/compliance/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with actual users' || t.startsWith('User testing Validate with actual users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('compliance: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/compliance/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - enterprise', () => { test('enterprise: title matches GT', async ({ page }) => { await page.goto('/enterprise/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('enterprise web accessibility solutions'); }); test('enterprise: h1 "Innovative technology crafted "', async ({ page }) => { await page.goto('/enterprise/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Innovative technology crafted for your website’s accessibility' || t.startsWith('Innovative technology crafted for your website’s accessibility'))).toBeTruthy(); }); test('enterprise: h2 "Join the market leading teams "', async ({ page }) => { await page.goto('/enterprise/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Join the market leading teams that trust Inclura' || t.startsWith('Join the market leading teams that trust Inclura'))).toBeTruthy(); }); test('enterprise: h2 "Tools tailored to your enterpr"', async ({ page }) => { await page.goto('/enterprise/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Tools tailored to your enterprise. We have everything handled.' || t.startsWith('Tools tailored to your enterprise. We have everything handled.'))).toBeTruthy(); }); test('enterprise: h2 "Complete litigation support, b"', async ({ page }) => { await page.goto('/enterprise/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Complete litigation support, backed by our \$20k+ promise' || t.startsWith('Complete litigation support, backed by our \$20k+ promise'))).toBeTruthy(); }); test('enterprise: nav link "VPAT Prove your compliance now"', async ({ page }) => { await page.goto('/enterprise/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your compliance now' || t.startsWith('VPAT Prove your compliance now')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('enterprise: nav link "Legal Case Support Lean on our"', async ({ page }) => { await page.goto('/enterprise/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Lean on our dedicated specialists' || t.startsWith('Legal Case Support Lean on our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('enterprise: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/enterprise/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real users' || t.startsWith('User testing Validate with real users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('enterprise: nav link "Expert review Run a hands-on a"', async ({ page }) => { await page.goto('/enterprise/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert review Run a hands-on accessibility review' || t.startsWith('Expert review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - expert_audit', () => { test('expert_audit: title matches GT', async ({ page }) => { await page.goto('/expert-audit/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('professional web accessibility audit ser'); }); test('expert_audit: h1 "Unlock true accessibility comp"', async ({ page }) => { await page.goto('/expert-audit/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Unlock true accessibility compliance with an expert-led audit' || t.startsWith('Unlock true accessibility compliance with an expert-led audit'))).toBeTruthy(); }); test('expert_audit: h2 "What is an expert review?"', async ({ page }) => { await page.goto('/expert-audit/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What is an expert review?' || t.startsWith('What is an expert review?'))).toBeTruthy(); }); test('expert_audit: h2 "How an expert review helps you"', async ({ page }) => { await page.goto('/expert-audit/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'How an expert review helps you' || t.startsWith('How an expert review helps you'))).toBeTruthy(); }); test('expert_audit: h2 "Outstanding service. Unrivaled"', async ({ page }) => { await page.goto('/expert-audit/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Outstanding service. Unrivaled expertise.' || t.startsWith('Outstanding service. Unrivaled expertise.'))).toBeTruthy(); }); test('expert_audit: nav link "VPAT Prove that you comply"', async ({ page }) => { await page.goto('/expert-audit/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove that you comply' || t.startsWith('VPAT Prove that you comply')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('expert_audit: nav link "Litigation Support Lean on our"', async ({ page }) => { await page.goto('/expert-audit/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Lean on our dedicated specialists' || t.startsWith('Litigation Support Lean on our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('expert_audit: nav link "User testing Try it with genui"', async ({ page }) => { await page.goto('/expert-audit/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Try it with genuine users' || t.startsWith('User testing Try it with genuine users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('expert_audit: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/expert-audit/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - glossary', () => { test('glossary: title matches GT', async ({ page }) => { await page.goto('/glossary/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('digital accessibility glossary'); }); test('glossary: h1 "Accessibility terms glossary"', async ({ page }) => { await page.goto('/glossary/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Accessibility terms glossary' || t.startsWith('Accessibility terms glossary'))).toBeTruthy(); }); test('glossary: h2 "Bring accessibility to your si"', async ({ page }) => { await page.goto('/glossary/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Bring accessibility to your site' || t.startsWith('Bring accessibility to your site'))).toBeTruthy(); }); test('glossary: nav link "VPAT Certify your compliance"', async ({ page }) => { await page.goto('/glossary/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Certify your compliance' || t.startsWith('VPAT Certify your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('glossary: nav link "Lawsuit Assistance Work with o"', async ({ page }) => { await page.goto('/glossary/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Lawsuit Assistance Work with our dedicated specialists' || t.startsWith('Lawsuit Assistance Work with our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('glossary: nav link "User trials Trial with genuine"', async ({ page }) => { await page.goto('/glossary/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Trial with genuine users' || t.startsWith('User trials Trial with genuine users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('glossary: nav link "Manual review Run a hands-on a"', async ({ page }) => { await page.goto('/glossary/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual review Run a hands-on accessibility review' || t.startsWith('Manual review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - industry', () => { test('industry: title matches GT', async ({ page }) => { await page.goto('/industry/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('accessibility solutions for every indust'); }); test('industry: h1 "Compliance built for your sect"', async ({ page }) => { await page.goto('/industry/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Compliance built for your sector' || t.startsWith('Compliance built for your sector'))).toBeTruthy(); }); test('industry: h2 "Chosen by growing teams and ma"', async ({ page }) => { await page.goto('/industry/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Chosen by growing teams and market leaders everywhere' || t.startsWith('Chosen by growing teams and market leaders everywhere'))).toBeTruthy(); }); test('industry: h2 "Close the gaps in your accessi"', async ({ page }) => { await page.goto('/industry/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Close the gaps in your accessibility' || t.startsWith('Close the gaps in your accessibility'))).toBeTruthy(); }); test('industry: h2 "WCAG-aligned remediation"', async ({ page }) => { await page.goto('/industry/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'WCAG-aligned remediation' || t.startsWith('WCAG-aligned remediation'))).toBeTruthy(); }); test('industry: nav link "VPAT Prove compliance with eas"', async ({ page }) => { await page.goto('/industry/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove compliance with ease' || t.startsWith('VPAT Prove compliance with ease')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('industry: nav link "Legal Case Support Lean on our"', async ({ page }) => { await page.goto('/industry/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Lean on our specialist support team' || t.startsWith('Legal Case Support Lean on our specialist support team')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('industry: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/industry/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real users' || t.startsWith('User testing Validate with real users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('industry: nav link "Expert review Run a hands-on a"', async ({ page }) => { await page.goto('/industry/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert review Run a hands-on accessibility review' || t.startsWith('Expert review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - industry_reports', () => { test('industry_reports: title matches GT', async ({ page }) => { await page.goto('/industry-reports/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('web accessibility industry reports'); }); test('industry_reports: h1 "Inclura studies and market ins"', async ({ page }) => { await page.goto('/industry-reports/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Inclura studies and market insights' || t.startsWith('Inclura studies and market insights'))).toBeTruthy(); }); test('industry_reports: h2 "The forces driving digital acc"', async ({ page }) => { await page.goto('/industry-reports/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The forces driving digital accessibility' || t.startsWith('The forces driving digital accessibility'))).toBeTruthy(); }); test('industry_reports: h2 "How accessibility is transform"', async ({ page }) => { await page.goto('/industry-reports/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'How accessibility is transforming online shopping' || t.startsWith('How accessibility is transforming online shopping'))).toBeTruthy(); }); test('industry_reports: h2 "Section 504: what healthcare p"', async ({ page }) => { await page.goto('/industry-reports/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Section 504: what healthcare providers must know' || t.startsWith('Section 504: what healthcare providers must know'))).toBeTruthy(); }); test('industry_reports: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/industry-reports/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('industry_reports: nav link "Litigation Support Work with d"', async ({ page }) => { await page.goto('/industry-reports/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Work with dedicated support experts' || t.startsWith('Litigation Support Work with dedicated support experts')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('industry_reports: nav link "User testing Check with real e"', async ({ page }) => { await page.goto('/industry-reports/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Check with real end-users' || t.startsWith('User testing Check with real end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('industry_reports: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/industry-reports/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility audit' || t.startsWith('Expert audit Run a hands-on accessibility audit')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - integrations', () => { test('integrations: title matches GT', async ({ page }) => { await page.goto('/integrations/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('inclura cms integrations & plugins'); }); test('integrations: h1 "Inclura integrations & plug-in"', async ({ page }) => { await page.goto('/integrations/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Inclura integrations & plug-ins made for any CMS' || t.startsWith('Inclura integrations & plug-ins made for any CMS'))).toBeTruthy(); }); test('integrations: h2 "Newest resources"', async ({ page }) => { await page.goto('/integrations/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Newest resources' || t.startsWith('Newest resources'))).toBeTruthy(); }); test('integrations: h2 "Answers to common questions"', async ({ page }) => { await page.goto('/integrations/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Answers to common questions' || t.startsWith('Answers to common questions'))).toBeTruthy(); }); test('integrations: h2 "See how to become an Inclura P"', async ({ page }) => { await page.goto('/integrations/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'See how to become an Inclura Partner' || t.startsWith('See how to become an Inclura Partner'))).toBeTruthy(); }); test('integrations: nav link "VPAT Show your compliance stat"', async ({ page }) => { await page.goto('/integrations/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Show your compliance status' || t.startsWith('VPAT Show your compliance status')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('integrations: nav link "Litigation Support Work with a"', async ({ page }) => { await page.goto('/integrations/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Work with a team of dedicated experts' || t.startsWith('Litigation Support Work with a team of dedicated experts')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('integrations: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/integrations/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real' || t.startsWith('User testing Validate with real')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('integrations: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/integrations/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility audit' || t.startsWith('Expert audit Run a hands-on accessibility audit')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - litigation_support', () => { test('litigation_support: title matches GT', async ({ page }) => { await page.goto('/litigation-support/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('litigation support'); }); test('litigation_support: h1 "End-to-end litigation support "', async ({ page }) => { await page.goto('/litigation-support/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'End-to-end litigation support you can rely on' || t.startsWith('End-to-end litigation support you can rely on'))).toBeTruthy(); }); test('litigation_support: h2 "A dedicated case manager who h"', async ({ page }) => { await page.goto('/litigation-support/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'A dedicated case manager who has your back' || t.startsWith('A dedicated case manager who has your back'))).toBeTruthy(); }); test('litigation_support: h2 "Rest easy. Face every claim wi"', async ({ page }) => { await page.goto('/litigation-support/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Rest easy. Face every claim with total confidence.' || t.startsWith('Rest easy. Face every claim with total confidence.'))).toBeTruthy(); }); test('litigation_support: h2 "End-to-end litigation support,"', async ({ page }) => { await page.goto('/litigation-support/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'End-to-end litigation support, step by step' || t.startsWith('End-to-end litigation support, step by step'))).toBeTruthy(); }); test('litigation_support: nav link "VPAT Prove your compliance"', async ({ page }) => { await page.goto('/litigation-support/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your compliance' || t.startsWith('VPAT Prove your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('litigation_support: nav link "Litigation Support Lean on a d"', async ({ page }) => { await page.goto('/litigation-support/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Lean on a dedicated expert team' || t.startsWith('Litigation Support Lean on a dedicated expert team')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('litigation_support: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/litigation-support/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real people' || t.startsWith('User testing Validate with real people')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('litigation_support: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/litigation-support/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - mid_market', () => { test('mid_market: title matches GT', async ({ page }) => { await page.goto('/mid-market/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('scalable web accessibility for mid'); }); test('mid_market: h1 "Your website\'s inclusion, back"', async ({ page }) => { await page.goto('/mid-market/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Your website\'s inclusion, backed by our expertise' || t.startsWith('Your website\'s inclusion, backed by our expertise'))).toBeTruthy(); }); test('mid_market: h2 "Join over 100k+ sites across t"', async ({ page }) => { await page.goto('/mid-market/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Join over 100k+ sites across the globe that are already inclusive' || t.startsWith('Join over 100k+ sites across the globe that are already inclusive'))).toBeTruthy(); }); test('mid_market: h2 "Options made for you. AI, hand"', async ({ page }) => { await page.goto('/mid-market/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Options made for you. AI, hands-on, or both combined.' || t.startsWith('Options made for you. AI, hands-on, or both combined.'))).toBeTruthy(); }); test('mid_market: h2 "Let our leading technology do "', async ({ page }) => { await page.goto('/mid-market/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Let our leading technology do more' || t.startsWith('Let our leading technology do more'))).toBeTruthy(); }); test('mid_market: nav link "VPAT Document your conformance"', async ({ page }) => { await page.goto('/mid-market/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Document your conformance' || t.startsWith('VPAT Document your conformance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('mid_market: nav link "Lawsuit Assistance Work with o"', async ({ page }) => { await page.goto('/mid-market/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Lawsuit Assistance Work with our dedicated specialists' || t.startsWith('Lawsuit Assistance Work with our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('mid_market: nav link "User trials Trial with genuine"', async ({ page }) => { await page.goto('/mid-market/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Trial with genuine users' || t.startsWith('User trials Trial with genuine users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('mid_market: nav link "Expert check Run a hands-on ac"', async ({ page }) => { await page.goto('/mid-market/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert check Run a hands-on accessibility review' || t.startsWith('Expert check Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - partners', () => { test('partners: title matches GT', async ({ page }) => { await page.goto('/partners/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('inclura partner program'); }); test('partners: h1 "Grow revenue. Delight clients."', async ({ page }) => { await page.goto('/partners/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Grow revenue. Delight clients.' || t.startsWith('Grow revenue. Delight clients.'))).toBeTruthy(); }); test('partners: h2 "Trusted by more than 5,000 fir"', async ({ page }) => { await page.goto('/partners/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Trusted by more than 5,000 firms' || t.startsWith('Trusted by more than 5,000 firms'))).toBeTruthy(); }); test('partners: h2 "A partnership designed to grow"', async ({ page }) => { await page.goto('/partners/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'A partnership designed to grow your revenue' || t.startsWith('A partnership designed to grow your revenue'))).toBeTruthy(); }); test('partners: h2 "Value for your firm. Wins for "', async ({ page }) => { await page.goto('/partners/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Value for your firm. Wins for your clients.' || t.startsWith('Value for your firm. Wins for your clients.'))).toBeTruthy(); }); test('partners: nav link "VPAT Certify your compliance"', async ({ page }) => { await page.goto('/partners/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Certify your compliance' || t.startsWith('VPAT Certify your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('partners: nav link "Legal Case Support Work with o"', async ({ page }) => { await page.goto('/partners/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Work with our dedicated specialists' || t.startsWith('Legal Case Support Work with our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('partners: nav link "User trials Validate with real"', async ({ page }) => { await page.goto('/partners/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Validate with real' || t.startsWith('User trials Validate with real')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('partners: nav link "Expert review Run a hands-on a"', async ({ page }) => { await page.goto('/partners/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert review Run a hands-on accessibility review' || t.startsWith('Expert review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - security', () => { test('security: title matches GT', async ({ page }) => { await page.goto('/security/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('inclura trust center'); }); test('security: h1 "Privacy, safety & reliability"', async ({ page }) => { await page.goto('/security/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Privacy, safety & reliability' || t.startsWith('Privacy, safety & reliability'))).toBeTruthy(); }); test('security: h2 "Want to learn more?"', async ({ page }) => { await page.goto('/security/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Want to learn more?' || t.startsWith('Want to learn more?'))).toBeTruthy(); }); test('security: h2 "Modern, resilient infrastructu"', async ({ page }) => { await page.goto('/security/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Modern, resilient infrastructure hosted in the US' || t.startsWith('Modern, resilient infrastructure hosted in the US'))).toBeTruthy(); }); test('security: h2 "A leader in SOC2 compliance fo"', async ({ page }) => { await page.goto('/security/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'A leader in SOC2 compliance for digital accessibility' || t.startsWith('A leader in SOC2 compliance for digital accessibility'))).toBeTruthy(); }); test('security: nav link "VPAT Certify your compliance"', async ({ page }) => { await page.goto('/security/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Certify your compliance' || t.startsWith('VPAT Certify your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('security: nav link "Legal Case Support Work with o"', async ({ page }) => { await page.goto('/security/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Work with our dedicated specialists' || t.startsWith('Legal Case Support Work with our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('security: nav link "User trials Validate with actu"', async ({ page }) => { await page.goto('/security/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Validate with actual users' || t.startsWith('User trials Validate with actual users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('security: nav link "Manual review Run a hands-on a"', async ({ page }) => { await page.goto('/security/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual review Run a hands-on accessibility review' || t.startsWith('Manual review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - small_business', () => { test('small_business: title matches GT', async ({ page }) => { await page.goto('/small-business/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('web accessibility for small businesses'); }); test('small_business: h1 "Digital accessibility made sim"', async ({ page }) => { await page.goto('/small-business/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Digital accessibility made simple for growing small businesses' || t.startsWith('Digital accessibility made simple for growing small businesses'))).toBeTruthy(); }); test('small_business: h2 "Join small businesses thriving"', async ({ page }) => { await page.goto('/small-business/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Join small businesses thriving with more inclusive websites' || t.startsWith('Join small businesses thriving with more inclusive websites'))).toBeTruthy(); }); test('small_business: h2 "Designed for small business ac"', async ({ page }) => { await page.goto('/small-business/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Designed for small business accessibility goals' || t.startsWith('Designed for small business accessibility goals'))).toBeTruthy(); }); test('small_business: h2 "See instantly if your website "', async ({ page }) => { await page.goto('/small-business/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'See instantly if your website is accessible' || t.startsWith('See instantly if your website is accessible'))).toBeTruthy(); }); test('small_business: nav link "VPAT Certify your compliance"', async ({ page }) => { await page.goto('/small-business/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Certify your compliance' || t.startsWith('VPAT Certify your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('small_business: nav link "Legal Defense Help Lean on our"', async ({ page }) => { await page.goto('/small-business/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Defense Help Lean on our dedicated specialists' || t.startsWith('Legal Defense Help Lean on our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('small_business: nav link "User trials Check with actual "', async ({ page }) => { await page.goto('/small-business/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Check with actual users' || t.startsWith('User trials Check with actual users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('small_business: nav link "Manual review Run a hands-on a"', async ({ page }) => { await page.goto('/small-business/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual review Run a hands-on accessibility review' || t.startsWith('Manual review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - terms_of_service', () => { test('terms_of_service: title matches GT', async ({ page }) => { await page.goto('/terms-of-service/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('inclura terms of service'); }); test('terms_of_service: h1 "Terms & Conditions"', async ({ page }) => { await page.goto('/terms-of-service/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Terms & Conditions' || t.startsWith('Terms & Conditions'))).toBeTruthy(); }); test('terms_of_service: h2 "Ready to make every page acces"', async ({ page }) => { await page.goto('/terms-of-service/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Ready to make every page accessible?' || t.startsWith('Ready to make every page accessible?'))).toBeTruthy(); }); test('terms_of_service: nav link "VPAT Record your conformance"', async ({ page }) => { await page.goto('/terms-of-service/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your conformance' || t.startsWith('VPAT Record your conformance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('terms_of_service: nav link "Legal Case Support Partner wit"', async ({ page }) => { await page.goto('/terms-of-service/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Partner with our dedicated experts' || t.startsWith('Legal Case Support Partner with our dedicated experts')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('terms_of_service: nav link "User trials Validate with real"', async ({ page }) => { await page.goto('/terms-of-service/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Validate with real people' || t.startsWith('User trials Validate with real people')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('terms_of_service: nav link "Manual review Run a hands-on a"', async ({ page }) => { await page.goto('/terms-of-service/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual review Run a hands-on accessibility check' || t.startsWith('Manual review Run a hands-on accessibility check')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - user_testing', () => { test('user_testing: title matches GT', async ({ page }) => { await page.goto('/user-testing/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('accessibility testing done by people wit'); }); test('user_testing: h1 "The accessibility feedback onl"', async ({ page }) => { await page.goto('/user-testing/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The accessibility feedback only real users provide' || t.startsWith('The accessibility feedback only real users provide'))).toBeTruthy(); }); test('user_testing: h2 "Confirm your site\'s accessibil"', async ({ page }) => { await page.goto('/user-testing/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Confirm your site\'s accessibility through real feedback' || t.startsWith('Confirm your site\'s accessibility through real feedback'))).toBeTruthy(); }); test('user_testing: h2 "Add a human perspective to you"', async ({ page }) => { await page.goto('/user-testing/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Add a human perspective to your accessibility' || t.startsWith('Add a human perspective to your accessibility'))).toBeTruthy(); }); test('user_testing: h2 "Real testing confirms that:"', async ({ page }) => { await page.goto('/user-testing/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Real testing confirms that:' || t.startsWith('Real testing confirms that:'))).toBeTruthy(); }); test('user_testing: nav link "VPAT Certify your compliance"', async ({ page }) => { await page.goto('/user-testing/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Certify your compliance' || t.startsWith('VPAT Certify your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('user_testing: nav link "Litigation Support Lean on ded"', async ({ page }) => { await page.goto('/user-testing/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Lean on dedicated in-house experts' || t.startsWith('Litigation Support Lean on dedicated in-house experts')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('user_testing: nav link "User testing Test alongside re"', async ({ page }) => { await page.goto('/user-testing/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Test alongside real users' || t.startsWith('User testing Test alongside real users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('user_testing: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/user-testing/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - vpat', () => { test('vpat: title matches GT', async ({ page }) => { await page.goto('/vpat/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('get your vpat today with inclura pro ser'); }); test('vpat: h1 "Win more deals with a VPAT"', async ({ page }) => { await page.goto('/vpat/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Win more deals with a VPAT' || t.startsWith('Win more deals with a VPAT'))).toBeTruthy(); }); test('vpat: h2 "Prove your accessibility"', async ({ page }) => { await page.goto('/vpat/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Prove your accessibility' || t.startsWith('Prove your accessibility'))).toBeTruthy(); }); test('vpat: h2 "Let us pinpoint the right VPAT"', async ({ page }) => { await page.goto('/vpat/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Let us pinpoint the right VPAT for your organization' || t.startsWith('Let us pinpoint the right VPAT for your organization'))).toBeTruthy(); }); test('vpat: h2 "Inclura that pays"', async ({ page }) => { await page.goto('/vpat/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Inclura that pays' || t.startsWith('Inclura that pays'))).toBeTruthy(); }); test('vpat: nav link "VPAT Certify your compliance"', async ({ page }) => { await page.goto('/vpat/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Certify your compliance' || t.startsWith('VPAT Certify your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('vpat: nav link "Litigation Defense Rely on our"', async ({ page }) => { await page.goto('/vpat/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Defense Rely on our dedicated legal experts' || t.startsWith('Litigation Defense Rely on our dedicated legal experts')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('vpat: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/vpat/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real users' || t.startsWith('User testing Validate with real users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('vpat: nav link "Manual audit Run a hands-on ac"', async ({ page }) => { await page.goto('/vpat/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual audit Run a hands-on accessibility audit' || t.startsWith('Manual audit Run a hands-on accessibility audit')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - partners_nonprofit', () => { test('partners_nonprofit: title matches GT', async ({ page }) => { await page.goto('/partners/nonprofit/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('web accessibility solutions for nonprofi'); }); test('partners_nonprofit: h1 "Join Inclura\'s Nonprofit Commu"', async ({ page }) => { await page.goto('/partners/nonprofit/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Join Inclura\'s Nonprofit Community' || t.startsWith('Join Inclura\'s Nonprofit Community'))).toBeTruthy(); }); test('partners_nonprofit: h2 "Join 100k+ sites around the gl"', async ({ page }) => { await page.goto('/partners/nonprofit/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Join 100k+ sites around the globe that are already open and usable for every' || t.startsWith('Join 100k+ sites around the globe that are already open and usable for every'))).toBeTruthy(); }); test('partners_nonprofit: h2 "Your mission drives accessibil"', async ({ page }) => { await page.goto('/partners/nonprofit/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Your mission drives accessibility ahead' || t.startsWith('Your mission drives accessibility ahead'))).toBeTruthy(); }); test('partners_nonprofit: h2 "Speed up compliance. Cut down "', async ({ page }) => { await page.goto('/partners/nonprofit/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Speed up compliance. Cut down technical debt.' || t.startsWith('Speed up compliance. Cut down technical debt.'))).toBeTruthy(); }); test('partners_nonprofit: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/partners/nonprofit/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('partners_nonprofit: nav link "Legal Case Support Work with o"', async ({ page }) => { await page.goto('/partners/nonprofit/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Work with our dedicated specialists' || t.startsWith('Legal Case Support Work with our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('partners_nonprofit: nav link "User trials Test with actual e"', async ({ page }) => { await page.goto('/partners/nonprofit/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Test with actual end-users' || t.startsWith('User trials Test with actual end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('partners_nonprofit: nav link "Manual audit Run a hands-on ac"', async ({ page }) => { await page.goto('/partners/nonprofit/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual audit Run a hands-on accessibility review' || t.startsWith('Manual audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - partners_strategic', () => { test('partners_strategic: title matches GT', async ({ page }) => { await page.goto('/partners/strategic/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('strategic partner program'); }); test('partners_strategic: h1 "The one solution engineered fo"', async ({ page }) => { await page.goto('/partners/strategic/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The one solution engineered for your platform' || t.startsWith('The one solution engineered for your platform'))).toBeTruthy(); }); test('partners_strategic: h2 "Join the industry leaders who "', async ({ page }) => { await page.goto('/partners/strategic/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Join the industry leaders who already trust Inclura' || t.startsWith('Join the industry leaders who already trust Inclura'))).toBeTruthy(); }); test('partners_strategic: h2 "Your complete home for web acc"', async ({ page }) => { await page.goto('/partners/strategic/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Your complete home for web accessibility' || t.startsWith('Your complete home for web accessibility'))).toBeTruthy(); }); test('partners_strategic: h2 "Partner with Inclura and see r"', async ({ page }) => { await page.goto('/partners/strategic/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Partner with Inclura and see results at enterprise scale' || t.startsWith('Partner with Inclura and see results at enterprise scale'))).toBeTruthy(); }); test('partners_strategic: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/partners/strategic/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('partners_strategic: nav link "Litigation Support Work with a"', async ({ page }) => { await page.goto('/partners/strategic/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Work with a dedicated expert team' || t.startsWith('Litigation Support Work with a dedicated expert team')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('partners_strategic: nav link "User testing Validate with act"', async ({ page }) => { await page.goto('/partners/strategic/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with actual users' || t.startsWith('User testing Validate with actual users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('partners_strategic: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/partners/strategic/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - pricing_accesswidget', () => { test('pricing_accesswidget: title matches GT', async ({ page }) => { await page.goto('/pricing/accesswidget/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('inclurawidget pricing'); }); test('pricing_accesswidget: h1 "Plans that grow alongside your"', async ({ page }) => { await page.goto('/pricing/accesswidget/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Plans that grow alongside your site and compliance goals' || t.startsWith('Plans that grow alongside your site and compliance goals'))).toBeTruthy(); }); test('pricing_accesswidget: h2 "Compare every feature"', async ({ page }) => { await page.goto('/pricing/accesswidget/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Compare every feature' || t.startsWith('Compare every feature'))).toBeTruthy(); }); test('pricing_accesswidget: h2 "The highest-rated web accessib"', async ({ page }) => { await page.goto('/pricing/accesswidget/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The highest-rated web accessibility platform for ADA & EAA compliance' || t.startsWith('The highest-rated web accessibility platform for ADA & EAA compliance'))).toBeTruthy(); }); test('pricing_accesswidget: h2 "Common questions and answers"', async ({ page }) => { await page.goto('/pricing/accesswidget/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Common questions and answers' || t.startsWith('Common questions and answers'))).toBeTruthy(); }); test('pricing_accesswidget: nav link "VPAT Document your conformance"', async ({ page }) => { await page.goto('/pricing/accesswidget/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Document your conformance' || t.startsWith('VPAT Document your conformance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('pricing_accesswidget: nav link "Legal Case Support Work with a"', async ({ page }) => { await page.goto('/pricing/accesswidget/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Work with a dedicated expert team' || t.startsWith('Legal Case Support Work with a dedicated expert team')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('pricing_accesswidget: nav link "User testing Check with real e"', async ({ page }) => { await page.goto('/pricing/accesswidget/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Check with real end-users' || t.startsWith('User testing Check with real end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('pricing_accesswidget: nav link "Expert review Run a hands-on a"', async ({ page }) => { await page.goto('/pricing/accesswidget/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert review Run a hands-on accessibility review' || t.startsWith('Expert review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_inclura_and_vgm_forbin', () => { test('blog_knowledgebase_inclura_and_vgm_forbin: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/inclura-and-vgm-forbin/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('inclura & bridgepath digital'); }); test('blog_knowledgebase_inclura_and_vgm_forbin: h1 "Inclura and BridgePath Digital"', async ({ page }) => { await page.goto('/blog/knowledgebase/inclura-and-vgm-forbin/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Inclura and BridgePath Digital reveal new HME accessibility data at MedAccess Expo 2026' || t.startsWith('Inclura and BridgePath Digital reveal new HME accessibility data at MedAccess Expo 2026'))).toBeTruthy(); }); test('blog_knowledgebase_inclura_and_vgm_forbin: h2 "In brief:"', async ({ page }) => { await page.goto('/blog/knowledgebase/inclura-and-vgm-forbin/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'In brief:' || t.startsWith('In brief:'))).toBeTruthy(); }); test('blog_knowledgebase_inclura_and_vgm_forbin: h2 "A look at healthcare accessibi"', async ({ page }) => { await page.goto('/blog/knowledgebase/inclura-and-vgm-forbin/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'A look at healthcare accessibility in 2026' || t.startsWith('A look at healthcare accessibility in 2026'))).toBeTruthy(); }); test('blog_knowledgebase_inclura_and_vgm_forbin: h2 "Why accessibility is now an op"', async ({ page }) => { await page.goto('/blog/knowledgebase/inclura-and-vgm-forbin/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Why accessibility is now an operational essential' || t.startsWith('Why accessibility is now an operational essential'))).toBeTruthy(); }); test('blog_knowledgebase_inclura_and_vgm_forbin: nav link "VPAT Prove your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/inclura-and-vgm-forbin/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your compliance' || t.startsWith('VPAT Prove your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_inclura_and_vgm_forbin: nav link "Litigation Support Lean on spe"', async ({ page }) => { await page.goto('/blog/knowledgebase/inclura-and-vgm-forbin/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Lean on specialists whenever you need' || t.startsWith('Litigation Support Lean on specialists whenever you need')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_inclura_and_vgm_forbin: nav link "User testing Validate with act"', async ({ page }) => { await page.goto('/blog/knowledgebase/inclura-and-vgm-forbin/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with actual users' || t.startsWith('User testing Validate with actual users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_inclura_and_vgm_forbin: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/inclura-and-vgm-forbin/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_accessibility_is_a_practice_now_is_the_time_to_prove_it', () => { test('blog_knowledgebase_accessibility_is_a_practice_now_is_the_time_to_prove_it: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/accessibility-is-a-practice-now-is-the-time-to-prove-it/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('accessibility, ai, and compliance'); }); test('blog_knowledgebase_accessibility_is_a_practice_now_is_the_time_to_prove_it: h1 "Accessibility is a commitment."', async ({ page }) => { await page.goto('/blog/knowledgebase/accessibility-is-a-practice-now-is-the-time-to-prove-it/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Accessibility is a commitment. Now is the time to show it.' || t.startsWith('Accessibility is a commitment. Now is the time to show it.'))).toBeTruthy(); }); test('blog_knowledgebase_accessibility_is_a_practice_now_is_the_time_to_prove_it: h2 "Why digital access still trail"', async ({ page }) => { await page.goto('/blog/knowledgebase/accessibility-is-a-practice-now-is-the-time-to-prove-it/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Why digital access still trails behind good intentions' || t.startsWith('Why digital access still trails behind good intentions'))).toBeTruthy(); }); test('blog_knowledgebase_accessibility_is_a_practice_now_is_the_time_to_prove_it: h2 "What shifted once we began lis"', async ({ page }) => { await page.goto('/blog/knowledgebase/accessibility-is-a-practice-now-is-the-time-to-prove-it/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What shifted once we began listening more carefully' || t.startsWith('What shifted once we began listening more carefully'))).toBeTruthy(); }); test('blog_knowledgebase_accessibility_is_a_practice_now_is_the_time_to_prove_it: h2 "Inclura 2.0: A unified accessi"', async ({ page }) => { await page.goto('/blog/knowledgebase/accessibility-is-a-practice-now-is-the-time-to-prove-it/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Inclura 2.0: A unified accessibility and compliance platform' || t.startsWith('Inclura 2.0: A unified accessibility and compliance platform'))).toBeTruthy(); }); test('blog_knowledgebase_accessibility_is_a_practice_now_is_the_time_to_prove_it: nav link "VPAT Prove your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/accessibility-is-a-practice-now-is-the-time-to-prove-it/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your compliance' || t.startsWith('VPAT Prove your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_accessibility_is_a_practice_now_is_the_time_to_prove_it: nav link "Litigation Support Work with o"', async ({ page }) => { await page.goto('/blog/knowledgebase/accessibility-is-a-practice-now-is-the-time-to-prove-it/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Work with our dedicated specialists' || t.startsWith('Litigation Support Work with our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_accessibility_is_a_practice_now_is_the_time_to_prove_it: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/blog/knowledgebase/accessibility-is-a-practice-now-is-the-time-to-prove-it/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real' || t.startsWith('User testing Validate with real')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_accessibility_is_a_practice_now_is_the_time_to_prove_it: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/accessibility-is-a-practice-now-is-the-time-to-prove-it/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_ada_title_ii_deadline_extended_government_agencies', () => { test('blog_knowledgebase_ada_title_ii_deadline_extended_government_agencies: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-government-agencies/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('ada title ii deadline extended'); }); test('blog_knowledgebase_ada_title_ii_deadline_extended_government_agencies: h1 "ADA Title II deadline pushed b"', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-government-agencies/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'ADA Title II deadline pushed back: what it means for state and local agencies' || t.startsWith('ADA Title II deadline pushed back: what it means for state and local agencies'))).toBeTruthy(); }); test('blog_knowledgebase_ada_title_ii_deadline_extended_government_agencies: h2 "In brief:"', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-government-agencies/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'In brief:' || t.startsWith('In brief:'))).toBeTruthy(); }); test('blog_knowledgebase_ada_title_ii_deadline_extended_government_agencies: h2 "What\'s new: the revised compli"', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-government-agencies/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What\'s new: the revised compliance dates' || t.startsWith('What\'s new: the revised compliance dates'))).toBeTruthy(); }); test('blog_knowledgebase_ada_title_ii_deadline_extended_government_agencies: h2 "What stayed the same"', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-government-agencies/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What stayed the same' || t.startsWith('What stayed the same'))).toBeTruthy(); }); test('blog_knowledgebase_ada_title_ii_deadline_extended_government_agencies: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-government-agencies/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_ada_title_ii_deadline_extended_government_agencies: nav link "Legal Case Support Lean on our"', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-government-agencies/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Lean on our dedicated specialists' || t.startsWith('Legal Case Support Lean on our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_ada_title_ii_deadline_extended_government_agencies: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-government-agencies/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real people' || t.startsWith('User testing Validate with real people')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_ada_title_ii_deadline_extended_government_agencies: nav link "Expert review Run a hands-on a"', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-government-agencies/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert review Run a hands-on accessibility review' || t.startsWith('Expert review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_ada_title_ii_deadline_extended_what_this_means_for_public_colleges_and_universities', () => { test('blog_knowledgebase_ada_title_ii_deadline_extended_what_this_means_for_public_colleges_and_universities: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-what-this-means-for-public-colleges-and-universities/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('ada title ii deadline extended'); }); test('blog_knowledgebase_ada_title_ii_deadline_extended_what_this_means_for_public_colleges_and_universities: h1 "ADA Title II deadline pushed b"', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-what-this-means-for-public-colleges-and-universities/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'ADA Title II deadline pushed back: what it means for public colleges and universities' || t.startsWith('ADA Title II deadline pushed back: what it means for public colleges and universities'))).toBeTruthy(); }); test('blog_knowledgebase_ada_title_ii_deadline_extended_what_this_means_for_public_colleges_and_universities: h2 "What shifted: the updated comp"', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-what-this-means-for-public-colleges-and-universities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What shifted: the updated compliance deadlines' || t.startsWith('What shifted: the updated compliance deadlines'))).toBeTruthy(); }); test('blog_knowledgebase_ada_title_ii_deadline_extended_what_this_means_for_public_colleges_and_universities: h2 "What stayed the same"', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-what-this-means-for-public-colleges-and-universities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What stayed the same' || t.startsWith('What stayed the same'))).toBeTruthy(); }); test('blog_knowledgebase_ada_title_ii_deadline_extended_what_this_means_for_public_colleges_and_universities: h2 "The wider legal picture is sti"', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-what-this-means-for-public-colleges-and-universities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The wider legal picture is still in force' || t.startsWith('The wider legal picture is still in force'))).toBeTruthy(); }); test('blog_knowledgebase_ada_title_ii_deadline_extended_what_this_means_for_public_colleges_and_universities: nav link "VPAT Prove your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-what-this-means-for-public-colleges-and-universities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your compliance' || t.startsWith('VPAT Prove your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_ada_title_ii_deadline_extended_what_this_means_for_public_colleges_and_universities: nav link "Litigation Support Lean on our"', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-what-this-means-for-public-colleges-and-universities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Lean on our dedicated specialists' || t.startsWith('Litigation Support Lean on our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_ada_title_ii_deadline_extended_what_this_means_for_public_colleges_and_universities: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-what-this-means-for-public-colleges-and-universities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real people' || t.startsWith('User testing Validate with real people')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_ada_title_ii_deadline_extended_what_this_means_for_public_colleges_and_universities: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/ada-title-ii-deadline-extended-what-this-means-for-public-colleges-and-universities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_announce_your_commitment_with_a_pr', () => { test('blog_knowledgebase_announce_your_commitment_with_a_pr: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/announce-your-commitment-with-a-pr/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('announce your commitment with a pr'); }); test('blog_knowledgebase_announce_your_commitment_with_a_pr: h1 "Share your commitment through "', async ({ page }) => { await page.goto('/blog/knowledgebase/announce-your-commitment-with-a-pr/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Share your commitment through a PR' || t.startsWith('Share your commitment through a PR'))).toBeTruthy(); }); test('blog_knowledgebase_announce_your_commitment_with_a_pr: h2 "Bring accessibility to your si"', async ({ page }) => { await page.goto('/blog/knowledgebase/announce-your-commitment-with-a-pr/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Bring accessibility to your site' || t.startsWith('Bring accessibility to your site'))).toBeTruthy(); }); test('blog_knowledgebase_announce_your_commitment_with_a_pr: h2 "More resources you might enjoy"', async ({ page }) => { await page.goto('/blog/knowledgebase/announce-your-commitment-with-a-pr/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'More resources you might enjoy' || t.startsWith('More resources you might enjoy'))).toBeTruthy(); }); test('blog_knowledgebase_announce_your_commitment_with_a_pr: h2 "Ready to remove your accessibi"', async ({ page }) => { await page.goto('/blog/knowledgebase/announce-your-commitment-with-a-pr/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Ready to remove your accessibility barriers?' || t.startsWith('Ready to remove your accessibility barriers?'))).toBeTruthy(); }); test('blog_knowledgebase_announce_your_commitment_with_a_pr: nav link "VPAT Show your compliance stat"', async ({ page }) => { await page.goto('/blog/knowledgebase/announce-your-commitment-with-a-pr/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Show your compliance status' || t.startsWith('VPAT Show your compliance status')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_announce_your_commitment_with_a_pr: nav link "Lawsuit Assistance Work with s"', async ({ page }) => { await page.goto('/blog/knowledgebase/announce-your-commitment-with-a-pr/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Lawsuit Assistance Work with specialists on your case' || t.startsWith('Lawsuit Assistance Work with specialists on your case')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_announce_your_commitment_with_a_pr: nav link "User trials Check with genuine"', async ({ page }) => { await page.goto('/blog/knowledgebase/announce-your-commitment-with-a-pr/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Check with genuine users' || t.startsWith('User trials Check with genuine users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_announce_your_commitment_with_a_pr: nav link "Manual review Run a hands-on a"', async ({ page }) => { await page.goto('/blog/knowledgebase/announce-your-commitment-with-a-pr/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual review Run a hands-on accessibility review' || t.startsWith('Manual review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_building_title_ii_defensibility_into_your_procurement_process_2', () => { test('blog_knowledgebase_building_title_ii_defensibility_into_your_procurement_process_2: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/building-title-ii-defensibility-into-your-procurement-process-2/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('title ii procurement'); }); test('blog_knowledgebase_building_title_ii_defensibility_into_your_procurement_process_2: h1 "Embedding Title II defensibili"', async ({ page }) => { await page.goto('/blog/knowledgebase/building-title-ii-defensibility-into-your-procurement-process-2/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Embedding Title II defensibility into your procurement workflow' || t.startsWith('Embedding Title II defensibility into your procurement workflow'))).toBeTruthy(); }); test('blog_knowledgebase_building_title_ii_defensibility_into_your_procurement_process_2: h2 "The gist:"', async ({ page }) => { await page.goto('/blog/knowledgebase/building-title-ii-defensibility-into-your-procurement-process-2/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The gist:' || t.startsWith('The gist:'))).toBeTruthy(); }); test('blog_knowledgebase_building_title_ii_defensibility_into_your_procurement_process_2: h2 "Designing procurement accounta"', async ({ page }) => { await page.goto('/blog/knowledgebase/building-title-ii-defensibility-into-your-procurement-process-2/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Designing procurement accountability that stands firm — whatever the deadline' || t.startsWith('Designing procurement accountability that stands firm — whatever the deadline'))).toBeTruthy(); }); test('blog_knowledgebase_building_title_ii_defensibility_into_your_procurement_process_2: h2 "What a resilient strategy look"', async ({ page }) => { await page.goto('/blog/knowledgebase/building-title-ii-defensibility-into-your-procurement-process-2/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What a resilient strategy looks like in 2027' || t.startsWith('What a resilient strategy looks like in 2027'))).toBeTruthy(); }); test('blog_knowledgebase_building_title_ii_defensibility_into_your_procurement_process_2: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/building-title-ii-defensibility-into-your-procurement-process-2/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_building_title_ii_defensibility_into_your_procurement_process_2: nav link "Litigation Support Lean on our"', async ({ page }) => { await page.goto('/blog/knowledgebase/building-title-ii-defensibility-into-your-procurement-process-2/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Lean on our dedicated specialists' || t.startsWith('Litigation Support Lean on our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_building_title_ii_defensibility_into_your_procurement_process_2: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/blog/knowledgebase/building-title-ii-defensibility-into-your-procurement-process-2/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real users' || t.startsWith('User testing Validate with real users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_building_title_ii_defensibility_into_your_procurement_process_2: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/building-title-ii-defensibility-into-your-procurement-process-2/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_from_input_to_impact_reflections_for_global_accessibility_awareness_day', () => { test('blog_knowledgebase_from_input_to_impact_reflections_for_global_accessibility_awareness_day: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/from-input-to-impact-reflections-for-global-accessibility-awareness-day/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('how community guidance strengthens acces'); }); test('blog_knowledgebase_from_input_to_impact_reflections_for_global_accessibility_awareness_day: h1 "From feedback to results: Thou"', async ({ page }) => { await page.goto('/blog/knowledgebase/from-input-to-impact-reflections-for-global-accessibility-awareness-day/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'From feedback to results: Thoughts on Global Accessibility Awareness Day' || t.startsWith('From feedback to results: Thoughts on Global Accessibility Awareness Day'))).toBeTruthy(); }); test('blog_knowledgebase_from_input_to_impact_reflections_for_global_accessibility_awareness_day: h2 "In brief:"', async ({ page }) => { await page.goto('/blog/knowledgebase/from-input-to-impact-reflections-for-global-accessibility-awareness-day/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'In brief:' || t.startsWith('In brief:'))).toBeTruthy(); }); test('blog_knowledgebase_from_input_to_impact_reflections_for_global_accessibility_awareness_day: h2 "Bring accessibility to your si"', async ({ page }) => { await page.goto('/blog/knowledgebase/from-input-to-impact-reflections-for-global-accessibility-awareness-day/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Bring accessibility to your site' || t.startsWith('Bring accessibility to your site'))).toBeTruthy(); }); test('blog_knowledgebase_from_input_to_impact_reflections_for_global_accessibility_awareness_day: h2 "More reading picked just for y"', async ({ page }) => { await page.goto('/blog/knowledgebase/from-input-to-impact-reflections-for-global-accessibility-awareness-day/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'More reading picked just for you' || t.startsWith('More reading picked just for you'))).toBeTruthy(); }); test('blog_knowledgebase_from_input_to_impact_reflections_for_global_accessibility_awareness_day: nav link "VPAT Prove your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/from-input-to-impact-reflections-for-global-accessibility-awareness-day/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your compliance' || t.startsWith('VPAT Prove your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_from_input_to_impact_reflections_for_global_accessibility_awareness_day: nav link "Litigation Support Work with a"', async ({ page }) => { await page.goto('/blog/knowledgebase/from-input-to-impact-reflections-for-global-accessibility-awareness-day/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Work with a dedicated expert team' || t.startsWith('Litigation Support Work with a dedicated expert team')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_from_input_to_impact_reflections_for_global_accessibility_awareness_day: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/blog/knowledgebase/from-input-to-impact-reflections-for-global-accessibility-awareness-day/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real' || t.startsWith('User testing Validate with real')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_from_input_to_impact_reflections_for_global_accessibility_awareness_day: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/from-input-to-impact-reflections-for-global-accessibility-awareness-day/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_hhs_extends_the_section_504_deadline_what_healthcare_organizations_need_to_know', () => { test('blog_knowledgebase_hhs_extends_the_section_504_deadline_what_healthcare_organizations_need_to_know: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/hhs-extends-the-section-504-deadline-what-healthcare-organizations-need-to-know/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('section 504 deadline pushed back by hhs'); }); test('blog_knowledgebase_hhs_extends_the_section_504_deadline_what_healthcare_organizations_need_to_know: h1 "HHS pushes back the Section 50"', async ({ page }) => { await page.goto('/blog/knowledgebase/hhs-extends-the-section-504-deadline-what-healthcare-organizations-need-to-know/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'HHS pushes back the Section 504 deadline: what healthcare providers should do now' || t.startsWith('HHS pushes back the Section 504 deadline: what healthcare providers should do now'))).toBeTruthy(); }); test('blog_knowledgebase_hhs_extends_the_section_504_deadline_what_healthcare_organizations_need_to_know: h2 "What the Interim Final Rule re"', async ({ page }) => { await page.goto('/blog/knowledgebase/hhs-extends-the-section-504-deadline-what-healthcare-organizations-need-to-know/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What the Interim Final Rule really changes' || t.startsWith('What the Interim Final Rule really changes'))).toBeTruthy(); }); test('blog_knowledgebase_hhs_extends_the_section_504_deadline_what_healthcare_organizations_need_to_know: h2 "What the Interim Final Rule le"', async ({ page }) => { await page.goto('/blog/knowledgebase/hhs-extends-the-section-504-deadline-what-healthcare-organizations-need-to-know/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What the Interim Final Rule leaves untouched' || t.startsWith('What the Interim Final Rule leaves untouched'))).toBeTruthy(); }); test('blog_knowledgebase_hhs_extends_the_section_504_deadline_what_healthcare_organizations_need_to_know: h2 "Why the extension is a chance,"', async ({ page }) => { await page.goto('/blog/knowledgebase/hhs-extends-the-section-504-deadline-what-healthcare-organizations-need-to-know/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Why the extension is a chance, not a breather' || t.startsWith('Why the extension is a chance, not a breather'))).toBeTruthy(); }); test('blog_knowledgebase_hhs_extends_the_section_504_deadline_what_healthcare_organizations_need_to_know: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/hhs-extends-the-section-504-deadline-what-healthcare-organizations-need-to-know/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_hhs_extends_the_section_504_deadline_what_healthcare_organizations_need_to_know: nav link "Litigation Support Lean on our"', async ({ page }) => { await page.goto('/blog/knowledgebase/hhs-extends-the-section-504-deadline-what-healthcare-organizations-need-to-know/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Lean on our dedicated specialists' || t.startsWith('Litigation Support Lean on our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_hhs_extends_the_section_504_deadline_what_healthcare_organizations_need_to_know: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/blog/knowledgebase/hhs-extends-the-section-504-deadline-what-healthcare-organizations-need-to-know/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real people' || t.startsWith('User testing Validate with real people')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_hhs_extends_the_section_504_deadline_what_healthcare_organizations_need_to_know: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/hhs-extends-the-section-504-deadline-what-healthcare-organizations-need-to-know/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_how_higher_education_institutions_evaluate_vendors', () => { test('blog_knowledgebase_how_higher_education_institutions_evaluate_vendors: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/how-higher-education-institutions-evaluate-vendors/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('how colleges assess digital accessibilit'); }); test('blog_knowledgebase_how_higher_education_institutions_evaluate_vendors: h1 "How higher education teams cho"', async ({ page }) => { await page.goto('/blog/knowledgebase/how-higher-education-institutions-evaluate-vendors/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'How higher education teams choose their vendors' || t.startsWith('How higher education teams choose their vendors'))).toBeTruthy(); }); test('blog_knowledgebase_how_higher_education_institutions_evaluate_vendors: h2 "The gist:"', async ({ page }) => { await page.goto('/blog/knowledgebase/how-higher-education-institutions-evaluate-vendors/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The gist:' || t.startsWith('The gist:'))).toBeTruthy(); }); test('blog_knowledgebase_how_higher_education_institutions_evaluate_vendors: h2 "One practical RFP reality to k"', async ({ page }) => { await page.goto('/blog/knowledgebase/how-higher-education-institutions-evaluate-vendors/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'One practical RFP reality to keep in mind' || t.startsWith('One practical RFP reality to keep in mind'))).toBeTruthy(); }); test('blog_knowledgebase_how_higher_education_institutions_evaluate_vendors: h2 "Mapping the laws that govern a"', async ({ page }) => { await page.goto('/blog/knowledgebase/how-higher-education-institutions-evaluate-vendors/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Mapping the laws that govern accessibility across higher education' || t.startsWith('Mapping the laws that govern accessibility across higher education'))).toBeTruthy(); }); test('blog_knowledgebase_how_higher_education_institutions_evaluate_vendors: nav link "VPAT Document your conformance"', async ({ page }) => { await page.goto('/blog/knowledgebase/how-higher-education-institutions-evaluate-vendors/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Document your conformance' || t.startsWith('VPAT Document your conformance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_how_higher_education_institutions_evaluate_vendors: nav link "Legal Case Support Lean on a t"', async ({ page }) => { await page.goto('/blog/knowledgebase/how-higher-education-institutions-evaluate-vendors/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Lean on a team of dedicated experts' || t.startsWith('Legal Case Support Lean on a team of dedicated experts')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_how_higher_education_institutions_evaluate_vendors: nav link "User research Check with actua"', async ({ page }) => { await page.goto('/blog/knowledgebase/how-higher-education-institutions-evaluate-vendors/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User research Check with actual end-users' || t.startsWith('User research Check with actual end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_how_higher_education_institutions_evaluate_vendors: nav link "Expert review Run a hands-on a"', async ({ page }) => { await page.goto('/blog/knowledgebase/how-higher-education-institutions-evaluate-vendors/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert review Run a hands-on accessibility review' || t.startsWith('Expert review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_how_to_build_the_case_for_accessibility', () => { test('blog_knowledgebase_how_to_build_the_case_for_accessibility: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/how-to-build-the-case-for-accessibility/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('making the case for accessibility, step '); }); test('blog_knowledgebase_how_to_build_the_case_for_accessibility: h1 "How to make the case for acces"', async ({ page }) => { await page.goto('/blog/knowledgebase/how-to-build-the-case-for-accessibility/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'How to make the case for accessibility' || t.startsWith('How to make the case for accessibility'))).toBeTruthy(); }); test('blog_knowledgebase_how_to_build_the_case_for_accessibility: h2 "Make your website accessible t"', async ({ page }) => { await page.goto('/blog/knowledgebase/how-to-build-the-case-for-accessibility/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Make your website accessible today' || t.startsWith('Make your website accessible today'))).toBeTruthy(); }); test('blog_knowledgebase_how_to_build_the_case_for_accessibility: h2 "More great content to explore"', async ({ page }) => { await page.goto('/blog/knowledgebase/how-to-build-the-case-for-accessibility/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'More great content to explore' || t.startsWith('More great content to explore'))).toBeTruthy(); }); test('blog_knowledgebase_how_to_build_the_case_for_accessibility: h2 "Ready to eliminate your access"', async ({ page }) => { await page.goto('/blog/knowledgebase/how-to-build-the-case-for-accessibility/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Ready to eliminate your accessibility gaps?' || t.startsWith('Ready to eliminate your accessibility gaps?'))).toBeTruthy(); }); test('blog_knowledgebase_how_to_build_the_case_for_accessibility: nav link "VPAT Prove your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/how-to-build-the-case-for-accessibility/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your compliance' || t.startsWith('VPAT Prove your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_how_to_build_the_case_for_accessibility: nav link "Legal Defense Help Lean on a t"', async ({ page }) => { await page.goto('/blog/knowledgebase/how-to-build-the-case-for-accessibility/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Defense Help Lean on a team of specialists' || t.startsWith('Legal Defense Help Lean on a team of specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_how_to_build_the_case_for_accessibility: nav link "Usability testing Validate wit"', async ({ page }) => { await page.goto('/blog/knowledgebase/how-to-build-the-case-for-accessibility/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Usability testing Validate with actual users' || t.startsWith('Usability testing Validate with actual users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_how_to_build_the_case_for_accessibility: nav link "Manual review Run a hands-on a"', async ({ page }) => { await page.goto('/blog/knowledgebase/how-to-build-the-case-for-accessibility/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual review Run a hands-on accessibility check' || t.startsWith('Manual review Run a hands-on accessibility check')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_listening_and_evolving_reflections_on_a_year_of_the_product_advisory_board', () => { test('blog_knowledgebase_listening_and_evolving_reflections_on_a_year_of_the_product_advisory_board: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/listening-and-evolving-reflections-on-a-year-of-the-product-advisory-board/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('one year with our product advisory board'); }); test('blog_knowledgebase_listening_and_evolving_reflections_on_a_year_of_the_product_advisory_board: h1 "Hearing and adapting: One year"', async ({ page }) => { await page.goto('/blog/knowledgebase/listening-and-evolving-reflections-on-a-year-of-the-product-advisory-board/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Hearing and adapting: One year of insights from our Product Advisory Board' || t.startsWith('Hearing and adapting: One year of insights from our Product Advisory Board'))).toBeTruthy(); }); test('blog_knowledgebase_listening_and_evolving_reflections_on_a_year_of_the_product_advisory_board: h2 "Turning their input into real "', async ({ page }) => { await page.goto('/blog/knowledgebase/listening-and-evolving-reflections-on-a-year-of-the-product-advisory-board/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Turning their input into real product change' || t.startsWith('Turning their input into real product change'))).toBeTruthy(); }); test('blog_knowledgebase_listening_and_evolving_reflections_on_a_year_of_the_product_advisory_board: h2 "Key refinements to the Inclura"', async ({ page }) => { await page.goto('/blog/knowledgebase/listening-and-evolving-reflections-on-a-year-of-the-product-advisory-board/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Key refinements to the IncluraWidget experience' || t.startsWith('Key refinements to the IncluraWidget experience'))).toBeTruthy(); }); test('blog_knowledgebase_listening_and_evolving_reflections_on_a_year_of_the_product_advisory_board: h2 "More than the interface: a com"', async ({ page }) => { await page.goto('/blog/knowledgebase/listening-and-evolving-reflections-on-a-year-of-the-product-advisory-board/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'More than the interface: a complete platform' || t.startsWith('More than the interface: a complete platform'))).toBeTruthy(); }); test('blog_knowledgebase_listening_and_evolving_reflections_on_a_year_of_the_product_advisory_board: nav link "VPAT Record your compliance wo"', async ({ page }) => { await page.goto('/blog/knowledgebase/listening-and-evolving-reflections-on-a-year-of-the-product-advisory-board/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance work' || t.startsWith('VPAT Record your compliance work')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_listening_and_evolving_reflections_on_a_year_of_the_product_advisory_board: nav link "Lawsuit assistance Work with o"', async ({ page }) => { await page.goto('/blog/knowledgebase/listening-and-evolving-reflections-on-a-year-of-the-product-advisory-board/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Lawsuit assistance Work with our dedicated specialists' || t.startsWith('Lawsuit assistance Work with our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_listening_and_evolving_reflections_on_a_year_of_the_product_advisory_board: nav link "User testing Validate with act"', async ({ page }) => { await page.goto('/blog/knowledgebase/listening-and-evolving-reflections-on-a-year-of-the-product-advisory-board/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with actual users' || t.startsWith('User testing Validate with actual users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_listening_and_evolving_reflections_on_a_year_of_the_product_advisory_board: nav link "Manual review Run a hands-on a"', async ({ page }) => { await page.goto('/blog/knowledgebase/listening-and-evolving-reflections-on-a-year-of-the-product-advisory-board/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual review Run a hands-on accessibility review' || t.startsWith('Manual review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_live_event_build_accessible_brand', () => { test('blog_knowledgebase_live_event_build_accessible_brand: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/live-event-build-accessible-brand/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('live session'); }); test('blog_knowledgebase_live_event_build_accessible_brand: h1 "Live event: Craft an accessibl"', async ({ page }) => { await page.goto('/blog/knowledgebase/live-event-build-accessible-brand/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Live event: Craft an accessible brand' || t.startsWith('Live event: Craft an accessible brand'))).toBeTruthy(); }); test('blog_knowledgebase_live_event_build_accessible_brand: h2 "Bring accessibility to your si"', async ({ page }) => { await page.goto('/blog/knowledgebase/live-event-build-accessible-brand/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Bring accessibility to your site' || t.startsWith('Bring accessibility to your site'))).toBeTruthy(); }); test('blog_knowledgebase_live_event_build_accessible_brand: h2 "More great content picked for "', async ({ page }) => { await page.goto('/blog/knowledgebase/live-event-build-accessible-brand/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'More great content picked for you' || t.startsWith('More great content picked for you'))).toBeTruthy(); }); test('blog_knowledgebase_live_event_build_accessible_brand: h2 "Ready to close your accessibil"', async ({ page }) => { await page.goto('/blog/knowledgebase/live-event-build-accessible-brand/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Ready to close your accessibility gaps?' || t.startsWith('Ready to close your accessibility gaps?'))).toBeTruthy(); }); test('blog_knowledgebase_live_event_build_accessible_brand: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/live-event-build-accessible-brand/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_live_event_build_accessible_brand: nav link "Legal claim support Partner wi"', async ({ page }) => { await page.goto('/blog/knowledgebase/live-event-build-accessible-brand/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal claim support Partner with specialists dedicated to' || t.startsWith('Legal claim support Partner with specialists dedicated to')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_live_event_build_accessible_brand: nav link "User testing Check with real e"', async ({ page }) => { await page.goto('/blog/knowledgebase/live-event-build-accessible-brand/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Check with real end-users' || t.startsWith('User testing Check with real end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_live_event_build_accessible_brand: nav link "Manual audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/live-event-build-accessible-brand/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual audit Run a hands-on accessibility review' || t.startsWith('Manual audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_mobile_first_campuses_title_ii_level_risk', () => { test('blog_knowledgebase_mobile_first_campuses_title_ii_level_risk: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/mobile-first-campuses-title-ii-level-risk/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('title ii & mobile app risks for campuses'); }); test('blog_knowledgebase_mobile_first_campuses_title_ii_level_risk: h1 "Access on the line: mobile-fir"', async ({ page }) => { await page.goto('/blog/knowledgebase/mobile-first-campuses-title-ii-level-risk/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Access on the line: mobile-first campuses and Title II–level risk' || t.startsWith('Access on the line: mobile-first campuses and Title II–level risk'))).toBeTruthy(); }); test('blog_knowledgebase_mobile_first_campuses_title_ii_level_risk: h2 "In brief:"', async ({ page }) => { await page.goto('/blog/knowledgebase/mobile-first-campuses-title-ii-level-risk/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'In brief:' || t.startsWith('In brief:'))).toBeTruthy(); }); test('blog_knowledgebase_mobile_first_campuses_title_ii_level_risk: h2 "About this study"', async ({ page }) => { await page.goto('/blog/knowledgebase/mobile-first-campuses-title-ii-level-risk/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'About this study' || t.startsWith('About this study'))).toBeTruthy(); }); test('blog_knowledgebase_mobile_first_campuses_title_ii_level_risk: h2 "Growing dependence, growing ex"', async ({ page }) => { await page.goto('/blog/knowledgebase/mobile-first-campuses-title-ii-level-risk/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Growing dependence, growing exposure: mobile apps as critical academic gateways' || t.startsWith('Growing dependence, growing exposure: mobile apps as critical academic gateways'))).toBeTruthy(); }); test('blog_knowledgebase_mobile_first_campuses_title_ii_level_risk: nav link "VPAT Record your conformance"', async ({ page }) => { await page.goto('/blog/knowledgebase/mobile-first-campuses-title-ii-level-risk/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your conformance' || t.startsWith('VPAT Record your conformance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_mobile_first_campuses_title_ii_level_risk: nav link "Litigation Support Lean on our"', async ({ page }) => { await page.goto('/blog/knowledgebase/mobile-first-campuses-title-ii-level-risk/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Lean on our dedicated specialists' || t.startsWith('Litigation Support Lean on our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_mobile_first_campuses_title_ii_level_risk: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/blog/knowledgebase/mobile-first-campuses-title-ii-level-risk/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real' || t.startsWith('User testing Validate with real')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_mobile_first_campuses_title_ii_level_risk: nav link "Expert audit Run a manual acce"', async ({ page }) => { await page.goto('/blog/knowledgebase/mobile-first-campuses-title-ii-level-risk/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a manual accessibility review' || t.startsWith('Expert audit Run a manual accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_older_adults_profile_accesswidget', () => { test('blog_knowledgebase_older_adults_profile_accesswidget: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/older-adults-profile-accesswidget/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('older adults inclura profile overview'); }); test('blog_knowledgebase_older_adults_profile_accesswidget: h1 "Building for older adults: the"', async ({ page }) => { await page.goto('/blog/knowledgebase/older-adults-profile-accesswidget/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Building for older adults: the fastest-growing audience online is web accessibility\'s next great fro' || t.startsWith('Building for older adults: the fastest-growing audience online is web accessibility\'s next great fro'))).toBeTruthy(); }); test('blog_knowledgebase_older_adults_profile_accesswidget: h2 "In brief:"', async ({ page }) => { await page.goto('/blog/knowledgebase/older-adults-profile-accesswidget/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'In brief:' || t.startsWith('In brief:'))).toBeTruthy(); }); test('blog_knowledgebase_older_adults_profile_accesswidget: h2 "The online obstacles that olde"', async ({ page }) => { await page.goto('/blog/knowledgebase/older-adults-profile-accesswidget/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The online obstacles that older users face every day' || t.startsWith('The online obstacles that older users face every day'))).toBeTruthy(); }); test('blog_knowledgebase_older_adults_profile_accesswidget: h2 "Closing the gap: the Older Adu"', async ({ page }) => { await page.goto('/blog/knowledgebase/older-adults-profile-accesswidget/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Closing the gap: the Older Adult Profile in the IncluraWidget' || t.startsWith('Closing the gap: the Older Adult Profile in the IncluraWidget'))).toBeTruthy(); }); test('blog_knowledgebase_older_adults_profile_accesswidget: nav link "VPAT Certify your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/older-adults-profile-accesswidget/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Certify your compliance' || t.startsWith('VPAT Certify your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_older_adults_profile_accesswidget: nav link "Legal Case Support Get help fr"', async ({ page }) => { await page.goto('/blog/knowledgebase/older-adults-profile-accesswidget/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Get help from our dedicated experts' || t.startsWith('Legal Case Support Get help from our dedicated experts')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_older_adults_profile_accesswidget: nav link "User testing Test with actual "', async ({ page }) => { await page.goto('/blog/knowledgebase/older-adults-profile-accesswidget/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Test with actual end-users' || t.startsWith('User testing Test with actual end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_older_adults_profile_accesswidget: nav link "Manual audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/older-adults-profile-accesswidget/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual audit Run a hands-on accessibility audit' || t.startsWith('Manual audit Run a hands-on accessibility audit')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_online_document_accessibility_the_quietest_title_ii_risk_with_the_biggest_public_impact_in_higher_education', () => { test('blog_knowledgebase_online_document_accessibility_the_quietest_title_ii_risk_with_the_biggest_public_impact_in_higher_education: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/online-document-accessibility-the-quietest-title-ii-risk-with-the-biggest-public-impact-in-higher-education/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('ada title ii document compliance for uni'); }); test('blog_knowledgebase_online_document_accessibility_the_quietest_title_ii_risk_with_the_biggest_public_impact_in_higher_education: h1 "Document accessibility: the ov"', async ({ page }) => { await page.goto('/blog/knowledgebase/online-document-accessibility-the-quietest-title-ii-risk-with-the-biggest-public-impact-in-higher-education/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Document accessibility: the overlooked Title II gap with the biggest public impact across Higher Edu' || t.startsWith('Document accessibility: the overlooked Title II gap with the biggest public impact across Higher Edu'))).toBeTruthy(); }); test('blog_knowledgebase_online_document_accessibility_the_quietest_title_ii_risk_with_the_biggest_public_impact_in_higher_education: h2 "In brief:"', async ({ page }) => { await page.goto('/blog/knowledgebase/online-document-accessibility-the-quietest-title-ii-risk-with-the-biggest-public-impact-in-higher-education/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'In brief:' || t.startsWith('In brief:'))).toBeTruthy(); }); test('blog_knowledgebase_online_document_accessibility_the_quietest_title_ii_risk_with_the_biggest_public_impact_in_higher_education: h2 "About our research"', async ({ page }) => { await page.goto('/blog/knowledgebase/online-document-accessibility-the-quietest-title-ii-risk-with-the-biggest-public-impact-in-higher-education/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'About our research' || t.startsWith('About our research'))).toBeTruthy(); }); test('blog_knowledgebase_online_document_accessibility_the_quietest_title_ii_risk_with_the_biggest_public_impact_in_higher_education: h2 "What Title II genuinely demand"', async ({ page }) => { await page.goto('/blog/knowledgebase/online-document-accessibility-the-quietest-title-ii-risk-with-the-biggest-public-impact-in-higher-education/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What Title II genuinely demands from public higher education documents' || t.startsWith('What Title II genuinely demands from public higher education documents'))).toBeTruthy(); }); test('blog_knowledgebase_online_document_accessibility_the_quietest_title_ii_risk_with_the_biggest_public_impact_in_higher_education: nav link "VPAT Certify your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/online-document-accessibility-the-quietest-title-ii-risk-with-the-biggest-public-impact-in-higher-education/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Certify your compliance' || t.startsWith('VPAT Certify your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_online_document_accessibility_the_quietest_title_ii_risk_with_the_biggest_public_impact_in_higher_education: nav link "Legal Risk Support Lean on our"', async ({ page }) => { await page.goto('/blog/knowledgebase/online-document-accessibility-the-quietest-title-ii-risk-with-the-biggest-public-impact-in-higher-education/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Risk Support Lean on our dedicated specialists' || t.startsWith('Legal Risk Support Lean on our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_online_document_accessibility_the_quietest_title_ii_risk_with_the_biggest_public_impact_in_higher_education: nav link "User trials Validate with actu"', async ({ page }) => { await page.goto('/blog/knowledgebase/online-document-accessibility-the-quietest-title-ii-risk-with-the-biggest-public-impact-in-higher-education/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Validate with actual users' || t.startsWith('User trials Validate with actual users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_online_document_accessibility_the_quietest_title_ii_risk_with_the_biggest_public_impact_in_higher_education: nav link "Expert review Run a hands-on a"', async ({ page }) => { await page.goto('/blog/knowledgebase/online-document-accessibility-the-quietest-title-ii-risk-with-the-biggest-public-impact-in-higher-education/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert review Run a hands-on accessibility review' || t.startsWith('Expert review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_online_documents_the_quietest_title_ii_risk', () => { test('blog_knowledgebase_online_documents_the_quietest_title_ii_risk: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/online-documents-the-quietest-title-ii-risk/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('ada title ii docs'); }); test('blog_knowledgebase_online_documents_the_quietest_title_ii_risk: h1 "Online documents: Title II’s m"', async ({ page }) => { await page.goto('/blog/knowledgebase/online-documents-the-quietest-title-ii-risk/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Online documents: Title II’s most overlooked risk area' || t.startsWith('Online documents: Title II’s most overlooked risk area'))).toBeTruthy(); }); test('blog_knowledgebase_online_documents_the_quietest_title_ii_risk: h2 "The gist:"', async ({ page }) => { await page.goto('/blog/knowledgebase/online-documents-the-quietest-title-ii-risk/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The gist:' || t.startsWith('The gist:'))).toBeTruthy(); }); test('blog_knowledgebase_online_documents_the_quietest_title_ii_risk: h2 "Why it matters"', async ({ page }) => { await page.goto('/blog/knowledgebase/online-documents-the-quietest-title-ii-risk/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Why it matters' || t.startsWith('Why it matters'))).toBeTruthy(); }); test('blog_knowledgebase_online_documents_the_quietest_title_ii_risk: h2 "What Title II genuinely demand"', async ({ page }) => { await page.goto('/blog/knowledgebase/online-documents-the-quietest-title-ii-risk/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What Title II genuinely demands of digital documents' || t.startsWith('What Title II genuinely demands of digital documents'))).toBeTruthy(); }); test('blog_knowledgebase_online_documents_the_quietest_title_ii_risk: nav link "VPAT Evidence your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/online-documents-the-quietest-title-ii-risk/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Evidence your compliance' || t.startsWith('VPAT Evidence your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_online_documents_the_quietest_title_ii_risk: nav link "Litigation assistance Lean on "', async ({ page }) => { await page.goto('/blog/knowledgebase/online-documents-the-quietest-title-ii-risk/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation assistance Lean on a dedicated expert team' || t.startsWith('Litigation assistance Lean on a dedicated expert team')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_online_documents_the_quietest_title_ii_risk: nav link "User testing Test with genuine"', async ({ page }) => { await page.goto('/blog/knowledgebase/online-documents-the-quietest-title-ii-risk/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Test with genuine end-users' || t.startsWith('User testing Test with genuine end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_online_documents_the_quietest_title_ii_risk: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/online-documents-the-quietest-title-ii-risk/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_practical_roadmap_to_ada_title_ii_readiness_for_government_agencies', () => { test('blog_knowledgebase_practical_roadmap_to_ada_title_ii_readiness_for_government_agencies: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/practical-roadmap-to-ada-title-ii-readiness-for-government-agencies/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('ada title ii roadmap'); }); test('blog_knowledgebase_practical_roadmap_to_ada_title_ii_readiness_for_government_agencies: h1 "From liability to readiness: y"', async ({ page }) => { await page.goto('/blog/knowledgebase/practical-roadmap-to-ada-title-ii-readiness-for-government-agencies/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'From liability to readiness: your Title II action plan' || t.startsWith('From liability to readiness: your Title II action plan'))).toBeTruthy(); }); test('blog_knowledgebase_practical_roadmap_to_ada_title_ii_readiness_for_government_agencies: h2 "The gist:"', async ({ page }) => { await page.goto('/blog/knowledgebase/practical-roadmap-to-ada-title-ii-readiness-for-government-agencies/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The gist:' || t.startsWith('The gist:'))).toBeTruthy(); }); test('blog_knowledgebase_practical_roadmap_to_ada_title_ii_readiness_for_government_agencies: h2 "Step 1: Assess your digital pr"', async ({ page }) => { await page.goto('/blog/knowledgebase/practical-roadmap-to-ada-title-ii-readiness-for-government-agencies/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Step 1: Assess your digital programs and services' || t.startsWith('Step 1: Assess your digital programs and services'))).toBeTruthy(); }); test('blog_knowledgebase_practical_roadmap_to_ada_title_ii_readiness_for_government_agencies: h2 "Step 2: Rank the work by publi"', async ({ page }) => { await page.goto('/blog/knowledgebase/practical-roadmap-to-ada-title-ii-readiness-for-government-agencies/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Step 2: Rank the work by public impact' || t.startsWith('Step 2: Rank the work by public impact'))).toBeTruthy(); }); test('blog_knowledgebase_practical_roadmap_to_ada_title_ii_readiness_for_government_agencies: nav link "VPAT Document your conformance"', async ({ page }) => { await page.goto('/blog/knowledgebase/practical-roadmap-to-ada-title-ii-readiness-for-government-agencies/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Document your conformance' || t.startsWith('VPAT Document your conformance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_practical_roadmap_to_ada_title_ii_readiness_for_government_agencies: nav link "Litigation Backing Partner wit"', async ({ page }) => { await page.goto('/blog/knowledgebase/practical-roadmap-to-ada-title-ii-readiness-for-government-agencies/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Backing Partner with our dedicated experts' || t.startsWith('Litigation Backing Partner with our dedicated experts')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_practical_roadmap_to_ada_title_ii_readiness_for_government_agencies: nav link "Usability tests Check with rea"', async ({ page }) => { await page.goto('/blog/knowledgebase/practical-roadmap-to-ada-title-ii-readiness-for-government-agencies/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Usability tests Check with real end-users' || t.startsWith('Usability tests Check with real end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_practical_roadmap_to_ada_title_ii_readiness_for_government_agencies: nav link "Manual audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/practical-roadmap-to-ada-title-ii-readiness-for-government-agencies/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual audit Run a hands-on accessibility review' || t.startsWith('Manual audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_screen_reader_guide', () => { test('blog_knowledgebase_screen_reader_guide: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/screen-reader-guide/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('a screen reader user\'s guide to inclura'); }); test('blog_knowledgebase_screen_reader_guide: h1 "Inclura Guide for Screen Reade"', async ({ page }) => { await page.goto('/blog/knowledgebase/screen-reader-guide/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Inclura Guide for Screen Reader Users' || t.startsWith('Inclura Guide for Screen Reader Users'))).toBeTruthy(); }); test('blog_knowledgebase_screen_reader_guide: h2 "In short:"', async ({ page }) => { await page.goto('/blog/knowledgebase/screen-reader-guide/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'In short:' || t.startsWith('In short:'))).toBeTruthy(); }); test('blog_knowledgebase_screen_reader_guide: h2 "Toggling and Working with Incl"', async ({ page }) => { await page.goto('/blog/knowledgebase/screen-reader-guide/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Toggling and Working with IncluraWidget' || t.startsWith('Toggling and Working with IncluraWidget'))).toBeTruthy(); }); test('blog_knowledgebase_screen_reader_guide: h2 "What to Expect Once “Screen Re"', async ({ page }) => { await page.goto('/blog/knowledgebase/screen-reader-guide/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What to Expect Once “Screen Reader Mode” Is Turned On' || t.startsWith('What to Expect Once “Screen Reader Mode” Is Turned On'))).toBeTruthy(); }); test('blog_knowledgebase_screen_reader_guide: nav link "VPAT Prove your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/screen-reader-guide/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your compliance' || t.startsWith('VPAT Prove your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_screen_reader_guide: nav link "Legal defense help Partner wit"', async ({ page }) => { await page.goto('/blog/knowledgebase/screen-reader-guide/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal defense help Partner with our specialist team' || t.startsWith('Legal defense help Partner with our specialist team')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_screen_reader_guide: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/blog/knowledgebase/screen-reader-guide/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real' || t.startsWith('User testing Validate with real')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_screen_reader_guide: nav link "Expert review Run a hands-on a"', async ({ page }) => { await page.goto('/blog/knowledgebase/screen-reader-guide/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert review Run a hands-on accessibility check' || t.startsWith('Expert review Run a hands-on accessibility check')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_section_504_action_plan_for_healthcare_organizations', () => { test('blog_knowledgebase_section_504_action_plan_for_healthcare_organizations: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-action-plan-for-healthcare-organizations/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('section 504 action plan for healthcare o'); }); test('blog_knowledgebase_section_504_action_plan_for_healthcare_organizations: h1 "From risk to readiness: a Sect"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-action-plan-for-healthcare-organizations/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'From risk to readiness: a Section 504 compliance roadmap for healthcare providers' || t.startsWith('From risk to readiness: a Section 504 compliance roadmap for healthcare providers'))).toBeTruthy(); }); test('blog_knowledgebase_section_504_action_plan_for_healthcare_organizations: h2 "The gist:"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-action-plan-for-healthcare-organizations/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The gist:' || t.startsWith('The gist:'))).toBeTruthy(); }); test('blog_knowledgebase_section_504_action_plan_for_healthcare_organizations: h2 "Step 1: Verify your coverage a"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-action-plan-for-healthcare-organizations/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Step 1: Verify your coverage and lock in your deadline' || t.startsWith('Step 1: Verify your coverage and lock in your deadline'))).toBeTruthy(); }); test('blog_knowledgebase_section_504_action_plan_for_healthcare_organizations: h2 "Step 2: Catalog and evaluate"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-action-plan-for-healthcare-organizations/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Step 2: Catalog and evaluate' || t.startsWith('Step 2: Catalog and evaluate'))).toBeTruthy(); }); test('blog_knowledgebase_section_504_action_plan_for_healthcare_organizations: nav link "VPAT Prove your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-action-plan-for-healthcare-organizations/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your compliance' || t.startsWith('VPAT Prove your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_section_504_action_plan_for_healthcare_organizations: nav link "Litigation Support Lean on a d"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-action-plan-for-healthcare-organizations/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Lean on a dedicated expert team' || t.startsWith('Litigation Support Lean on a dedicated expert team')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_section_504_action_plan_for_healthcare_organizations: nav link "User testing Validate with gen"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-action-plan-for-healthcare-organizations/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with genuine users' || t.startsWith('User testing Validate with genuine users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_section_504_action_plan_for_healthcare_organizations: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-action-plan-for-healthcare-organizations/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_section_504_in_healthcare_is_your_compliance_plan_defensible', () => { test('blog_knowledgebase_section_504_in_healthcare_is_your_compliance_plan_defensible: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-in-healthcare-is-your-compliance-plan-defensible/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('section 504 in healthcare'); }); test('blog_knowledgebase_section_504_in_healthcare_is_your_compliance_plan_defensible: h1 "Section 504 in healthcare: doe"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-in-healthcare-is-your-compliance-plan-defensible/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Section 504 in healthcare: does your compliance plan hold up?' || t.startsWith('Section 504 in healthcare: does your compliance plan hold up?'))).toBeTruthy(); }); test('blog_knowledgebase_section_504_in_healthcare_is_your_compliance_plan_defensible: h2 "In brief:"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-in-healthcare-is-your-compliance-plan-defensible/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'In brief:' || t.startsWith('In brief:'))).toBeTruthy(); }); test('blog_knowledgebase_section_504_in_healthcare_is_your_compliance_plan_defensible: h2 "Will reaching a strong accessi"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-in-healthcare-is-your-compliance-plan-defensible/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Will reaching a strong accessibility score by itself keep you out of trouble?' || t.startsWith('Will reaching a strong accessibility score by itself keep you out of trouble?'))).toBeTruthy(); }); test('blog_knowledgebase_section_504_in_healthcare_is_your_compliance_plan_defensible: h2 "Our automated audit came back "', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-in-healthcare-is-your-compliance-plan-defensible/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Our automated audit came back clean and the tool reports we are compliant. What else should we still' || t.startsWith('Our automated audit came back clean and the tool reports we are compliant. What else should we still'))).toBeTruthy(); }); test('blog_knowledgebase_section_504_in_healthcare_is_your_compliance_plan_defensible: nav link "VPAT Prove your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-in-healthcare-is-your-compliance-plan-defensible/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your compliance' || t.startsWith('VPAT Prove your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_section_504_in_healthcare_is_your_compliance_plan_defensible: nav link "Litigation Support Lean on a d"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-in-healthcare-is-your-compliance-plan-defensible/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Lean on a dedicated expert team' || t.startsWith('Litigation Support Lean on a dedicated expert team')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_section_504_in_healthcare_is_your_compliance_plan_defensible: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-in-healthcare-is-your-compliance-plan-defensible/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real people' || t.startsWith('User testing Validate with real people')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_section_504_in_healthcare_is_your_compliance_plan_defensible: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-in-healthcare-is-your-compliance-plan-defensible/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_section_504_requirements_from_healthcare_organizations', () => { test('blog_knowledgebase_section_504_requirements_from_healthcare_organizations: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-requirements-from-healthcare-organizations/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('what section 504 demands of healthcare o'); }); test('blog_knowledgebase_section_504_requirements_from_healthcare_organizations: h1 "What Section 504 truly demands"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-requirements-from-healthcare-organizations/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What Section 504 truly demands of healthcare organizations' || t.startsWith('What Section 504 truly demands of healthcare organizations'))).toBeTruthy(); }); test('blog_knowledgebase_section_504_requirements_from_healthcare_organizations: h2 "In short:"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-requirements-from-healthcare-organizations/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'In short:' || t.startsWith('In short:'))).toBeTruthy(); }); test('blog_knowledgebase_section_504_requirements_from_healthcare_organizations: h2 "What Section 504 is — and what"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-requirements-from-healthcare-organizations/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What Section 504 is — and what shifted in 2024' || t.startsWith('What Section 504 is — and what shifted in 2024'))).toBeTruthy(); }); test('blog_knowledgebase_section_504_requirements_from_healthcare_organizations: h2 "Is your organization covered b"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-requirements-from-healthcare-organizations/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Is your organization covered by Section 504?' || t.startsWith('Is your organization covered by Section 504?'))).toBeTruthy(); }); test('blog_knowledgebase_section_504_requirements_from_healthcare_organizations: nav link "VPAT Prove your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-requirements-from-healthcare-organizations/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your compliance' || t.startsWith('VPAT Prove your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_section_504_requirements_from_healthcare_organizations: nav link "Legal Case Support Work with o"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-requirements-from-healthcare-organizations/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Work with our dedicated specialists' || t.startsWith('Legal Case Support Work with our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_section_504_requirements_from_healthcare_organizations: nav link "User testing Check with real e"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-requirements-from-healthcare-organizations/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Check with real end-users' || t.startsWith('User testing Check with real end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_section_504_requirements_from_healthcare_organizations: nav link "Expert review Run a hands-on a"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-requirements-from-healthcare-organizations/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert review Run a hands-on accessibility audit' || t.startsWith('Expert review Run a hands-on accessibility audit')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_section_504_vendors_accessibility', () => { test('blog_knowledgebase_section_504_vendors_accessibility: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-vendors-accessibility/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('section 504 and vendor tools'); }); test('blog_knowledgebase_section_504_vendors_accessibility: h1 "Under Section 504, your vendor"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-vendors-accessibility/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Under Section 504, your vendor’s accessibility gaps become your liability' || t.startsWith('Under Section 504, your vendor’s accessibility gaps become your liability'))).toBeTruthy(); }); test('blog_knowledgebase_section_504_vendors_accessibility: h2 "In brief:"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-vendors-accessibility/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'In brief:' || t.startsWith('In brief:'))).toBeTruthy(); }); test('blog_knowledgebase_section_504_vendors_accessibility: h2 "How the regulation treats tool"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-vendors-accessibility/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'How the regulation treats tools you license from vendors' || t.startsWith('How the regulation treats tools you license from vendors'))).toBeTruthy(); }); test('blog_knowledgebase_section_504_vendors_accessibility: h2 "Which supplier platforms count"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-vendors-accessibility/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Which supplier platforms count here' || t.startsWith('Which supplier platforms count here'))).toBeTruthy(); }); test('blog_knowledgebase_section_504_vendors_accessibility: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-vendors-accessibility/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_section_504_vendors_accessibility: nav link "Legal Case Support Work with o"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-vendors-accessibility/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Work with our dedicated specialists' || t.startsWith('Legal Case Support Work with our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_section_504_vendors_accessibility: nav link "User testing Test with actual "', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-vendors-accessibility/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Test with actual end-users' || t.startsWith('User testing Test with actual end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_section_504_vendors_accessibility: nav link "Manual audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/section-504-vendors-accessibility/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual audit Run a hands-on accessibility review' || t.startsWith('Manual audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_the_section_504_accessibility_gap_in_healthcare', () => { test('blog_knowledgebase_the_section_504_accessibility_gap_in_healthcare: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/the-section-504-accessibility-gap-in-healthcare/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('the section 504 gap in healthcare'); }); test('blog_knowledgebase_the_section_504_accessibility_gap_in_healthcare: h1 "The Section 504 accessibility "', async ({ page }) => { await page.goto('/blog/knowledgebase/the-section-504-accessibility-gap-in-healthcare/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The Section 504 accessibility gap in healthcare: what the data reveals' || t.startsWith('The Section 504 accessibility gap in healthcare: what the data reveals'))).toBeTruthy(); }); test('blog_knowledgebase_the_section_504_accessibility_gap_in_healthcare: h2 "In short:"', async ({ page }) => { await page.goto('/blog/knowledgebase/the-section-504-accessibility-gap-in-healthcare/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'In short:' || t.startsWith('In short:'))).toBeTruthy(); }); test('blog_knowledgebase_the_section_504_accessibility_gap_in_healthcare: h2 "Why we ran this evaluation"', async ({ page }) => { await page.goto('/blog/knowledgebase/the-section-504-accessibility-gap-in-healthcare/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Why we ran this evaluation' || t.startsWith('Why we ran this evaluation'))).toBeTruthy(); }); test('blog_knowledgebase_the_section_504_accessibility_gap_in_healthcare: h2 "What our review of 300 healthc"', async ({ page }) => { await page.goto('/blog/knowledgebase/the-section-504-accessibility-gap-in-healthcare/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What our review of 300 healthcare websites' || t.startsWith('What our review of 300 healthcare websites'))).toBeTruthy(); }); test('blog_knowledgebase_the_section_504_accessibility_gap_in_healthcare: nav link "VPAT Document your conformance"', async ({ page }) => { await page.goto('/blog/knowledgebase/the-section-504-accessibility-gap-in-healthcare/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Document your conformance' || t.startsWith('VPAT Document your conformance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_the_section_504_accessibility_gap_in_healthcare: nav link "Legal Case Support Partner wit"', async ({ page }) => { await page.goto('/blog/knowledgebase/the-section-504-accessibility-gap-in-healthcare/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Partner with our dedicated experts' || t.startsWith('Legal Case Support Partner with our dedicated experts')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_the_section_504_accessibility_gap_in_healthcare: nav link "User trials Test with actual e"', async ({ page }) => { await page.goto('/blog/knowledgebase/the-section-504-accessibility-gap-in-healthcare/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Test with actual end-users' || t.startsWith('User trials Test with actual end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_the_section_504_accessibility_gap_in_healthcare: nav link "Manual audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/the-section-504-accessibility-gap-in-healthcare/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual audit Run a hands-on accessibility review' || t.startsWith('Manual audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_the_web_got_harder_to_navigate_this_year', () => { test('blog_knowledgebase_the_web_got_harder_to_navigate_this_year: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/the-web-got-harder-to-navigate-this-year/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('is access designed in, or patched on aft'); }); test('blog_knowledgebase_the_web_got_harder_to_navigate_this_year: h1 "The web became less usable thi"', async ({ page }) => { await page.goto('/blog/knowledgebase/the-web-got-harder-to-navigate-this-year/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The web became less usable this past year' || t.startsWith('The web became less usable this past year'))).toBeTruthy(); }); test('blog_knowledgebase_the_web_got_harder_to_navigate_this_year: h2 "The gist:"', async ({ page }) => { await page.goto('/blog/knowledgebase/the-web-got-harder-to-navigate-this-year/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The gist:' || t.startsWith('The gist:'))).toBeTruthy(); }); test('blog_knowledgebase_the_web_got_harder_to_navigate_this_year: h2 "The pressure is coming from ev"', async ({ page }) => { await page.goto('/blog/knowledgebase/the-web-got-harder-to-navigate-this-year/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The pressure is coming from every direction' || t.startsWith('The pressure is coming from every direction'))).toBeTruthy(); }); test('blog_knowledgebase_the_web_got_harder_to_navigate_this_year: h2 "Hitting the same familiar snag"', async ({ page }) => { await page.goto('/blog/knowledgebase/the-web-got-harder-to-navigate-this-year/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Hitting the same familiar snags' || t.startsWith('Hitting the same familiar snags'))).toBeTruthy(); }); test('blog_knowledgebase_the_web_got_harder_to_navigate_this_year: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/the-web-got-harder-to-navigate-this-year/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_the_web_got_harder_to_navigate_this_year: nav link "Legal Case Support Work with a"', async ({ page }) => { await page.goto('/blog/knowledgebase/the-web-got-harder-to-navigate-this-year/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Work with a dedicated expert team' || t.startsWith('Legal Case Support Work with a dedicated expert team')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_the_web_got_harder_to_navigate_this_year: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/blog/knowledgebase/the-web-got-harder-to-navigate-this-year/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real users' || t.startsWith('User testing Validate with real users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_the_web_got_harder_to_navigate_this_year: nav link "Manual audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/the-web-got-harder-to-navigate-this-year/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual audit Run a hands-on accessibility review' || t.startsWith('Manual audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_title_ii_decision_tree_for_higher_education', () => { test('blog_knowledgebase_title_ii_decision_tree_for_higher_education: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-decision-tree-for-higher-education/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('title ii decision tree for higher educat'); }); test('blog_knowledgebase_title_ii_decision_tree_for_higher_education: h1 "Title II decision guide for Hi"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-decision-tree-for-higher-education/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Title II decision guide for Higher Education' || t.startsWith('Title II decision guide for Higher Education'))).toBeTruthy(); }); test('blog_knowledgebase_title_ii_decision_tree_for_higher_education: h2 "Click here to open the decisio"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-decision-tree-for-higher-education/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Click here to open the decision tree.' || t.startsWith('Click here to open the decision tree.'))).toBeTruthy(); }); test('blog_knowledgebase_title_ii_decision_tree_for_higher_education: h2 "More helpful reading for you"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-decision-tree-for-higher-education/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'More helpful reading for you' || t.startsWith('More helpful reading for you'))).toBeTruthy(); }); test('blog_knowledgebase_title_ii_decision_tree_for_higher_education: h2 "Ready to fix your accessibilit"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-decision-tree-for-higher-education/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Ready to fix your accessibility gaps?' || t.startsWith('Ready to fix your accessibility gaps?'))).toBeTruthy(); }); test('blog_knowledgebase_title_ii_decision_tree_for_higher_education: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-decision-tree-for-higher-education/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_title_ii_decision_tree_for_higher_education: nav link "Legal Case Support Get help fr"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-decision-tree-for-higher-education/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Get help from our dedicated specialists' || t.startsWith('Legal Case Support Get help from our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_title_ii_decision_tree_for_higher_education: nav link "User testing Check with real e"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-decision-tree-for-higher-education/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Check with real end-users' || t.startsWith('User testing Check with real end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_title_ii_decision_tree_for_higher_education: nav link "Expert review Run a hands-on a"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-decision-tree-for-higher-education/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert review Run a hands-on accessibility audit' || t.startsWith('Expert review Run a hands-on accessibility audit')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_title_ii_defensible_procurement_for_public_colleges_and_universities', () => { test('blog_knowledgebase_title_ii_defensible_procurement_for_public_colleges_and_universities: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-defensible-procurement-for-public-colleges-and-universities/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('building title ii defensibility into uni'); }); test('blog_knowledgebase_title_ii_defensible_procurement_for_public_colleges_and_universities: h1 "Embedding Title II defensibili"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-defensible-procurement-for-public-colleges-and-universities/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Embedding Title II defensibility into higher-ed purchasing' || t.startsWith('Embedding Title II defensibility into higher-ed purchasing'))).toBeTruthy(); }); test('blog_knowledgebase_title_ii_defensible_procurement_for_public_colleges_and_universities: h2 "In brief:"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-defensible-procurement-for-public-colleges-and-universities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'In brief:' || t.startsWith('In brief:'))).toBeTruthy(); }); test('blog_knowledgebase_title_ii_defensible_procurement_for_public_colleges_and_universities: h2 "Step 1: Establish leverage"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-defensible-procurement-for-public-colleges-and-universities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Step 1: Establish leverage' || t.startsWith('Step 1: Establish leverage'))).toBeTruthy(); }); test('blog_knowledgebase_title_ii_defensible_procurement_for_public_colleges_and_universities: h2 "Step 2: Divide the responsibil"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-defensible-procurement-for-public-colleges-and-universities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Step 2: Divide the responsibility the right way' || t.startsWith('Step 2: Divide the responsibility the right way'))).toBeTruthy(); }); test('blog_knowledgebase_title_ii_defensible_procurement_for_public_colleges_and_universities: nav link "VPAT Certify your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-defensible-procurement-for-public-colleges-and-universities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Certify your compliance' || t.startsWith('VPAT Certify your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_title_ii_defensible_procurement_for_public_colleges_and_universities: nav link "Legal Defense Help Partner wit"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-defensible-procurement-for-public-colleges-and-universities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Defense Help Partner with our dedicated experts' || t.startsWith('Legal Defense Help Partner with our dedicated experts')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_title_ii_defensible_procurement_for_public_colleges_and_universities: nav link "Usability tests Validate with "', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-defensible-procurement-for-public-colleges-and-universities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Usability tests Validate with real people' || t.startsWith('Usability tests Validate with real people')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_title_ii_defensible_procurement_for_public_colleges_and_universities: nav link "Manual review Run a hands-on a"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-defensible-procurement-for-public-colleges-and-universities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual review Run a hands-on accessibility review' || t.startsWith('Manual review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_title_ii_document_readiness_checklist_for_higher_education', () => { test('blog_knowledgebase_title_ii_document_readiness_checklist_for_higher_education: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-document-readiness-checklist-for-higher-education/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('ada title ii document readiness list for'); }); test('blog_knowledgebase_title_ii_document_readiness_checklist_for_higher_education: h1 "Getting your documents Title I"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-document-readiness-checklist-for-higher-education/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Getting your documents Title II ready across higher education' || t.startsWith('Getting your documents Title II ready across higher education'))).toBeTruthy(); }); test('blog_knowledgebase_title_ii_document_readiness_checklist_for_higher_education: h2 "Why document accessibility is "', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-document-readiness-checklist-for-higher-education/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Why document accessibility is a Title II priority' || t.startsWith('Why document accessibility is a Title II priority'))).toBeTruthy(); }); test('blog_knowledgebase_title_ii_document_readiness_checklist_for_higher_education: h2 "Which documents fall within sc"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-document-readiness-checklist-for-higher-education/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Which documents fall within scope' || t.startsWith('Which documents fall within scope'))).toBeTruthy(); }); test('blog_knowledgebase_title_ii_document_readiness_checklist_for_higher_education: h2 "The document readiness checkli"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-document-readiness-checklist-for-higher-education/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The document readiness checklist' || t.startsWith('The document readiness checklist'))).toBeTruthy(); }); test('blog_knowledgebase_title_ii_document_readiness_checklist_for_higher_education: nav link "VPAT Record your compliance wo"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-document-readiness-checklist-for-higher-education/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance work' || t.startsWith('VPAT Record your compliance work')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_title_ii_document_readiness_checklist_for_higher_education: nav link "Legal Case Support Work with a"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-document-readiness-checklist-for-higher-education/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Work with a dedicated expert team' || t.startsWith('Legal Case Support Work with a dedicated expert team')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_title_ii_document_readiness_checklist_for_higher_education: nav link "User testing Validate with act"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-document-readiness-checklist-for-higher-education/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with actual users' || t.startsWith('User testing Validate with actual users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_title_ii_document_readiness_checklist_for_higher_education: nav link "Manual audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/title-ii-document-readiness-checklist-for-higher-education/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual audit Run a hands-on accessibility review' || t.startsWith('Manual audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_understanding_title_ii_for_higher_education', () => { test('blog_knowledgebase_understanding_title_ii_for_higher_education: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-higher-education/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('title ii reporting for higher ed'); }); test('blog_knowledgebase_understanding_title_ii_for_higher_education: h1 "Decoding Title II: the respons"', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-higher-education/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Decoding Title II: the responsibilities public colleges and universities must meet' || t.startsWith('Decoding Title II: the responsibilities public colleges and universities must meet'))).toBeTruthy(); }); test('blog_knowledgebase_understanding_title_ii_for_higher_education: h2 "In brief:"', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-higher-education/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'In brief:' || t.startsWith('In brief:'))).toBeTruthy(); }); test('blog_knowledgebase_understanding_title_ii_for_higher_education: h2 "About this research"', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-higher-education/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'About this research' || t.startsWith('About this research'))).toBeTruthy(); }); test('blog_knowledgebase_understanding_title_ii_for_higher_education: h2 "ADA Title II, explained in pla"', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-higher-education/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'ADA Title II, explained in plain language for busy teams' || t.startsWith('ADA Title II, explained in plain language for busy teams'))).toBeTruthy(); }); test('blog_knowledgebase_understanding_title_ii_for_higher_education: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-higher-education/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_understanding_title_ii_for_higher_education: nav link "Legal Case Support Work with o"', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-higher-education/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Work with our specialist advisors' || t.startsWith('Legal Case Support Work with our specialist advisors')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_understanding_title_ii_for_higher_education: nav link "Live testing Test with actual "', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-higher-education/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Live testing Test with actual visitors' || t.startsWith('Live testing Test with actual visitors')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_understanding_title_ii_for_higher_education: nav link "Manual review Run a hands-on a"', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-higher-education/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual review Run a hands-on accessibility review' || t.startsWith('Manual review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_understanding_title_ii_for_public_entities', () => { test('blog_knowledgebase_understanding_title_ii_for_public_entities: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-public-entities/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('public entities and title ii'); }); test('blog_knowledgebase_understanding_title_ii_for_public_entities: h1 "Title II explained: the real o"', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-public-entities/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Title II explained: the real obligations facing public entities today' || t.startsWith('Title II explained: the real obligations facing public entities today'))).toBeTruthy(); }); test('blog_knowledgebase_understanding_title_ii_for_public_entities: h2 "The gist:"', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-public-entities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The gist:' || t.startsWith('The gist:'))).toBeTruthy(); }); test('blog_knowledgebase_understanding_title_ii_for_public_entities: h2 "The essentials of ADA Title II"', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-public-entities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The essentials of ADA Title II, explained without the jargon' || t.startsWith('The essentials of ADA Title II, explained without the jargon'))).toBeTruthy(); }); test('blog_knowledgebase_understanding_title_ii_for_public_entities: h2 "Is your organization covered b"', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-public-entities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Is your organization covered by Title II? And if it is, where should your attention go first?' || t.startsWith('Is your organization covered by Title II? And if it is, where should your attention go first?'))).toBeTruthy(); }); test('blog_knowledgebase_understanding_title_ii_for_public_entities: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-public-entities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_understanding_title_ii_for_public_entities: nav link "Legal Case Support Work with o"', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-public-entities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Work with our dedicated specialists' || t.startsWith('Legal Case Support Work with our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_understanding_title_ii_for_public_entities: nav link "User trials Try it with real p"', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-public-entities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Try it with real people' || t.startsWith('User trials Try it with real people')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_understanding_title_ii_for_public_entities: nav link "Human audit Run a hands-on acc"', async ({ page }) => { await page.goto('/blog/knowledgebase/understanding-title-ii-for-public-entities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Human audit Run a hands-on accessibility review' || t.startsWith('Human audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_web_accessibility_for_spinal_cord_injury_community', () => { test('blog_knowledgebase_web_accessibility_for_spinal_cord_injury_community: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-for-spinal-cord-injury-community/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('digital access & spinal cord injury'); }); test('blog_knowledgebase_web_accessibility_for_spinal_cord_injury_community: h1 "Digital accessibility, seen th"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-for-spinal-cord-injury-community/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Digital accessibility, seen through the eyes of the spinal cord injury community' || t.startsWith('Digital accessibility, seen through the eyes of the spinal cord injury community'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_for_spinal_cord_injury_community: h2 "The gist:"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-for-spinal-cord-injury-community/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The gist:' || t.startsWith('The gist:'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_for_spinal_cord_injury_community: h2 "Meet Cole Bennett, Director of"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-for-spinal-cord-injury-community/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Meet Cole Bennett, Director of Digital Content Strategy, Open Roads Magazine' || t.startsWith('Meet Cole Bennett, Director of Digital Content Strategy, Open Roads Magazine'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_for_spinal_cord_injury_community: h2 "Which online accessibility bar"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-for-spinal-cord-injury-community/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Which online accessibility barriers do people with spinal cord injuries encounter?' || t.startsWith('Which online accessibility barriers do people with spinal cord injuries encounter?'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_for_spinal_cord_injury_community: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-for-spinal-cord-injury-community/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_for_spinal_cord_injury_community: nav link "Lawsuit Assistance Work with s"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-for-spinal-cord-injury-community/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Lawsuit Assistance Work with specialists you trust' || t.startsWith('Lawsuit Assistance Work with specialists you trust')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_for_spinal_cord_injury_community: nav link "User trials Check with genuine"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-for-spinal-cord-injury-community/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Check with genuine users' || t.startsWith('User trials Check with genuine users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_for_spinal_cord_injury_community: nav link "Manual review Run a hands-on a"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-for-spinal-cord-injury-community/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual review Run a hands-on accessibility review' || t.startsWith('Manual review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_web_accessibility_from_the_perspective_of_blind_and_low_vision_veterans', () => { test('blog_knowledgebase_web_accessibility_from_the_perspective_of_blind_and_low_vision_veterans: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-blind-and-low-vision-veterans/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('web accessibility for blind veterans'); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_blind_and_low_vision_veterans: h1 "Digital accessibility, seen th"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-blind-and-low-vision-veterans/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Digital accessibility, seen through the eyes of blind and low vision veterans' || t.startsWith('Digital accessibility, seen through the eyes of blind and low vision veterans'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_blind_and_low_vision_veterans: h2 "The gist:"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-blind-and-low-vision-veterans/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The gist:' || t.startsWith('The gist:'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_blind_and_low_vision_veterans: h2 "Meet Elena Marsh, National Exe"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-blind-and-low-vision-veterans/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Meet Elena Marsh, National Executive Director and National Legislative Director, Vision Veterans All' || t.startsWith('Meet Elena Marsh, National Executive Director and National Legislative Director, Vision Veterans All'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_blind_and_low_vision_veterans: h2 "What digital barriers do blind"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-blind-and-low-vision-veterans/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What digital barriers do blind and low vision veterans still run into online?' || t.startsWith('What digital barriers do blind and low vision veterans still run into online?'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_blind_and_low_vision_veterans: nav link "VPAT Prove that you comply"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-blind-and-low-vision-veterans/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove that you comply' || t.startsWith('VPAT Prove that you comply')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_blind_and_low_vision_veterans: nav link "Litigation Support Work with a"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-blind-and-low-vision-veterans/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Work with a dedicated specialist team' || t.startsWith('Litigation Support Work with a dedicated specialist team')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_blind_and_low_vision_veterans: nav link "User testing Validate with gen"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-blind-and-low-vision-veterans/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with genuine users' || t.startsWith('User testing Validate with genuine users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_blind_and_low_vision_veterans: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-blind-and-low-vision-veterans/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_web_accessibility_from_the_perspective_of_people_advocating_for_cognitive_inclusion', () => { test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_advocating_for_cognitive_inclusion: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-advocating-for-cognitive-inclusion/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('cognitive disabilities & the web'); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_advocating_for_cognitive_inclusion: h1 "Digital accessibility, through"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-advocating-for-cognitive-inclusion/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Digital accessibility, through the eyes of those championing cognitive inclusion' || t.startsWith('Digital accessibility, through the eyes of those championing cognitive inclusion'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_advocating_for_cognitive_inclusion: h2 "Meet Marcus Delgado, Chief Tec"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-advocating-for-cognitive-inclusion/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Meet Marcus Delgado, Chief Technology and Information Officer, 2026 Unified Athletes USA Games' || t.startsWith('Meet Marcus Delgado, Chief Technology and Information Officer, 2026 Unified Athletes USA Games'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_advocating_for_cognitive_inclusion: h2 "Which online barriers do peopl"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-advocating-for-cognitive-inclusion/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Which online barriers do people with intellectual disabilities run into most often?' || t.startsWith('Which online barriers do people with intellectual disabilities run into most often?'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_advocating_for_cognitive_inclusion: h2 "What Marcus brought to the tab"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-advocating-for-cognitive-inclusion/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What Marcus brought to the table' || t.startsWith('What Marcus brought to the table'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_advocating_for_cognitive_inclusion: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-advocating-for-cognitive-inclusion/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_advocating_for_cognitive_inclusion: nav link "Litigation Support Work with o"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-advocating-for-cognitive-inclusion/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Work with our dedicated specialists' || t.startsWith('Litigation Support Work with our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_advocating_for_cognitive_inclusion: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-advocating-for-cognitive-inclusion/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real' || t.startsWith('User testing Validate with real')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_advocating_for_cognitive_inclusion: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-advocating-for-cognitive-inclusion/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_web_accessibility_from_the_perspective_of_people_building_inclusive_communities', () => { test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_building_inclusive_communities: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-building-inclusive-communities/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('how accessible design helps communities '); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_building_inclusive_communities: h1 "Digital access, seen through t"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-building-inclusive-communities/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Digital access, seen through the eyes of those who build welcoming communities' || t.startsWith('Digital access, seen through the eyes of those who build welcoming communities'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_building_inclusive_communities: h2 "What online accessibility barr"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-building-inclusive-communities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What online accessibility barriers confront people with physical disabilities' || t.startsWith('What online accessibility barriers confront people with physical disabilities'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_building_inclusive_communities: h2 "What Renata brought to the tab"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-building-inclusive-communities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What Renata brought to the table' || t.startsWith('What Renata brought to the table'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_building_inclusive_communities: h2 "The takeaway"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-building-inclusive-communities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The takeaway' || t.startsWith('The takeaway'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_building_inclusive_communities: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-building-inclusive-communities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_building_inclusive_communities: nav link "Legal Defense Help Work with s"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-building-inclusive-communities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Defense Help Work with specialists who care' || t.startsWith('Legal Defense Help Work with specialists who care')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_building_inclusive_communities: nav link "Real-user testing Validate wit"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-building-inclusive-communities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Real-user testing Validate with actual' || t.startsWith('Real-user testing Validate with actual')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_building_inclusive_communities: nav link "Specialist review Run a hands-"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-building-inclusive-communities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Specialist review Run a hands-on accessibility check' || t.startsWith('Specialist review Run a hands-on accessibility check')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_web_accessibility_from_the_perspective_of_people_living_with_parkinsons_disease', () => { test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_living_with_parkinsons_disease: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-living-with-parkinsons-disease/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('digital accessibility for parkinson\'s di'); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_living_with_parkinsons_disease: h1 "Web accessibility, seen throug"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-living-with-parkinsons-disease/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Web accessibility, seen through the eyes of people living with Parkinson’s Disease' || t.startsWith('Web accessibility, seen through the eyes of people living with Parkinson’s Disease'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_living_with_parkinsons_disease: h2 "Meet Marta Delgado, Vice Presi"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-living-with-parkinsons-disease/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Meet Marta Delgado, Vice President of Digital Strategy, the Parkinson’s Life Foundation' || t.startsWith('Meet Marta Delgado, Vice President of Digital Strategy, the Parkinson’s Life Foundation'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_living_with_parkinsons_disease: h2 "Which accessibility barriers d"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-living-with-parkinsons-disease/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Which accessibility barriers do people with Parkinson’s disease meet online?' || t.startsWith('Which accessibility barriers do people with Parkinson’s disease meet online?'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_living_with_parkinsons_disease: h2 "What Marta brought to the tabl"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-living-with-parkinsons-disease/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What Marta brought to the table' || t.startsWith('What Marta brought to the table'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_living_with_parkinsons_disease: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-living-with-parkinsons-disease/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_living_with_parkinsons_disease: nav link "Legal Case Support Lean on our"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-living-with-parkinsons-disease/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Lean on our specialist team for help' || t.startsWith('Legal Case Support Lean on our specialist team for help')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_living_with_parkinsons_disease: nav link "User research Trial with real "', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-living-with-parkinsons-disease/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User research Trial with real end-users' || t.startsWith('User research Trial with real end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_living_with_parkinsons_disease: nav link "Manual audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-living-with-parkinsons-disease/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual audit Run a hands-on accessibility audit' || t.startsWith('Manual audit Run a hands-on accessibility audit')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_web_accessibility_from_the_perspective_of_people_shaping_digital_systems', () => { test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_shaping_digital_systems: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-shaping-digital-systems/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('web accessibility built in from the star'); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_shaping_digital_systems: h1 "Accessibility in practice, thr"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-shaping-digital-systems/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Accessibility in practice, through the eyes of those building digital systems' || t.startsWith('Accessibility in practice, through the eyes of those building digital systems'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_shaping_digital_systems: h2 "Meet Rosa Delgado, Section 508"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-shaping-digital-systems/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Meet Rosa Delgado, Section 508 officer at the National Defense Directorate' || t.startsWith('Meet Rosa Delgado, Section 508 officer at the National Defense Directorate'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_shaping_digital_systems: h2 "Personal experience redefined "', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-shaping-digital-systems/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Personal experience redefined her purpose' || t.startsWith('Personal experience redefined her purpose'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_shaping_digital_systems: h2 "Which online barriers still co"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-shaping-digital-systems/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Which online barriers still confront people with disabilities today?' || t.startsWith('Which online barriers still confront people with disabilities today?'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_shaping_digital_systems: nav link "VPAT Record your compliance wo"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-shaping-digital-systems/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance work' || t.startsWith('VPAT Record your compliance work')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_shaping_digital_systems: nav link "Legal Case Support Work with o"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-shaping-digital-systems/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Work with our specialist support team' || t.startsWith('Legal Case Support Work with our specialist support team')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_shaping_digital_systems: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-shaping-digital-systems/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real' || t.startsWith('User testing Validate with real')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_shaping_digital_systems: nav link "Manual audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-shaping-digital-systems/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual audit Run a hands-on accessibility review' || t.startsWith('Manual audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_disabilities_from_first_grade_to_the_workforce', () => { test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_disabilities_from_first_grade_to_the_workforce: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-disabilities-from-first-grade-to-the-workforce/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('digital inclusion for people with disabi'); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_disabilities_from_first_grade_to_the_workforce: h1 "Digital accessibility, seen th"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-disabilities-from-first-grade-to-the-workforce/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Digital accessibility, seen through the eyes of people with disabilities — from the classroom to the' || t.startsWith('Digital accessibility, seen through the eyes of people with disabilities — from the classroom to the'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_disabilities_from_first_grade_to_the_workforce: h2 "Meet Devon Halloran, Chief Inf"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-disabilities-from-first-grade-to-the-workforce/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Meet Devon Halloran, Chief Information Officer, The Meridian Institute' || t.startsWith('Meet Devon Halloran, Chief Information Officer, The Meridian Institute'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_disabilities_from_first_grade_to_the_workforce: h2 "How does digital accessibility"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-disabilities-from-first-grade-to-the-workforce/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'How does digital accessibility change for people with disabilities over a lifetime?' || t.startsWith('How does digital accessibility change for people with disabilities over a lifetime?'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_disabilities_from_first_grade_to_the_workforce: h2 "What Devon brought to the tabl"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-disabilities-from-first-grade-to-the-workforce/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What Devon brought to the table' || t.startsWith('What Devon brought to the table'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_disabilities_from_first_grade_to_the_workforce: nav link "VPAT Prove your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-disabilities-from-first-grade-to-the-workforce/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your compliance' || t.startsWith('VPAT Prove your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_disabilities_from_first_grade_to_the_workforce: nav link "Litigation Support Lean on our"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-disabilities-from-first-grade-to-the-workforce/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Lean on our dedicated specialists' || t.startsWith('Litigation Support Lean on our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_disabilities_from_first_grade_to_the_workforce: nav link "User testing Validate with act"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-disabilities-from-first-grade-to-the-workforce/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with actual users' || t.startsWith('User testing Validate with actual users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_disabilities_from_first_grade_to_the_workforce: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-disabilities-from-first-grade-to-the-workforce/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_ehlers_danlos_syndrome', () => { test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_ehlers_danlos_syndrome: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-ehlers-danlos-syndrome/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('web accessibility through an eds lens'); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_ehlers_danlos_syndrome: h1 "Web accessibility, seen throug"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-ehlers-danlos-syndrome/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Web accessibility, seen through the eyes of people with Ehlers Danlos Syndrome' || t.startsWith('Web accessibility, seen through the eyes of people with Ehlers Danlos Syndrome'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_ehlers_danlos_syndrome: h2 "Meet Dana Whitfield, Senior Ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-ehlers-danlos-syndrome/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Meet Dana Whitfield, Senior Accessibility Coordinator at the Connective Tissue Alliance' || t.startsWith('Meet Dana Whitfield, Senior Accessibility Coordinator at the Connective Tissue Alliance'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_ehlers_danlos_syndrome: h2 "Which online accessibility bar"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-ehlers-danlos-syndrome/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Which online accessibility barriers do people with Ehlers-Danlos syndromes encounter?' || t.startsWith('Which online accessibility barriers do people with Ehlers-Danlos syndromes encounter?'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_ehlers_danlos_syndrome: h2 "What Dana brought to the table"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-ehlers-danlos-syndrome/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What Dana brought to the table' || t.startsWith('What Dana brought to the table'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_ehlers_danlos_syndrome: nav link "VPAT Prove your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-ehlers-danlos-syndrome/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your compliance' || t.startsWith('VPAT Prove your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_ehlers_danlos_syndrome: nav link "Litigation Support Work with o"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-ehlers-danlos-syndrome/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Work with our dedicated specialists' || t.startsWith('Litigation Support Work with our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_ehlers_danlos_syndrome: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-ehlers-danlos-syndrome/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real' || t.startsWith('User testing Validate with real')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_ehlers_danlos_syndrome: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-ehlers-danlos-syndrome/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_epilepsy', () => { test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_epilepsy: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-epilepsy/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('epilepsy and web access'); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_epilepsy: h1 "Digital accessibility, seen th"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-epilepsy/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Digital accessibility, seen through the eyes of people with epilepsy' || t.startsWith('Digital accessibility, seen through the eyes of people with epilepsy'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_epilepsy: h2 "Meet Rowan Castellano, founder"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-epilepsy/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Meet Rowan Castellano, founder of the Beyond Seizures Alliance' || t.startsWith('Meet Rowan Castellano, founder of the Beyond Seizures Alliance'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_epilepsy: h2 "What online accessibility barr"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-epilepsy/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What online accessibility barriers do people with epilepsy run into?' || t.startsWith('What online accessibility barriers do people with epilepsy run into?'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_epilepsy: h2 "What Rowan brought to the tabl"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-epilepsy/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What Rowan brought to the table' || t.startsWith('What Rowan brought to the table'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_epilepsy: nav link "VPAT Document your conformance"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-epilepsy/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Document your conformance' || t.startsWith('VPAT Document your conformance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_epilepsy: nav link "Legal Defense Support Lean on "', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-epilepsy/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Defense Support Lean on our dedicated specialists' || t.startsWith('Legal Defense Support Lean on our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_epilepsy: nav link "User trials Validate with real"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-epilepsy/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Validate with real people' || t.startsWith('User trials Validate with real people')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_epilepsy: nav link "Manual audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-epilepsy/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual audit Run a hands-on accessibility review' || t.startsWith('Manual audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_hidden_disabilities', () => { test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_hidden_disabilities: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-hidden-disabilities/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('invisible conditions and the quiet cost '); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_hidden_disabilities: h1 "Web accessibility, through the"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-hidden-disabilities/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Web accessibility, through the lens of people living with hidden disabilities' || t.startsWith('Web accessibility, through the lens of people living with hidden disabilities'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_hidden_disabilities: h2 "Meet Jordan Avery, Chief Brand"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-hidden-disabilities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Meet Jordan Avery, Chief Brand Officer, The Hidden Petal Alliance' || t.startsWith('Meet Jordan Avery, Chief Brand Officer, The Hidden Petal Alliance'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_hidden_disabilities: h2 "What kinds of online barriers "', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-hidden-disabilities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What kinds of online barriers do people with non-visible disabilities encounter?' || t.startsWith('What kinds of online barriers do people with non-visible disabilities encounter?'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_hidden_disabilities: h2 "What Jordan brought to the tab"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-hidden-disabilities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What Jordan brought to the table' || t.startsWith('What Jordan brought to the table'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_hidden_disabilities: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-hidden-disabilities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_hidden_disabilities: nav link "Litigation Support Work with o"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-hidden-disabilities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Work with our dedicated specialists' || t.startsWith('Litigation Support Work with our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_hidden_disabilities: nav link "User testing Test with genuine"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-hidden-disabilities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Test with genuine end-users' || t.startsWith('User testing Test with genuine end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_hidden_disabilities: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-hidden-disabilities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_limb_loss_and_limb_difference', () => { test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_limb_loss_and_limb_difference: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-limb-loss-and-limb-difference/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('limb loss & web accessibility'); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_limb_loss_and_limb_difference: h1 "Web accessibility, as experien"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-limb-loss-and-limb-difference/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Web accessibility, as experienced by people living with limb loss and limb difference' || t.startsWith('Web accessibility, as experienced by people living with limb loss and limb difference'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_limb_loss_and_limb_difference: h2 "The gist:"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-limb-loss-and-limb-difference/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The gist:' || t.startsWith('The gist:'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_limb_loss_and_limb_difference: h2 "Meet Riley Carter, Director of"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-limb-loss-and-limb-difference/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Meet Riley Carter, Director of Operations and Capacity Building at the Limb Loss Alliance' || t.startsWith('Meet Riley Carter, Director of Operations and Capacity Building at the Limb Loss Alliance'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_limb_loss_and_limb_difference: h2 "Which accessibility barriers d"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-limb-loss-and-limb-difference/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Which accessibility barriers do people with limb loss meet online?' || t.startsWith('Which accessibility barriers do people with limb loss meet online?'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_limb_loss_and_limb_difference: nav link "VPAT Record your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-limb-loss-and-limb-difference/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance' || t.startsWith('VPAT Record your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_limb_loss_and_limb_difference: nav link "Legal case support Lean on our"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-limb-loss-and-limb-difference/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal case support Lean on our dedicated expert team' || t.startsWith('Legal case support Lean on our dedicated expert team')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_limb_loss_and_limb_difference: nav link "User trials Validate with real"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-limb-loss-and-limb-difference/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Validate with real users' || t.startsWith('User trials Validate with real users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_people_with_limb_loss_and_limb_difference: nav link "Manual audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-people-with-limb-loss-and-limb-difference/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual audit Run a hands-on accessibility review' || t.startsWith('Manual audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_web_accessibility_from_the_perspective_of_the_blind_and_low_vision_community', () => { test('blog_knowledgebase_web_accessibility_from_the_perspective_of_the_blind_and_low_vision_community: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-the-blind-and-low-vision-community/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('building the web for blind and low visio'); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_the_blind_and_low_vision_community: h1 "Digital access, seen through t"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-the-blind-and-low-vision-community/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Digital access, seen through the eyes of the blind and low vision community' || t.startsWith('Digital access, seen through the eyes of the blind and low vision community'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_the_blind_and_low_vision_community: h2 "In brief:"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-the-blind-and-low-vision-community/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'In brief:' || t.startsWith('In brief:'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_the_blind_and_low_vision_community: h2 "Meet Elias Corveau"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-the-blind-and-low-vision-community/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Meet Elias Corveau' || t.startsWith('Meet Elias Corveau'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_the_blind_and_low_vision_community: h2 "Which accessibility barriers d"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-the-blind-and-low-vision-community/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Which accessibility barriers do blind and low vision users meet online?' || t.startsWith('Which accessibility barriers do blind and low vision users meet online?'))).toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_the_blind_and_low_vision_community: nav link "VPAT Prove your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-the-blind-and-low-vision-community/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your compliance' || t.startsWith('VPAT Prove your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_the_blind_and_low_vision_community: nav link "Legal Defense Help Work direct"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-the-blind-and-low-vision-community/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Defense Help Work directly with seasoned specialists' || t.startsWith('Legal Defense Help Work directly with seasoned specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_the_blind_and_low_vision_community: nav link "User testing Validate with gen"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-the-blind-and-low-vision-community/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with genuine' || t.startsWith('User testing Validate with genuine')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_web_accessibility_from_the_perspective_of_the_blind_and_low_vision_community: nav link "Expert review Run a hands-on a"', async ({ page }) => { await page.goto('/blog/knowledgebase/web-accessibility-from-the-perspective-of-the-blind-and-low-vision-community/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert review Run a hands-on accessibility check' || t.startsWith('Expert review Run a hands-on accessibility check')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_what_californias_accessibility_landscape_really_means_for_your_business', () => { test('blog_knowledgebase_what_californias_accessibility_landscape_really_means_for_your_business: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/what-californias-accessibility-landscape-really-means-for-your-business/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('california web accessibility lawsuits, e'); }); test('blog_knowledgebase_what_californias_accessibility_landscape_really_means_for_your_business: h1 "Understanding what California\'"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-californias-accessibility-landscape-really-means-for-your-business/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Understanding what California\'s accessibility rules mean for your business' || t.startsWith('Understanding what California\'s accessibility rules mean for your business'))).toBeTruthy(); }); test('blog_knowledgebase_what_californias_accessibility_landscape_really_means_for_your_business: h2 "In brief:"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-californias-accessibility-landscape-really-means-for-your-business/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'In brief:' || t.startsWith('In brief:'))).toBeTruthy(); }); test('blog_knowledgebase_what_californias_accessibility_landscape_really_means_for_your_business: h2 "Why California in particular?"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-californias-accessibility-landscape-really-means-for-your-business/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Why California in particular?' || t.startsWith('Why California in particular?'))).toBeTruthy(); }); test('blog_knowledgebase_what_californias_accessibility_landscape_really_means_for_your_business: h2 "Where the real risk originates"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-californias-accessibility-landscape-really-means-for-your-business/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Where the real risk originates' || t.startsWith('Where the real risk originates'))).toBeTruthy(); }); test('blog_knowledgebase_what_californias_accessibility_landscape_really_means_for_your_business: nav link "VPAT Show proof of compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-californias-accessibility-landscape-really-means-for-your-business/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Show proof of compliance' || t.startsWith('VPAT Show proof of compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_what_californias_accessibility_landscape_really_means_for_your_business: nav link "Legal Case Support Work with d"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-californias-accessibility-landscape-really-means-for-your-business/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Work with dedicated legal experts' || t.startsWith('Legal Case Support Work with dedicated legal experts')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_what_californias_accessibility_landscape_really_means_for_your_business: nav link "User testing Trial with real e"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-californias-accessibility-landscape-really-means-for-your-business/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Trial with real end-users' || t.startsWith('User testing Trial with real end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_what_californias_accessibility_landscape_really_means_for_your_business: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-californias-accessibility-landscape-really-means-for-your-business/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_what_government_agencies_require_from_vendors', () => { test('blog_knowledgebase_what_government_agencies_require_from_vendors: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/what-government-agencies-require-from-vendors/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('what government agencies require from ve'); }); test('blog_knowledgebase_what_government_agencies_require_from_vendors: h1 "What public agencies expect fr"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-government-agencies-require-from-vendors/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What public agencies expect from suppliers' || t.startsWith('What public agencies expect from suppliers'))).toBeTruthy(); }); test('blog_knowledgebase_what_government_agencies_require_from_vendors: h2 "In brief:"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-government-agencies-require-from-vendors/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'In brief:' || t.startsWith('In brief:'))).toBeTruthy(); }); test('blog_knowledgebase_what_government_agencies_require_from_vendors: h2 "When agencies buy, accessibili"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-government-agencies-require-from-vendors/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'When agencies buy, accessibility decides who qualifies' || t.startsWith('When agencies buy, accessibility decides who qualifies'))).toBeTruthy(); }); test('blog_knowledgebase_what_government_agencies_require_from_vendors: h2 "The regulations that shape gov"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-government-agencies-require-from-vendors/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The regulations that shape government accessibility today' || t.startsWith('The regulations that shape government accessibility today'))).toBeTruthy(); }); test('blog_knowledgebase_what_government_agencies_require_from_vendors: nav link "VPAT Prove your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-government-agencies-require-from-vendors/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your compliance' || t.startsWith('VPAT Prove your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_what_government_agencies_require_from_vendors: nav link "Litigation Support Lean on our"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-government-agencies-require-from-vendors/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Lean on our dedicated specialists' || t.startsWith('Litigation Support Lean on our dedicated specialists')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_what_government_agencies_require_from_vendors: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-government-agencies-require-from-vendors/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real people' || t.startsWith('User testing Validate with real people')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_what_government_agencies_require_from_vendors: nav link "Expert audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-government-agencies-require-from-vendors/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a hands-on accessibility review' || t.startsWith('Expert audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_what_happens_if_you_dont_comply_with_section_504', () => { test('blog_knowledgebase_what_happens_if_you_dont_comply_with_section_504: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/what-happens-if-you-dont-comply-with-section-504/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('section 504 non'); }); test('blog_knowledgebase_what_happens_if_you_dont_comply_with_section_504: h1 "Ignoring the rules: how Sectio"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-happens-if-you-dont-comply-with-section-504/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Ignoring the rules: how Section 504 enforcement plays out in healthcare' || t.startsWith('Ignoring the rules: how Section 504 enforcement plays out in healthcare'))).toBeTruthy(); }); test('blog_knowledgebase_what_happens_if_you_dont_comply_with_section_504: h2 "The gist:"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-happens-if-you-dont-comply-with-section-504/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The gist:' || t.startsWith('The gist:'))).toBeTruthy(); }); test('blog_knowledgebase_what_happens_if_you_dont_comply_with_section_504: h2 "Section 504 enforcement, expla"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-happens-if-you-dont-comply-with-section-504/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Section 504 enforcement, explained' || t.startsWith('Section 504 enforcement, explained'))).toBeTruthy(); }); test('blog_knowledgebase_what_happens_if_you_dont_comply_with_section_504: h2 "How the HHS Office for Civil R"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-happens-if-you-dont-comply-with-section-504/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'How the HHS Office for Civil Rights (OCR) reads genuine, defensible progress' || t.startsWith('How the HHS Office for Civil Rights (OCR) reads genuine, defensible progress'))).toBeTruthy(); }); test('blog_knowledgebase_what_happens_if_you_dont_comply_with_section_504: nav link "VPAT Capture your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-happens-if-you-dont-comply-with-section-504/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Capture your compliance' || t.startsWith('VPAT Capture your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_what_happens_if_you_dont_comply_with_section_504: nav link "Lawsuit Assistance Work with o"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-happens-if-you-dont-comply-with-section-504/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Lawsuit Assistance Work with our specialized advisors' || t.startsWith('Lawsuit Assistance Work with our specialized advisors')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_what_happens_if_you_dont_comply_with_section_504: nav link "User research Check with actua"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-happens-if-you-dont-comply-with-section-504/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User research Check with actual users' || t.startsWith('User research Check with actual users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_what_happens_if_you_dont_comply_with_section_504: nav link "Manual review Run a hands-on a"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-happens-if-you-dont-comply-with-section-504/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual review Run a hands-on accessibility review' || t.startsWith('Manual review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_what_public_institutions_are_really_asking_about_ada_title_ii', () => { test('blog_knowledgebase_what_public_institutions_are_really_asking_about_ada_title_ii: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/what-public-institutions-are-really-asking-about-ada-title-ii/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('answering public institutions\' top ada t'); }); test('blog_knowledgebase_what_public_institutions_are_really_asking_about_ada_title_ii: h1 "The real questions public inst"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-public-institutions-are-really-asking-about-ada-title-ii/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The real questions public institutions have about ADA Title II' || t.startsWith('The real questions public institutions have about ADA Title II'))).toBeTruthy(); }); test('blog_knowledgebase_what_public_institutions_are_really_asking_about_ada_title_ii: h2 "The gist:"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-public-institutions-are-really-asking-about-ada-title-ii/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The gist:' || t.startsWith('The gist:'))).toBeTruthy(); }); test('blog_knowledgebase_what_public_institutions_are_really_asking_about_ada_title_ii: h2 "What the study revealed"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-public-institutions-are-really-asking-about-ada-title-ii/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What the study revealed' || t.startsWith('What the study revealed'))).toBeTruthy(); }); test('blog_knowledgebase_what_public_institutions_are_really_asking_about_ada_title_ii: h2 "Turning the data into action: "', async ({ page }) => { await page.goto('/blog/knowledgebase/what-public-institutions-are-really-asking-about-ada-title-ii/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Turning the data into action: real-world questions' || t.startsWith('Turning the data into action: real-world questions'))).toBeTruthy(); }); test('blog_knowledgebase_what_public_institutions_are_really_asking_about_ada_title_ii: nav link "VPAT Record your compliance wo"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-public-institutions-are-really-asking-about-ada-title-ii/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Record your compliance work' || t.startsWith('VPAT Record your compliance work')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_what_public_institutions_are_really_asking_about_ada_title_ii: nav link "Litigation Support Work with a"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-public-institutions-are-really-asking-about-ada-title-ii/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Litigation Support Work with a dedicated expert team' || t.startsWith('Litigation Support Work with a dedicated expert team')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_what_public_institutions_are_really_asking_about_ada_title_ii: nav link "User testing Validate with rea"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-public-institutions-are-really-asking-about-ada-title-ii/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User testing Validate with real' || t.startsWith('User testing Validate with real')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_what_public_institutions_are_really_asking_about_ada_title_ii: nav link "Expert audit Run a manual acce"', async ({ page }) => { await page.goto('/blog/knowledgebase/what-public-institutions-are-really-asking-about-ada-title-ii/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert audit Run a manual accessibility audit' || t.startsWith('Expert audit Run a manual accessibility audit')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_why_an_open_digital_door_is_the_key_to_law_firm_growth_in_2026', () => { test('blog_knowledgebase_why_an_open_digital_door_is_the_key_to_law_firm_growth_in_2026: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/why-an-open-digital-door-is-the-key-to-law-firm-growth-in-2026/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('why accessible websites drive law firm g'); }); test('blog_knowledgebase_why_an_open_digital_door_is_the_key_to_law_firm_growth_in_2026: h1 "Why an open digital front door"', async ({ page }) => { await page.goto('/blog/knowledgebase/why-an-open-digital-door-is-the-key-to-law-firm-growth-in-2026/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Why an open digital front door fuels law firm growth in 2026' || t.startsWith('Why an open digital front door fuels law firm growth in 2026'))).toBeTruthy(); }); test('blog_knowledgebase_why_an_open_digital_door_is_the_key_to_law_firm_growth_in_2026: h2 "Let us make your website acces"', async ({ page }) => { await page.goto('/blog/knowledgebase/why-an-open-digital-door-is-the-key-to-law-firm-growth-in-2026/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Let us make your website accessible' || t.startsWith('Let us make your website accessible'))).toBeTruthy(); }); test('blog_knowledgebase_why_an_open_digital_door_is_the_key_to_law_firm_growth_in_2026: h2 "More helpful reading for your "', async ({ page }) => { await page.goto('/blog/knowledgebase/why-an-open-digital-door-is-the-key-to-law-firm-growth-in-2026/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'More helpful reading for your firm' || t.startsWith('More helpful reading for your firm'))).toBeTruthy(); }); test('blog_knowledgebase_why_an_open_digital_door_is_the_key_to_law_firm_growth_in_2026: h2 "Ready to fix your accessibilit"', async ({ page }) => { await page.goto('/blog/knowledgebase/why-an-open-digital-door-is-the-key-to-law-firm-growth-in-2026/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Ready to fix your accessibility gaps today?' || t.startsWith('Ready to fix your accessibility gaps today?'))).toBeTruthy(); }); test('blog_knowledgebase_why_an_open_digital_door_is_the_key_to_law_firm_growth_in_2026: nav link "VPAT Prove your conformance"', async ({ page }) => { await page.goto('/blog/knowledgebase/why-an-open-digital-door-is-the-key-to-law-firm-growth-in-2026/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Prove your conformance' || t.startsWith('VPAT Prove your conformance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_why_an_open_digital_door_is_the_key_to_law_firm_growth_in_2026: nav link "Legal Defense Help Work with a"', async ({ page }) => { await page.goto('/blog/knowledgebase/why-an-open-digital-door-is-the-key-to-law-firm-growth-in-2026/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Defense Help Work with a team of seasoned pros' || t.startsWith('Legal Defense Help Work with a team of seasoned pros')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_why_an_open_digital_door_is_the_key_to_law_firm_growth_in_2026: nav link "Live testing Validate with act"', async ({ page }) => { await page.goto('/blog/knowledgebase/why-an-open-digital-door-is-the-key-to-law-firm-growth-in-2026/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Live testing Validate with actual users' || t.startsWith('Live testing Validate with actual users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_why_an_open_digital_door_is_the_key_to_law_firm_growth_in_2026: nav link "Manual audit Run a hands-on ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/why-an-open-digital-door-is-the-key-to-law-firm-growth-in-2026/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual audit Run a hands-on accessibility review' || t.startsWith('Manual audit Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_why_healthcare_transactions_are_failing_patients_with_disabilities', () => { test('blog_knowledgebase_why_healthcare_transactions_are_failing_patients_with_disabilities: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/why-healthcare-transactions-are-failing-patients-with-disabilities/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('how digital healthcare forms shut out pa'); }); test('blog_knowledgebase_why_healthcare_transactions_are_failing_patients_with_disabilities: h1 "The invisible barrier: why onl"', async ({ page }) => { await page.goto('/blog/knowledgebase/why-healthcare-transactions-are-failing-patients-with-disabilities/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The invisible barrier: why online healthcare transactions keep failing disabled patients' || t.startsWith('The invisible barrier: why online healthcare transactions keep failing disabled patients'))).toBeTruthy(); }); test('blog_knowledgebase_why_healthcare_transactions_are_failing_patients_with_disabilities: h2 "The gist:"', async ({ page }) => { await page.goto('/blog/knowledgebase/why-healthcare-transactions-are-failing-patients-with-disabilities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The gist:' || t.startsWith('The gist:'))).toBeTruthy(); }); test('blog_knowledgebase_why_healthcare_transactions_are_failing_patients_with_disabilities: h2 "The core issue: the “checkout "', async ({ page }) => { await page.goto('/blog/knowledgebase/why-healthcare-transactions-are-failing-patients-with-disabilities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The core issue: the “checkout barrier” and broken forms' || t.startsWith('The core issue: the “checkout barrier” and broken forms'))).toBeTruthy(); }); test('blog_knowledgebase_why_healthcare_transactions_are_failing_patients_with_disabilities: h2 "The fix: accessible authentica"', async ({ page }) => { await page.goto('/blog/knowledgebase/why-healthcare-transactions-are-failing-patients-with-disabilities/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The fix: accessible authentication and forms that persist' || t.startsWith('The fix: accessible authentication and forms that persist'))).toBeTruthy(); }); test('blog_knowledgebase_why_healthcare_transactions_are_failing_patients_with_disabilities: nav link "VPAT Certify your compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/why-healthcare-transactions-are-failing-patients-with-disabilities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Certify your compliance' || t.startsWith('VPAT Certify your compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_why_healthcare_transactions_are_failing_patients_with_disabilities: nav link "Legal Case Support Lean on a t"', async ({ page }) => { await page.goto('/blog/knowledgebase/why-healthcare-transactions-are-failing-patients-with-disabilities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Case Support Lean on a team of dedicated experts' || t.startsWith('Legal Case Support Lean on a team of dedicated experts')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_why_healthcare_transactions_are_failing_patients_with_disabilities: nav link "User trials Trial with real en"', async ({ page }) => { await page.goto('/blog/knowledgebase/why-healthcare-transactions-are-failing-patients-with-disabilities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'User trials Trial with real end-users' || t.startsWith('User trials Trial with real end-users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_why_healthcare_transactions_are_failing_patients_with_disabilities: nav link "Expert review Run a hands-on a"', async ({ page }) => { await page.goto('/blog/knowledgebase/why-healthcare-transactions-are-failing-patients-with-disabilities/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Expert review Run a hands-on accessibility review' || t.startsWith('Expert review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - blog_knowledgebase_your_biggest_title_ii_risk_may_not_be_your_website', () => { test('blog_knowledgebase_your_biggest_title_ii_risk_may_not_be_your_website: title matches GT', async ({ page }) => { await page.goto('/blog/knowledgebase/your-biggest-title-ii-risk-may-not-be-your-website/'); const t = (await page.title()).toLowerCase(); expect(t).toContain('title ii gaps'); }); test('blog_knowledgebase_your_biggest_title_ii_risk_may_not_be_your_website: h1 "Your biggest Title II gap migh"', async ({ page }) => { await page.goto('/blog/knowledgebase/your-biggest-title-ii-risk-may-not-be-your-website/'); const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Your biggest Title II gap might not be your website' || t.startsWith('Your biggest Title II gap might not be your website'))).toBeTruthy(); }); test('blog_knowledgebase_your_biggest_title_ii_risk_may_not_be_your_website: h2 "The gist:"', async ({ page }) => { await page.goto('/blog/knowledgebase/your-biggest-title-ii-risk-may-not-be-your-website/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'The gist:' || t.startsWith('The gist:'))).toBeTruthy(); }); test('blog_knowledgebase_your_biggest_title_ii_risk_may_not_be_your_website: h2 "Greater reliance, greater risk"', async ({ page }) => { await page.goto('/blog/knowledgebase/your-biggest-title-ii-risk-may-not-be-your-website/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Greater reliance, greater risk: mobile systems as vital service gateways' || t.startsWith('Greater reliance, greater risk: mobile systems as vital service gateways'))).toBeTruthy(); }); test('blog_knowledgebase_your_biggest_title_ii_risk_may_not_be_your_website: h2 "What ADA Title II genuinely de"', async ({ page }) => { await page.goto('/blog/knowledgebase/your-biggest-title-ii-risk-may-not-be-your-website/'); const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'What ADA Title II genuinely demands of online services' || t.startsWith('What ADA Title II genuinely demands of online services'))).toBeTruthy(); }); test('blog_knowledgebase_your_biggest_title_ii_risk_may_not_be_your_website: nav link "VPAT Show proof of compliance"', async ({ page }) => { await page.goto('/blog/knowledgebase/your-biggest-title-ii-risk-may-not-be-your-website/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'VPAT Show proof of compliance' || t.startsWith('VPAT Show proof of compliance')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('vpat')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_your_biggest_title_ii_risk_may_not_be_your_website: nav link "Legal Defense Support Lean on "', async ({ page }) => { await page.goto('/blog/knowledgebase/your-biggest-title-ii-risk-may-not-be-your-website/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Legal Defense Support Lean on a dedicated expert team' || t.startsWith('Legal Defense Support Lean on a dedicated expert team')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('litigation-support')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_your_biggest_title_ii_risk_may_not_be_your_website: nav link "Human testing Validate with ac"', async ({ page }) => { await page.goto('/blog/knowledgebase/your-biggest-title-ii-risk-may-not-be-your-website/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Human testing Validate with actual users' || t.startsWith('Human testing Validate with actual users')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('user-testing')), 'href fragment present').toBeTruthy(); }); test('blog_knowledgebase_your_biggest_title_ii_risk_may_not_be_your_website: nav link "Manual review Run a hands-on a"', async ({ page }) => { await page.goto('/blog/knowledgebase/your-biggest-title-ii-risk-may-not-be-your-website/'); const links = page.locator('nav a'); const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim()); expect(texts.some(t => t === 'Manual review Run a hands-on accessibility review' || t.startsWith('Manual review Run a hands-on accessibility review')), 'link text in nav').toBeTruthy(); const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase())); expect(hrefs.some(h => h.includes('expert-audit')), 'href fragment present').toBeTruthy(); }); }); test.describe('Functional - Routing', () => { test('navigate to blog_knowledgebase_screen_reader_guide via "Screen-Reader Inclura Help, Fe"', async ({ page }) => { await page.goto('/'); const link = page.locator('a[href*="screen-reader-guide"]').first(); expect(await link.count(), 'nav link to blog_knowledgebase_screen_reader_guide exists').toBeGreaterThan(0); await link.click(); await page.waitForTimeout(1200); expect(page.url().toLowerCase(), 'URL changed to destination').toContain('screen-reader-guide'); const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' '); expect(bodyText, 'destination distinctive content shown').toContain('Inclura Guide for Screen Reader Users'); }); test('navigate to vpat via "VPAT Certify your compliance"', async ({ page }) => { await page.goto('/'); const link = page.locator('a[href*="vpat"]').first(); expect(await link.count(), 'nav link to vpat exists').toBeGreaterThan(0); await link.click(); await page.waitForTimeout(1200); expect(page.url().toLowerCase(), 'URL changed to destination').toContain('vpat'); const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' '); expect(bodyText, 'destination distinctive content shown').toContain('Win more deals with a VPAT'); }); test('navigate to litigation_support via "Litigation Defense Lean on ded"', async ({ page }) => { await page.goto('/'); const link = page.locator('a[href*="litigation-support"]').first(); expect(await link.count(), 'nav link to litigation_support exists').toBeGreaterThan(0); await link.click(); await page.waitForTimeout(1200); expect(page.url().toLowerCase(), 'URL changed to destination').toContain('litigation-support'); const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' '); expect(bodyText, 'destination distinctive content shown').toContain('End-to-end litigation support you can rely on'); }); });