URL を解析から除外する

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

Watcherでは、次を使用してスキャンからURLを除外できます:

exclude API を使用すると、配列内のあらゆるパターンに一致する URL が分析されないようにできます。

JavaScript または TypeScript の例

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

Java の例

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

URL 除外の例

URL パターン 除外された?
https://example.com/index.html example.com 偽
https://example.com/index.html https://*mple.com/index.html 真
https://example.com/index.html https://example.com 偽
https://example.com/index.html https://*.example.com 偽
https://example.com/index.html https://*.example.com/** 偽
https://example.com/index.html https://*example.com/** 真
https://example.com/index.html https://** 真
https://example.com/index.html https://* 偽
https://example.com/index.html ** 真
https://example.com/index.html *example.com/index.html 偽
https://example.com/index.html *example.com/** 偽
https://example.com/index.html */example.com/** 真
https://example.com/index.html htt*/** 真
https://example.com/index.html h*/example.com/** 真
https://test.example.com/index.html https://*example.com/** 真
https://test.example.com/index.html https://*.example.com/** 真