diff options
Diffstat (limited to 'doc/ci/testing/accessibility_testing.md')
-rw-r--r-- | doc/ci/testing/accessibility_testing.md | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/doc/ci/testing/accessibility_testing.md b/doc/ci/testing/accessibility_testing.md index b03e4a23153..f6d0468c876 100644 --- a/doc/ci/testing/accessibility_testing.md +++ b/doc/ci/testing/accessibility_testing.md @@ -4,14 +4,7 @@ group: Pipeline Execution info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments --- -<!--- start_remove The following content will be removed on remove_date: '2024-05-22' --> -# Accessibility testing (deprecated) **(FREE)** - -> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/25144) in GitLab 12.8. - -WARNING: -This feature was [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/390424) in GitLab 15.9 -and is planned for removal in 17.0. This change is a breaking change. +# Accessibility testing **(FREE)** If your application offers a web interface, you can use [GitLab CI/CD](../index.md) to determine the accessibility @@ -19,7 +12,7 @@ impact of pending code changes. [Pa11y](https://pa11y.org/) is a free and open source tool for measuring the accessibility of web sites. GitLab integrates Pa11y into a -[CI job template](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Verify/Accessibility.gitlab-ci.yml). +[CI/CD job template](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Verify/Accessibility.gitlab-ci.yml). The `a11y` job analyzes a defined set of web pages and reports accessibility violations, warnings, and notices in a file named `accessibility`. @@ -29,9 +22,6 @@ As of [GitLab 14.5](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/73309) ## Accessibility merge request widget -> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/39425) in GitLab 13.0 behind the disabled [feature flag](../../administration/feature_flags.md) `:accessibility_report_view`. -> - [Feature flag removed](https://gitlab.com/gitlab-org/gitlab/-/issues/217372) in GitLab 13.1. - GitLab displays an **Accessibility Report** in the merge request widget area: ![Accessibility merge request widget](img/accessibility_mr_widget_v13_0.png) @@ -41,7 +31,7 @@ GitLab displays an **Accessibility Report** in the merge request widget area: You can run Pa11y with GitLab CI/CD using the [GitLab Accessibility Docker image](https://gitlab.com/gitlab-org/ci-cd/accessibility). -To define the `a11y` job for GitLab 12.9 and later: +To define the `a11y` job: 1. [Include](../yaml/index.md#includetemplate) the [`Accessibility.gitlab-ci.yml` template](https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Verify/Accessibility.gitlab-ci.yml) @@ -71,13 +61,7 @@ The `a11y` job in your CI/CD pipeline generates these files: You can [view job artifacts in your browser](../jobs/job_artifacts.md#download-job-artifacts). NOTE: -For GitLab versions earlier than 12.9, use `include:remote` and -link to the [current template in the default branch](https://gitlab.com/gitlab-org/gitlab/-/raw/master/lib/gitlab/ci/templates/Verify/Accessibility.gitlab-ci.yml) - -NOTE: The job definition provided by the template does not support Kubernetes. You cannot pass configurations into Pa11y via CI configuration. To change the configuration, edit a copy of the template in your CI file. - -<!--- end_remove -->
\ No newline at end of file |