diff --git a/UNRELEASED.md b/UNRELEASED.md index 5dc704d0c67..4c7fa63940a 100644 --- a/UNRELEASED.md +++ b/UNRELEASED.md @@ -57,6 +57,7 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f ### Code quality +- Enabled the color contrast test in pa11y ([#1645](https://github.com/Shopify/polaris-react/pull/1645)) - Combined jsdocs in `Icon` for the `untrusted` prop ([#1607](https://github.com/Shopify/polaris-react/pull/1607)) ### Deprecations diff --git a/scripts/pa11y.js b/scripts/pa11y.js index 907e6a4c9af..7458c9ae9c2 100644 --- a/scripts/pa11y.js +++ b/scripts/pa11y.js @@ -80,8 +80,6 @@ async function runPa11y() { // Missing lang attribute on tag // Storybook does not include this property so ignore it 'WCAG2AA.Principle3.Guideline3_1.3_1_1.H57.2', - // Color contrast failures - 'WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail', ], }); result.exampleID = queryString; diff --git a/yarn.lock b/yarn.lock index 0f549014a69..00d02c6b777 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1405,9 +1405,9 @@ integrity sha512-+nB2rthx6vS8vlJms5unGbThwrdGXAPMCD2PoQG/Eq5uQU1EmhkVOIFaEK7AS62J2m+HaqbLw/zrlbBkZHZUrQ== "@shopify/polaris-tokens@^2.5.0": - version "2.5.0" - resolved "https://registry.yarnpkg.com/@shopify/polaris-tokens/-/polaris-tokens-2.5.0.tgz#3efe1f9be456565bbb26f6f555c78be8060bcea7" - integrity sha512-AzIXOBAdUnOIO91vhCPdtQH+W6pKi4rCrXsT6Fe/BN+KUoeMAsfOyBXRbA5lSQ1pb+gA2e9N4PGpOzFs6fI4hQ== + version "2.6.0" + resolved "https://registry.yarnpkg.com/@shopify/polaris-tokens/-/polaris-tokens-2.6.0.tgz#1654c83025d80ce803f06329aceaabfb96b5e684" + integrity sha512-l2AwgZhujgu/C1cchJginWODXWcjhrpqrh+lcI+SM3MSSca6l2zSXa3B5OqCcspk6DIQDeJEn5BvXJgT7AJNPQ== "@shopify/polyfills@^0.0.10": version "0.0.10"