MWPW-156410: add daa-lh/ll values for gnav promo #2017
Annotations
1 error, 1 warning, and 1 notice
Run Nala Tests via pr.run.sh:
nala/libs/accessibility.js#L126
1) [milo-live-webkit] › blocks/tabs/tabs.test.js:17:7 › Milo Tab block feature test suite › [Test Id - 0] @tabs (xl-spacing),@tabs @smoke @regression @milo @t1 › step-3: Verify the accessibility test on the Tabs (xl-spacing) block
AccessibilityError: [Accessibility Test failed for [Test Id - 0] @tabs (xl-spacing)].
Accessibility test failed : 1 violation(s) found.
========== Accessibility Test ==========
[Test Name ]: [Test Id - 0] @tabs (xl-spacing)
[Test Page URL]: https://mwpw-156410-gnav-analytics--milo--nishantka.aem.live/drafts/nala/blocks/tabs/tabs-xl-spacing
[Accessibility]: Running accessibility test on the provided locator: locator('.tabs.xl-spacing').first()
[Result ]: Accessibility test found 1 accessibility violation(s) for [Test Id - 0] @tabs (xl-spacing)
[Violation Details]:
1. Violation: Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds
- Axe Rule ID: color-contrast
- Severity: serious
- WCAG Tags: cat.color, wcag2aa, wcag143, TTv5, TT13.c, EN-301-549, EN-9.1.4.3, ACT
- Nodes affected:
1. <button role="tab" class="heading-xs" id="tab-demo-3" tabindex="0" aria-selected="true" aria-controls="tab-panel-demo-3" data-block-id="tabs-demo">Tab 3</button>
- Fix: https://dequeuniversity.com/rules/axe/4.10/color-contrast?application=playwright
at libs/accessibility.js:126
124 | }
125 | } catch (err) {
> 126 | throw new AccessibilityError(
| ^
127 | `[Accessibility Test failed for ${testName}].\n ${err.message}`,
128 | );
129 | }
at runAccessibilityTest (/home/runner/work/milo/milo/nala/libs/accessibility.js:126:11)
at /home/runner/work/milo/milo/nala/blocks/tabs/tabs.test.js:48:7
at /home/runner/work/milo/milo/nala/blocks/tabs/tabs.test.js:47:5
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
Loading