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/:
dependencies:
- priebera/a11y-quality-gate
The set also imports EXT:,
which adds the optional frontend markers that let AQG map findings back to
tt_ 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..
a11yQualityGate.dictionary.mode
-
- type
-
string
- Default
-
auto
- Allowed values
-
auto, force, disable
Controls which language the phrase lists of the text-based rules use.
autofollows the language of the scanned page,forcealways uses a11yQualityGate.dictionary.forceLanguage, anddisableturns the phrase-based checks off.
a11yQualityGate.dictionary.forceLanguage
-
- type
-
string
- Default
-
(empty)
Language code used when the dictionary mode is
force, for exampleen,de,sk,frorpl.
a11yQualityGate.dictionary.rte_non_descriptive_link.additionalPhrases
-
- type
-
stringlist
- Default
-
[]
Additional phrases that are flagged as non-descriptive link text by
rte.non_descriptive_link.
a11yQualityGate.dictionary.rte_non_descriptive_link.disabledPhrases
-
- type
-
stringlist
- Default
-
[]
Built-in non-descriptive phrases that should be ignored for this site.
a11yQualityGate.dictionary.rte_link_new_window_no_warning.additionalPhrases
-
- type
-
stringlist
- Default
-
[]
Additional phrases that count as a valid new-window or new-tab warning for
rte.link_new_window_no_warning.
a11yQualityGate.dictionary.rte_link_new_window_no_warning.disabledPhrases
-
- type
-
stringlist
- Default
-
[]
Built-in new-window warning phrases that should be ignored for this site.
a11yQualityGate:
dictionary:
mode: force
forceLanguage: de
rte_non_descriptive_link:
additionalPhrases:
- 'hier klicken'
- 'mehr'
Note
The built-in phrase list of rte.non_descriptive_link is English only.
Add localised phrases through additionalPhrases for every language you
publish in, or set the dictionary mode to disable if you do not want
phrase-based link checks at all.