playwright-test-commons - v0.8.0
    Preparing search index...

    Interface A11yOptions

    Settings for scanA11y and expectNoA11yViolations.

    interface A11yOptions {
        exclude?: readonly string[];
        maxTargetsShown?: number;
        tags?: readonly string[];
    }
    Index
    exclude?: readonly string[]

    CSS selectors to leave out of the scan. Default none; every exclusion should say why.

    maxTargetsShown?: number

    How many offending elements a violation line lists in the failure message. Default 4.

    tags?: readonly string[]

    The axe rule tags to run. Default WCAG_AA_TAGS.