Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AxeBuilder

Hierarchy

  • AxeBuilder

Index

Methods

analyze

configure

  • Configures aXe before running analyze.

    Parameters

    • config: Spec

      aXe Configuration spec to use in analysis.

    Returns AxeBuilder

disableRules

  • disableRules(rules: string | string[]): AxeBuilder
  • Set the list of rules to skip when running an analysis

    Parameters

    • rules: string | string[]

      Array of rule IDs, or a single rule ID as a string.

    Returns AxeBuilder

exclude

  • Excludes a selector from analysis.

    Parameters

    • selector: string

      CSS selector of the element to exclude.

    Returns AxeBuilder

include

  • Includes a selector in analysis.

    Parameters

    • selector: string

      CSS selector of the element to include.

    Returns AxeBuilder

options

withRules

  • Limits analysis to only the specified rules.

    remarks

    Cannot be used with withTags.

    Parameters

    • rules: string | string[]

      Array of rule IDs, or a single rule ID as a string.

    Returns AxeBuilder

withTags

  • Limist analysis to only the specified tags.

    remarks

    Cannot be used with withRules.

    Parameters

    • tags: string | string[]

    Returns AxeBuilder

Generated using TypeDoc