|
| 1 | +exports[`lighthouse > lighthouse_audit > runs Lighthouse accessibility audit 1`] = ` |
| 2 | +{ |
| 3 | + "Accessibility": { |
| 4 | + "score": 0.94, |
| 5 | + "failedAudits": [ |
| 6 | + { |
| 7 | + "id": "landmark-one-main", |
| 8 | + "title": "Document does not have a main landmark.", |
| 9 | + "description": "One main landmark helps screen reader users navigate a web page. [Learn more about landmarks](https://dequeuniversity.com/rules/axe/4.11/landmark-one-main).", |
| 10 | + "score": 0, |
| 11 | + "scoreDisplayMode": "binary", |
| 12 | + "details": { |
| 13 | + "type": "table", |
| 14 | + "headings": [ |
| 15 | + { |
| 16 | + "key": "node", |
| 17 | + "valueType": "node", |
| 18 | + "subItemsHeading": { |
| 19 | + "key": "relatedNode", |
| 20 | + "valueType": "node" |
| 21 | + }, |
| 22 | + "label": "Failing Elements" |
| 23 | + } |
| 24 | + ], |
| 25 | + "items": [ |
| 26 | + { |
| 27 | + "node": { |
| 28 | + "type": "node", |
| 29 | + "lhId": "1-0-HTML", |
| 30 | + "path": "1,HTML", |
| 31 | + "selector": "html", |
| 32 | + "boundingRect": { |
| 33 | + "top": 0, |
| 34 | + "bottom": 34, |
| 35 | + "left": 0, |
| 36 | + "right": 412, |
| 37 | + "width": 412, |
| 38 | + "height": 34 |
| 39 | + }, |
| 40 | + "snippet": "<html lang=\\"en\\">", |
| 41 | + "nodeLabel": "html", |
| 42 | + "explanation": "Fix all of the following:\\n Document does not have a main landmark" |
| 43 | + } |
| 44 | + } |
| 45 | + ], |
| 46 | + "debugData": { |
| 47 | + "type": "debugdata", |
| 48 | + "impact": "moderate", |
| 49 | + "tags": [ |
| 50 | + "cat.semantics", |
| 51 | + "best-practice" |
| 52 | + ] |
| 53 | + } |
| 54 | + } |
| 55 | + } |
| 56 | + ], |
| 57 | + "passedAudits": [ |
| 58 | + { |
| 59 | + "id": "aria-hidden-body", |
| 60 | + "title": "\`[aria-hidden=\\"true\\"]\` is not present on the document \`<body>\`", |
| 61 | + "description": "Assistive technologies, like screen readers, work inconsistently when \`aria-hidden=\\"true\\"\` is set on the document \`<body>\`. [Learn how \`aria-hidden\` affects the document body](https://dequeuniversity.com/rules/axe/4.11/aria-hidden-body).", |
| 62 | + "score": 1, |
| 63 | + "scoreDisplayMode": "binary", |
| 64 | + "details": { |
| 65 | + "type": "table", |
| 66 | + "headings": [ |
| 67 | + { |
| 68 | + "key": "node", |
| 69 | + "valueType": "node", |
| 70 | + "subItemsHeading": { |
| 71 | + "key": "relatedNode", |
| 72 | + "valueType": "node" |
| 73 | + }, |
| 74 | + "label": "Failing Elements" |
| 75 | + } |
| 76 | + ], |
| 77 | + "items": [] |
| 78 | + } |
| 79 | + }, |
| 80 | + { |
| 81 | + "id": "color-contrast", |
| 82 | + "title": "Background and foreground colors have a sufficient contrast ratio", |
| 83 | + "description": "Low-contrast text is difficult or impossible for many users to read. [Learn how to provide sufficient color contrast](https://dequeuniversity.com/rules/axe/4.11/color-contrast).", |
| 84 | + "score": 1, |
| 85 | + "scoreDisplayMode": "binary", |
| 86 | + "details": { |
| 87 | + "type": "table", |
| 88 | + "headings": [ |
| 89 | + { |
| 90 | + "key": "node", |
| 91 | + "valueType": "node", |
| 92 | + "subItemsHeading": { |
| 93 | + "key": "relatedNode", |
| 94 | + "valueType": "node" |
| 95 | + }, |
| 96 | + "label": "Failing Elements" |
| 97 | + } |
| 98 | + ], |
| 99 | + "items": [] |
| 100 | + } |
| 101 | + }, |
| 102 | + { |
| 103 | + "id": "document-title", |
| 104 | + "title": "Document has a \`<title>\` element", |
| 105 | + "description": "The title gives screen reader users an overview of the page, and search engine users rely on it heavily to determine if a page is relevant to their search. [Learn more about document titles](https://dequeuniversity.com/rules/axe/4.11/document-title).", |
| 106 | + "score": 1, |
| 107 | + "scoreDisplayMode": "binary", |
| 108 | + "details": { |
| 109 | + "type": "table", |
| 110 | + "headings": [ |
| 111 | + { |
| 112 | + "key": "node", |
| 113 | + "valueType": "node", |
| 114 | + "subItemsHeading": { |
| 115 | + "key": "relatedNode", |
| 116 | + "valueType": "node" |
| 117 | + }, |
| 118 | + "label": "Failing Elements" |
| 119 | + } |
| 120 | + ], |
| 121 | + "items": [] |
| 122 | + } |
| 123 | + }, |
| 124 | + { |
| 125 | + "id": "html-has-lang", |
| 126 | + "title": "\`<html>\` element has a \`[lang]\` attribute", |
| 127 | + "description": "If a page doesn't specify a \`lang\` attribute, a screen reader assumes that the page is in the default language that the user chose when setting up the screen reader. If the page isn't actually in the default language, then the screen reader might not announce the page's text correctly. [Learn more about the \`lang\` attribute](https://dequeuniversity.com/rules/axe/4.11/html-has-lang).", |
| 128 | + "score": 1, |
| 129 | + "scoreDisplayMode": "binary", |
| 130 | + "details": { |
| 131 | + "type": "table", |
| 132 | + "headings": [ |
| 133 | + { |
| 134 | + "key": "node", |
| 135 | + "valueType": "node", |
| 136 | + "subItemsHeading": { |
| 137 | + "key": "relatedNode", |
| 138 | + "valueType": "node" |
| 139 | + }, |
| 140 | + "label": "Failing Elements" |
| 141 | + } |
| 142 | + ], |
| 143 | + "items": [] |
| 144 | + } |
| 145 | + }, |
| 146 | + { |
| 147 | + "id": "html-lang-valid", |
| 148 | + "title": "\`<html>\` element has a valid value for its \`[lang]\` attribute", |
| 149 | + "description": "Specifying a valid [BCP 47 language](https://www.w3.org/International/questions/qa-choosing-language-tags#question) helps screen readers announce text properly. [Learn how to use the \`lang\` attribute](https://dequeuniversity.com/rules/axe/4.11/html-lang-valid).", |
| 150 | + "score": 1, |
| 151 | + "scoreDisplayMode": "binary", |
| 152 | + "details": { |
| 153 | + "type": "table", |
| 154 | + "headings": [ |
| 155 | + { |
| 156 | + "key": "node", |
| 157 | + "valueType": "node", |
| 158 | + "subItemsHeading": { |
| 159 | + "key": "relatedNode", |
| 160 | + "valueType": "node" |
| 161 | + }, |
| 162 | + "label": "Failing Elements" |
| 163 | + } |
| 164 | + ], |
| 165 | + "items": [] |
| 166 | + } |
| 167 | + }, |
| 168 | + { |
| 169 | + "id": "meta-viewport", |
| 170 | + "title": "\`[user-scalable=\\"no\\"]\` is not used in the \`<meta name=\\"viewport\\">\` element and the \`[maximum-scale]\` attribute is not less than 5.", |
| 171 | + "description": "Disabling zooming is problematic for users with low vision who rely on screen magnification to properly see the contents of a web page. [Learn more about the viewport meta tag](https://dequeuniversity.com/rules/axe/4.11/meta-viewport).", |
| 172 | + "score": 1, |
| 173 | + "scoreDisplayMode": "binary", |
| 174 | + "details": { |
| 175 | + "type": "table", |
| 176 | + "headings": [ |
| 177 | + { |
| 178 | + "key": "node", |
| 179 | + "valueType": "node", |
| 180 | + "subItemsHeading": { |
| 181 | + "key": "relatedNode", |
| 182 | + "valueType": "node" |
| 183 | + }, |
| 184 | + "label": "Failing Elements" |
| 185 | + } |
| 186 | + ], |
| 187 | + "items": [] |
| 188 | + } |
| 189 | + } |
| 190 | + ] |
| 191 | + } |
| 192 | +} |
| 193 | +`; |
0 commit comments