UNPKG

@casoon/auditmysite

Version:

Professional website analysis suite with robust accessibility testing, Core Web Vitals performance monitoring, SEO analysis, and content optimization insights. Features isolated browser contexts, retry mechanisms, and comprehensive API endpoints for profe

49 lines 1.47 kB
import { Page } from 'playwright'; /** * HTML5 Elements Analysis Results */ export interface Html5ElementsAnalysis { detailsElements: number; summaryElements: number; summaryWithoutName: number; dialogElements: number; dialogAccessibilityIssues: string[]; mainElements: number; semanticStructureScore: number; modernHtml5Usage: boolean; recommendations: string[]; elementBreakdown: { sectioning: number; interactive: number; semantic: number; form: number; }; } /** * Enhanced HTML5 Elements Checker * Utilizes new axe-core v4.10 rules for modern HTML5 element testing */ export declare class Html5ElementsChecker { /** * Analyze modern HTML5 elements on a page * Uses Chrome 135 + axe-core v4.10 enhanced detection */ analyzeHtml5Elements(page: Page): Promise<Html5ElementsAnalysis>; /** * Generate actionable recommendations for HTML5 elements */ private generateHtml5Recommendations; /** * Get default analysis in case of errors */ private getDefaultAnalysis; /** * Check if a page uses modern HTML5 patterns effectively */ hasModernHtml5Patterns(page: Page): Promise<boolean>; /** * Get HTML5 semantic complexity score for a page */ getSemanticComplexityLevel(analysis: Html5ElementsAnalysis): 'basic' | 'intermediate' | 'advanced'; } //# sourceMappingURL=html5-elements-checker.d.ts.map