Site settings (site sets) 

AQG ships the site set priebera/a11y-quality-gate. Add it to a site configuration to control the language handling of the phrase-based rules and to customise their phrase lists.

Including the site set 

In config/sites/<identifier>/config.yaml:

config/sites/my-site/config.yaml
dependencies:
  - priebera/a11y-quality-gate
Copied!

The set also imports EXT:a11y_quality_gate/Configuration/TypoScript/setup.typoscript, which adds the optional frontend markers that let AQG map findings back to tt_content records. In installations without site sets, include the static template Accessibility Quality Gate instead.

The markers are not rendered for normal visitors. They are only emitted when the request carries a valid scanner token, when a rendered page check supplies a valid nonce, or when a logged-in backend user calls the page with ?aqgDebug=1. See Frontend exposure for details.

Available settings 

The settings can be edited in the TYPO3 backend under Site Management > Sites, or written directly to settings.yaml.

a11yQualityGate.dictionary.mode

a11yQualityGate.dictionary.mode
type

string

Default

auto

Allowed values

auto, force, disable

Controls which language the phrase lists of the text-based rules use. auto follows the language of the scanned page, force always uses a11yQualityGate.dictionary.forceLanguage, and disable turns the phrase-based checks off.

a11yQualityGate.dictionary.forceLanguage

a11yQualityGate.dictionary.forceLanguage
type

string

Default

(empty)

Language code used when the dictionary mode is force, for example en, de, sk, fr or pl.

config/sites/my-site/settings.yaml
a11yQualityGate:
  dictionary:
    mode: force
    forceLanguage: de
    rte_non_descriptive_link:
      additionalPhrases:
        - 'hier klicken'
        - 'mehr'
Copied!