URLs von der Analyse ausschließen

This page is not available in the language you requested. You have been redirected to the English version of the page.
Link to this page copied to clipboard
Not for use with personal data

Mit Watcher können Sie URLs von der Überprüfung ausschließen, indem Sie

Durch die Verwendung der Exclude-API wird verhindert, dass eine URL, die einem Muster in dem Array entspricht, analysiert wird.

Beispiel für JavaScript oder TypeScript

axe: {
  excludeUrlPatterns: [ 'https://*.example.com/**', 'https://example.org/**' ]
}

Java-Beispiel

AxeWatcherOptions options = new AxeWatcherOptions();
// Exclude login pages and admin dashboard
options.setExcludeUrlPatterns(new String[] {
    "https://example.com/login*",
    "https://example.com/admin/*"
});

Beispiele zum Ausschließen von URLs

URL Muster Ausgeschlossen?
https://example.com/index.html example.com Falsch
https://example.com/index.html https://*mple.com/index.html Wahr
https://example.com/index.html https://example.com Falsch
https://example.com/index.html https://*.example.com Falsch
https://example.com/index.html https://*.example.com/** Falsch
https://example.com/index.html https://*example.com/** Wahr
https://example.com/index.html https://** Wahr
https://example.com/index.html https://* Falsch
https://example.com/index.html ** Wahr
https://example.com/index.html *example.com/index.html Falsch
https://example.com/index.html *example.com/** Falsch
https://example.com/index.html */example.com/** Wahr
https://example.com/index.html htt*/** Wahr
https://example.com/index.html h*/example.com/** Wahr
https://test.example.com/index.html https://*example.com/** Wahr
https://test.example.com/index.html https://*.example.com/** Wahr