/** * ARIA role utilities. * Based on WAI-ARIA role mappings and HTML-AAM spec. * Reference: https://www.w3.org/TR/html-aam/ */ /** * Handle presentation/none conflict resolution per ARIA spec. * https://www.w3.org/TR/wai-aria-1.2/#conflict_resolution_presentation_none * @param element The element to check * @param implicitRole The implicit role to use for checking attribute prohibitions */ export declare function hasPresentationConflict(element: Element, implicitRole?: string | null): boolean; /** * Get the ARIA role of an element. * Follows the ARIA role calculation algorithm: * 1. Check explicit role attribute (with presentation conflict resolution) * 2. Check inherited presentation role * 3. Return implicit role */ export declare function getAriaRole(element: Element): string | null; /** * Get the accessible name of an element. * Follows the accessible name computation algorithm (simplified). */ export declare function getAccessibleName(element: Element): string; /** * Check if an element is hidden from accessibility tree. */ export declare function isAriaHidden(element: Element): boolean; /** * Get the ARIA level of a heading element. */ export declare function getHeadingLevel(element: Element): number | null; //# sourceMappingURL=roles.d.ts.map