Skip to content

checkHeadingHierarchy

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/web-e2e/src/utils/accessibility.ts

Check heading hierarchy

Signature

ts
async function checkHeadingHierarchy(page: Page): Promise<{ valid: boolean; issues: string[] }>

Parameters

NameType
pagePage

Returns: Promise<{ valid: boolean; issues: string[] }>

Was this page helpful?

Download as PDF