Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-04-23 06:09:51 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-23 06:09:51 +0300
commit8ab8bc5d070c62040b2693d90d452f627c2ba240 (patch)
tree05f597f554c8522df6041492d0feb7624e57e9e0 /spec/fixtures
parentb158645575a569bd46de15b42355940501902166 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/fixtures')
-rw-r--r--spec/fixtures/accessibility/pa11y_with_errors.json109
-rw-r--r--spec/fixtures/accessibility/pa11y_with_invalid_url.json12
-rw-r--r--spec/fixtures/accessibility/pa11y_without_errors.json8
3 files changed, 129 insertions, 0 deletions
diff --git a/spec/fixtures/accessibility/pa11y_with_errors.json b/spec/fixtures/accessibility/pa11y_with_errors.json
new file mode 100644
index 00000000000..35537f6cdd8
--- /dev/null
+++ b/spec/fixtures/accessibility/pa11y_with_errors.json
@@ -0,0 +1,109 @@
+{
+ "total": 1,
+ "passes": 0,
+ "errors": 10,
+ "results": {
+ "https://about.gitlab.com/": [
+ {
+ "code": "WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.A.NoContent",
+ "type": "error",
+ "typeCode": 1,
+ "message": "Anchor element found with a valid href attribute, but no link content has been supplied.",
+ "context": "<a href=\"/\" class=\"navbar-brand animated\"><svg height=\"36\" viewBox=\"0 0 1...</a>",
+ "selector": "#main-nav > div:nth-child(1) > a",
+ "runner": "htmlcs",
+ "runnerExtras": {}
+ },
+ {
+ "code": "WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail",
+ "type": "error",
+ "typeCode": 1,
+ "message": "This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 1.05:1. Recommendation: change background to #767676.",
+ "context": "<a href=\"/stages-devops-lifecycle/\" class=\"main-nav-link\">Product</a>",
+ "selector": "#main-nav > div:nth-child(2) > ul > li:nth-child(1) > a",
+ "runner": "htmlcs",
+ "runnerExtras": {}
+ },
+ {
+ "code": "WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail",
+ "type": "error",
+ "typeCode": 1,
+ "message": "This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 1.05:1. Recommendation: change background to #767676.",
+ "context": "<a href=\"/pricing/\" class=\"main-nav-link\">Pricing</a>",
+ "selector": "#main-nav > div:nth-child(2) > ul > li:nth-child(2) > a",
+ "runner": "htmlcs",
+ "runnerExtras": {}
+ },
+ {
+ "code": "WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail",
+ "type": "error",
+ "typeCode": 1,
+ "message": "This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 1.05:1. Recommendation: change background to #767676.",
+ "context": "<a href=\"/resources/\" class=\"main-nav-link\">Resources</a>",
+ "selector": "#main-nav > div:nth-child(2) > ul > li:nth-child(3) > a",
+ "runner": "htmlcs",
+ "runnerExtras": {}
+ },
+ {
+ "code": "WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail",
+ "type": "error",
+ "typeCode": 1,
+ "message": "This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 1.05:1. Recommendation: change background to #767676.",
+ "context": "<a href=\"/blog/\" class=\"main-nav-link\">Blog</a>",
+ "selector": "#main-nav > div:nth-child(2) > ul > li:nth-child(4) > a",
+ "runner": "htmlcs",
+ "runnerExtras": {}
+ },
+ {
+ "code": "WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail",
+ "type": "error",
+ "typeCode": 1,
+ "message": "This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 1.05:1. Recommendation: change background to #767676.",
+ "context": "<a href=\"/support/\" class=\"main-nav-link\">Support</a>",
+ "selector": "#main-nav > div:nth-child(2) > ul > li:nth-child(5) > a",
+ "runner": "htmlcs",
+ "runnerExtras": {}
+ },
+ {
+ "code": "WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail",
+ "type": "error",
+ "typeCode": 1,
+ "message": "This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 1.05:1. Recommendation: change background to #767676.",
+ "context": "<a href=\"/jobs/\" class=\"main-nav-link\">Jobs</a>",
+ "selector": "#main-nav > div:nth-child(2) > ul > li:nth-child(6) > a",
+ "runner": "htmlcs",
+ "runnerExtras": {}
+ },
+ {
+ "code": "WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail",
+ "type": "error",
+ "typeCode": 1,
+ "message": "This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 2.82:1. Recommendation: change background to #d1470c.",
+ "context": "<a class=\"btn btn-nav-cta btn-nav-link-cta\" href=\"/free-trial\">\nGet free trial\n</a>",
+ "selector": "#main-nav > div:nth-child(2) > ul > div:nth-child(8) > a",
+ "runner": "htmlcs",
+ "runnerExtras": {}
+ },
+ {
+ "code": "WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail",
+ "type": "error",
+ "typeCode": 1,
+ "message": "This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 1.05:1. Recommendation: change background to #767676.",
+ "context": "<a class=\"main-nav-link sign-up\" href=\"https://gitlab.com/explore\" target=\"_blank\">\nExplore\n</a>",
+ "selector": "#main-nav > div:nth-child(2) > ul > div:nth-child(9) > li:nth-child(1) > a",
+ "runner": "htmlcs",
+ "runnerExtras": {}
+ },
+ {
+ "code": "WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail",
+ "type": "error",
+ "typeCode": 1,
+ "message": "This element has insufficient contrast at this conformance level. Expected a contrast ratio of at least 4.5:1, but text in this element has a contrast ratio of 1.05:1. Recommendation: change background to #767676.",
+ "context": "<a class=\"main-nav-link sign-up\" href=\"https://gitlab.com/users/sign_in\">\nSign in\n</a>",
+ "selector": "#main-nav > div:nth-child(2) > ul > div:nth-child(9) > li:nth-child(2) > a",
+ "runner": "htmlcs",
+ "runnerExtras": {}
+ }
+ ]
+ }
+}
diff --git a/spec/fixtures/accessibility/pa11y_with_invalid_url.json b/spec/fixtures/accessibility/pa11y_with_invalid_url.json
new file mode 100644
index 00000000000..aa4a663f944
--- /dev/null
+++ b/spec/fixtures/accessibility/pa11y_with_invalid_url.json
@@ -0,0 +1,12 @@
+{
+ "total": 1,
+ "passes": 0,
+ "errors": 0,
+ "results": {
+ "": [
+ {
+ "message": "Protocol error (Page.navigate): Cannot navigate to invalid URL"
+ }
+ ]
+ }
+}
diff --git a/spec/fixtures/accessibility/pa11y_without_errors.json b/spec/fixtures/accessibility/pa11y_without_errors.json
new file mode 100644
index 00000000000..c8720f6f052
--- /dev/null
+++ b/spec/fixtures/accessibility/pa11y_without_errors.json
@@ -0,0 +1,8 @@
+{
+ "total": 1,
+ "passes": 1,
+ "errors": 0,
+ "results": {
+ "https://pa11y.org/": []
+ }
+}