diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 21:09:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-28 21:09:07 +0300 |
commit | 1c8fa70f9d0818e2a82089c8643a6e455bca47fd (patch) | |
tree | f339f97de0425270bdd909e2f4d378927b6e0a18 /doc/user/project/merge_requests/accessibility_testing.md | |
parent | 736d36d8597d0d1ec1b47644e6d091c3f4a78f45 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user/project/merge_requests/accessibility_testing.md')
-rw-r--r-- | doc/user/project/merge_requests/accessibility_testing.md | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/user/project/merge_requests/accessibility_testing.md b/doc/user/project/merge_requests/accessibility_testing.md index 7fa758b8a51..3d44f342715 100644 --- a/doc/user/project/merge_requests/accessibility_testing.md +++ b/doc/user/project/merge_requests/accessibility_testing.md @@ -33,17 +33,19 @@ defined in that template. Add the following to your `.gitlab-ci.yml` file: ```yaml -include: - template: Verify/Accessibility.gitlab-ci.yml +variables: + a11y_urls: "https://about.gitlab.com" -a11y: - variables: - a11y_urls: https://example.com https://example.com/another-page +include: + - remote: "https://gitlab.com/gitlab-org/gitlab/-/raw/master/lib/gitlab/ci/templates/Verify/Accessibility.gitlab-ci.yml" ``` The example above will create an `a11y` job in your CI/CD pipeline and will run Pa11y against the webpage you defined in `a11y_urls` to build a report. +NOTE: **Note:** +Only one URL may be currently passed into `a11y_urls`. + The full HTML Pa11y report will be saved as an artifact that can be [viewed directly in your browser](../pipelines/job_artifacts.md#browsing-artifacts). NOTE: **Note:** |