- Delete old Vite+Svelte frontend - Initialize new SvelteKit project with TypeScript - Configure Tailwind CSS v4 + DaisyUI - Implement JWT authentication with auto-refresh - Create login page with form validation (Zod) - Add protected route guards - Update Docker configuration for single-stage build - Add E2E tests with Playwright (6/11 passing) - Fix Svelte 5 reactivity with $state() runes Known issues: - 5 E2E tests failing (timing/async issues) - Token refresh implementation needs debugging - Validation error display timing
31 lines
1.2 KiB
TypeScript
31 lines
1.2 KiB
TypeScript
export interface IsInaccessibleOptions {
|
|
getComputedStyle?: typeof window.getComputedStyle;
|
|
/**
|
|
* Can be used to return cached results from previous isSubtreeInaccessible calls.
|
|
*/
|
|
isSubtreeInaccessible?: (element: Element) => boolean;
|
|
}
|
|
/**
|
|
* Partial implementation https://www.w3.org/TR/wai-aria-1.2/#tree_exclusion
|
|
* which should only be used for elements with a non-presentational role i.e.
|
|
* `role="none"` and `role="presentation"` will not be excluded.
|
|
*
|
|
* Implements aria-hidden semantics (i.e. parent overrides child)
|
|
* Ignores "Child Presentational: True" characteristics
|
|
*
|
|
* @param element
|
|
* @param options
|
|
* @returns {boolean} true if excluded, otherwise false
|
|
*/
|
|
export declare function isInaccessible(element: Element, options?: IsInaccessibleOptions): boolean;
|
|
export interface IsSubtreeInaccessibleOptions {
|
|
getComputedStyle?: typeof window.getComputedStyle;
|
|
}
|
|
/**
|
|
*
|
|
* @param element
|
|
* @param options
|
|
* @returns {boolean} - `true` if every child of the element is inaccessible
|
|
*/
|
|
export declare function isSubtreeInaccessible(element: Element, options?: IsSubtreeInaccessibleOptions): boolean;
|
|
//# sourceMappingURL=is-inaccessible.d.ts.map
|