Wagtail client-side components
    Preparing search index...

    Variable customChecksConst

    customChecks: {
        "check-image-alt-text": (
            node: HTMLImageElement,
            options: { pattern: string },
        ) => boolean;
    } = ...

    Defines custom Axe rules, mapping each check to its corresponding JavaScript function. This object holds the custom checks that will be added to the Axe configuration.

    Type declaration

    • check-image-alt-text: (node: HTMLImageElement, options: { pattern: string }) => boolean