Skip to content

Commit

Permalink
chore(NPM): pacakge update @daisy/axe-core-for-ace version 4.10.2-can…
Browse files Browse the repository at this point in the history
…ary.1
  • Loading branch information
danielweck committed Dec 2, 2024
1 parent bfe839b commit 0188cee
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 32 deletions.
2 changes: 1 addition & 1 deletion packages/ace-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@daisy/ace-report": "1.3.3-alpha.3",
"@daisy/ace-report-axe": "1.3.3-alpha.3",
"@daisy/epub-utils": "1.3.3-alpha.3",
"@daisy/axe-core-for-ace": "4.7.2-canary.2",
"@daisy/axe-core-for-ace": "4.10.2-canary.1",
"file-url": "^3.0.0",
"h5o": "^0.11.3",
"p-map": "^4.0.0",
Expand Down
24 changes: 12 additions & 12 deletions tests/__tests__/axe-rules.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,28 +52,28 @@ test('DPUB ARIA roles are allowed', async () => {
expect(assertions).toBeDefined();
expect(assertions).toEqual(expect.arrayContaining([
expect.objectContaining({
'earl:test': expect.objectContaining({ 'dct:title': 'aria-roles', 'earl:impact': 'minor', }),
'earl:test': expect.objectContaining({ 'dct:title': 'aria-deprecated-role', 'earl:impact': 'minor', }),
'earl:result': expect.objectContaining({
'earl:outcome': 'fail',
'earl:pointer': expect.objectContaining({ css: ['#deprecated1'] }),
}),
}),
expect.objectContaining({
'earl:test': expect.objectContaining({ 'dct:title': 'aria-roles', 'earl:impact': 'minor', }),
'earl:test': expect.objectContaining({ 'dct:title': 'aria-deprecated-role', 'earl:impact': 'minor', }),
'earl:result': expect.objectContaining({
'earl:outcome': 'fail',
'earl:pointer': expect.objectContaining({ css: ['#deprecated2'] }),
}),
}),
expect.objectContaining({
'earl:test': expect.objectContaining({ 'dct:title': 'aria-roles', 'earl:impact': 'minor', }),
'earl:test': expect.objectContaining({ 'dct:title': 'aria-deprecated-role', 'earl:impact': 'minor', }),
'earl:result': expect.objectContaining({
'earl:outcome': 'fail',
'earl:pointer': expect.objectContaining({ css: ['#deprecated3'] }),
}),
}),
expect.objectContaining({
'earl:test': expect.objectContaining({ 'dct:title': 'aria-roles', 'earl:impact': 'minor', }),
'earl:test': expect.objectContaining({ 'dct:title': 'aria-deprecated-role', 'earl:impact': 'minor', }),
'earl:result': expect.objectContaining({
'earl:outcome': 'fail',
'earl:pointer': expect.objectContaining({ css: ['#deprecated4'] }),
Expand Down Expand Up @@ -135,13 +135,13 @@ test('DPUB ARIA landmark unique', async () => {
'earl:pointer': expect.objectContaining({ css: ['#header-notes', '#pass-aside-endnotes1', '#pass-aside-endnotes2'] }),
}),
}),
expect.objectContaining({
'earl:test': expect.objectContaining({ 'dct:title': 'landmark-unique' }),
'earl:result': expect.objectContaining({
'earl:outcome': 'fail',
'earl:pointer': expect.objectContaining({ css: ['#pass-aside-footnote1', '#pass-aside-footnote3'] }),
}),
}),
// expect.objectContaining({
// 'earl:test': expect.objectContaining({ 'dct:title': 'landmark-unique' }),
// 'earl:result': expect.objectContaining({
// 'earl:outcome': 'fail',
// 'earl:pointer': expect.objectContaining({ css: ['#pass-aside-footnote1', '#pass-aside-footnote3'] }),
// }),
// }),
]));
expect(assertions).not.toEqual(expect.arrayContaining([
expect.objectContaining({
Expand Down Expand Up @@ -368,4 +368,4 @@ test('Checks cover ARIA role with empty alt', async() => {
const report = await ace('../data/axerule-matching-dpub-role-cover-empty-alt');
// console.log(JSON.stringify(report, null, 4));
expect(report['earl:result']['earl:outcome']).toEqual('fail');
});
});
2 changes: 1 addition & 1 deletion tests/__tests__/epub-rules.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ describe('page list and TOC reading order', () => {
}),
'earl:test': expect.objectContaining({
'dct:title': 'epub-type-has-matching-role',
"earl:impact": "minor",
"earl:impact": "moderate",
}),
}),
]));
Expand Down
40 changes: 22 additions & 18 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1016,10 +1016,10 @@
enabled "2.0.x"
kuler "^2.0.0"

"@daisy/axe-core-for-ace@4.7.2-canary.2":
version "4.7.2-canary.2"
resolved "https://registry.yarnpkg.com/@daisy/axe-core-for-ace/-/axe-core-for-ace-4.7.2-canary.2.tgz#659e55359e8a9ab4c1037d5b9437afda00057e81"
integrity sha512-O/2H0dAKyd/5SJyclrkPv52LfCU6MCRqzVm/ZgoIWTtuqsZOBsXECx1AFH5ztKyB02OUzLN1h4LfADHERHMakg==
"@daisy/axe-core-for-ace@4.10.2-canary.1":
version "4.10.2-canary.1"
resolved "https://registry.yarnpkg.com/@daisy/axe-core-for-ace/-/axe-core-for-ace-4.10.2-canary.1.tgz#e70416dc8f6618421331d861fac69667fd0c0c7b"
integrity sha512-Wz/66EEGJIohYSp3fsKdkQvYPwLNnxzdbZ2N6rdw24k6CjW8vi+ut/aPS3HnF9E/R7XXUEXLmN4oU79Cftbwvg==

"@electron/get@^2.0.0":
version "2.0.3"
Expand Down Expand Up @@ -5875,7 +5875,7 @@ get-caller-file@^2.0.1, get-caller-file@^2.0.5:
resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==

get-intrinsic@^1.1.3, get-intrinsic@^1.2.1, get-intrinsic@^1.2.3, get-intrinsic@^1.2.4:
get-intrinsic@^1.2.1, get-intrinsic@^1.2.3, get-intrinsic@^1.2.4:
version "1.2.4"
resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd"
integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==
Expand Down Expand Up @@ -6093,12 +6093,12 @@ globby@^9.2.0:
pify "^4.0.1"
slash "^2.0.0"

gopd@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c"
integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==
gopd@^1.0.1, gopd@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.1.0.tgz#df8f0839c2d48caefc32a025a49294d39606c912"
integrity sha512-FQoVQnqcdk4hVM4JN1eromaun4iuS34oStkdlLENLdpULsuQcTyXj8w7ayhuUfPwEYZ1ZOooOTT6fdA9Vmx/RA==
dependencies:
get-intrinsic "^1.1.3"
get-intrinsic "^1.2.4"

got@^11.8.5:
version "11.8.6"
Expand Down Expand Up @@ -6194,9 +6194,11 @@ has-property-descriptors@^1.0.0, has-property-descriptors@^1.0.2:
es-define-property "^1.0.0"

has-proto@^1.0.1, has-proto@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.3.tgz#b31ddfe9b0e6e9914536a6ab286426d0214f77fd"
integrity sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==
version "1.1.0"
resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.1.0.tgz#deb10494cbbe8809bce168a3b961f42969f5ed43"
integrity sha512-QLdzI9IIO1Jg7f9GT1gXpPpXArAn6cS31R1eEZqz08Gc+uQ8/XiqHWt17Fiw+2p6oTTIq5GXEpQkAlA88YRl/Q==
dependencies:
call-bind "^1.0.7"

has-symbols@^1.0.2, has-symbols@^1.0.3:
version "1.0.3"
Expand Down Expand Up @@ -6777,12 +6779,14 @@ is-promise@^2.2.2:
integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ==

is-regex@^1.1.4:
version "1.1.4"
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958"
integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==
version "1.2.0"
resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.2.0.tgz#41b9d266e7eb7451312c64efc37e8a7d453077cf"
integrity sha512-B6ohK4ZmoftlUe+uvenXSbPJFo6U37BH7oO1B3nQH8f/7h27N56s85MhUtbFJAziz5dcmuR3i8ovUl35zp8pFA==
dependencies:
call-bind "^1.0.2"
has-tostringtag "^1.0.0"
call-bind "^1.0.7"
gopd "^1.1.0"
has-tostringtag "^1.0.2"
hasown "^2.0.2"

is-set@^2.0.3:
version "2.0.3"
Expand Down

0 comments on commit 0188cee

Please sign in to comment.