diff --git a/__tests__/src/rolesMap-test.js b/__tests__/src/rolesMap-test.js index e6897b44..646baf2b 100644 --- a/__tests__/src/rolesMap-test.js +++ b/__tests__/src/rolesMap-test.js @@ -9,4 +9,18 @@ describe('rolesMap', function () { it('should have size', function () { expect(rolesMap.size).toBeGreaterThan(0); }); + + // dpub-aria + describe('doc-abstract role', function () { + const abstract = rolesMap.get('doc-abstract'); + const { props } = abstract; + + it('should not have aria-describedat property', function () { + expect(props).toExcludeKey('aria-describedat'); + }); + + it('should have aria-details property', function () { + expect(props).toInclude({ 'aria-details': null }); + }); + }); }); diff --git a/flow/aria.js b/flow/aria.js index 10372f7a..ef4b831b 100644 --- a/flow/aria.js +++ b/flow/aria.js @@ -188,7 +188,6 @@ type ARIAProperty = | 'aria-colspan' | 'aria-controls' | 'aria-current' - | 'aria-describedat' | 'aria-describedby' | 'aria-details' | 'aria-dropeffect' @@ -240,7 +239,6 @@ type ARIAPropertyMap = { 'aria-colspan'?: mixed, 'aria-controls'?: mixed, 'aria-current'?: ?ARIAPropertyCurrent, - 'aria-describedat'?: mixed, 'aria-describedby'?: mixed, 'aria-details'?: mixed, 'aria-dropeffect'?: mixed, diff --git a/scripts/roles.json b/scripts/roles.json index d3aa9d70..cc80e481 100644 --- a/scripts/roles.json +++ b/scripts/roles.json @@ -666,21 +666,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -704,21 +707,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -742,21 +748,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -780,21 +789,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -818,21 +830,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -856,16 +871,18 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", @@ -873,6 +890,7 @@ "aria-owns", "aria-posinset", "aria-relevant", + "aria-roledescription", "aria-setsize" ], "requiredProps": [], @@ -899,21 +917,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -937,21 +958,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -975,21 +999,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1013,21 +1040,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1051,21 +1081,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1089,21 +1122,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1127,21 +1163,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1165,21 +1204,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1203,21 +1245,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1241,16 +1286,18 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", @@ -1258,6 +1305,7 @@ "aria-owns", "aria-posinset", "aria-relevant", + "aria-roledescription", "aria-setsize" ], "requiredProps": [], @@ -1284,21 +1332,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1322,21 +1373,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1360,21 +1414,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1398,21 +1455,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1436,21 +1496,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1469,21 +1532,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1507,21 +1573,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1548,21 +1617,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1586,21 +1658,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1624,21 +1699,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1662,21 +1740,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1700,21 +1781,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1738,21 +1822,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1776,22 +1863,25 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-orientation", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1815,21 +1905,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1853,21 +1946,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1891,21 +1987,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1929,21 +2028,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -1985,21 +2087,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -2023,21 +2128,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -2061,21 +2169,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, @@ -2099,21 +2210,24 @@ "aria-busy", "aria-controls", "aria-current", - "aria-describedat", "aria-describedby", + "aria-details", "aria-disabled", "aria-dropeffect", + "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", + "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-live", "aria-owns", - "aria-relevant" + "aria-relevant", + "aria-roledescription" ], "requiredProps": [], "abstract": false, diff --git a/src/etc/roles/dpub/docAbstractRole.js b/src/etc/roles/dpub/docAbstractRole.js index 9f3c9619..b42c2388 100644 --- a/src/etc/roles/dpub/docAbstractRole.js +++ b/src/etc/roles/dpub/docAbstractRole.js @@ -9,9 +9,7 @@ const docAbstractRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docAcknowledgmentsRole.js b/src/etc/roles/dpub/docAcknowledgmentsRole.js index d4e16e66..2d7c2ff7 100644 --- a/src/etc/roles/dpub/docAcknowledgmentsRole.js +++ b/src/etc/roles/dpub/docAcknowledgmentsRole.js @@ -9,9 +9,7 @@ const docAcknowledgmentsRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docAfterwordRole.js b/src/etc/roles/dpub/docAfterwordRole.js index 0b2f67a6..0b3a29da 100644 --- a/src/etc/roles/dpub/docAfterwordRole.js +++ b/src/etc/roles/dpub/docAfterwordRole.js @@ -9,9 +9,7 @@ const docAfterwordRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docAppendixRole.js b/src/etc/roles/dpub/docAppendixRole.js index 918cd1dd..ca523744 100644 --- a/src/etc/roles/dpub/docAppendixRole.js +++ b/src/etc/roles/dpub/docAppendixRole.js @@ -9,9 +9,7 @@ const docAppendixRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docBacklinkRole.js b/src/etc/roles/dpub/docBacklinkRole.js index 19d5102f..72fb82ec 100644 --- a/src/etc/roles/dpub/docBacklinkRole.js +++ b/src/etc/roles/dpub/docBacklinkRole.js @@ -10,9 +10,7 @@ const docBacklinkRole: ARIARoleDefinition = { 'author', 'content', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docBiblioentryRole.js b/src/etc/roles/dpub/docBiblioentryRole.js index 67cf7ce2..8bc079cc 100644 --- a/src/etc/roles/dpub/docBiblioentryRole.js +++ b/src/etc/roles/dpub/docBiblioentryRole.js @@ -9,9 +9,7 @@ const docBiblioentryRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docBibliographyRole.js b/src/etc/roles/dpub/docBibliographyRole.js index 0dd6e177..d488660b 100644 --- a/src/etc/roles/dpub/docBibliographyRole.js +++ b/src/etc/roles/dpub/docBibliographyRole.js @@ -9,9 +9,7 @@ const docBibliographyRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docBibliorefRole.js b/src/etc/roles/dpub/docBibliorefRole.js index 6adeb1a8..1073b4c0 100644 --- a/src/etc/roles/dpub/docBibliorefRole.js +++ b/src/etc/roles/dpub/docBibliorefRole.js @@ -10,9 +10,7 @@ const docBibliorefRole: ARIARoleDefinition = { 'author', 'contents', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docChapterRole.js b/src/etc/roles/dpub/docChapterRole.js index 63deccfa..35b51c3d 100644 --- a/src/etc/roles/dpub/docChapterRole.js +++ b/src/etc/roles/dpub/docChapterRole.js @@ -9,9 +9,7 @@ const docChapterRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docColophonRole.js b/src/etc/roles/dpub/docColophonRole.js index 4b7bc269..bf3b166b 100644 --- a/src/etc/roles/dpub/docColophonRole.js +++ b/src/etc/roles/dpub/docColophonRole.js @@ -9,9 +9,7 @@ const docColophonRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docConclusionRole.js b/src/etc/roles/dpub/docConclusionRole.js index 37a124a1..484d7c62 100644 --- a/src/etc/roles/dpub/docConclusionRole.js +++ b/src/etc/roles/dpub/docConclusionRole.js @@ -9,9 +9,7 @@ const docConclusionRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docCoverRole.js b/src/etc/roles/dpub/docCoverRole.js index 2bec771e..85bbd907 100644 --- a/src/etc/roles/dpub/docCoverRole.js +++ b/src/etc/roles/dpub/docCoverRole.js @@ -9,9 +9,7 @@ const docCoverRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docCreditRole.js b/src/etc/roles/dpub/docCreditRole.js index 8f40ef47..22ed8a09 100644 --- a/src/etc/roles/dpub/docCreditRole.js +++ b/src/etc/roles/dpub/docCreditRole.js @@ -9,9 +9,7 @@ const docCreditRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docCreditsRole.js b/src/etc/roles/dpub/docCreditsRole.js index 0d1b29ee..f391f782 100644 --- a/src/etc/roles/dpub/docCreditsRole.js +++ b/src/etc/roles/dpub/docCreditsRole.js @@ -9,9 +9,7 @@ const docCreditsRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docDedicationRole.js b/src/etc/roles/dpub/docDedicationRole.js index cfcb4e1f..4c3de2c7 100644 --- a/src/etc/roles/dpub/docDedicationRole.js +++ b/src/etc/roles/dpub/docDedicationRole.js @@ -9,9 +9,7 @@ const docDedicationRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docEndnoteRole.js b/src/etc/roles/dpub/docEndnoteRole.js index 99a8f324..81568584 100644 --- a/src/etc/roles/dpub/docEndnoteRole.js +++ b/src/etc/roles/dpub/docEndnoteRole.js @@ -9,9 +9,7 @@ const docEndnoteRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docEndnotesRole.js b/src/etc/roles/dpub/docEndnotesRole.js index 830ec70a..5fa1de8c 100644 --- a/src/etc/roles/dpub/docEndnotesRole.js +++ b/src/etc/roles/dpub/docEndnotesRole.js @@ -9,9 +9,7 @@ const docEndnotesRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docEpigraphRole.js b/src/etc/roles/dpub/docEpigraphRole.js index 487db0f6..203af1e7 100644 --- a/src/etc/roles/dpub/docEpigraphRole.js +++ b/src/etc/roles/dpub/docEpigraphRole.js @@ -9,9 +9,7 @@ const docEpigraphRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docEpilogueRole.js b/src/etc/roles/dpub/docEpilogueRole.js index 4b2889c8..9e541111 100644 --- a/src/etc/roles/dpub/docEpilogueRole.js +++ b/src/etc/roles/dpub/docEpilogueRole.js @@ -9,9 +9,7 @@ const docEpilogueRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docErrataRole.js b/src/etc/roles/dpub/docErrataRole.js index fac39a4f..2447eae3 100644 --- a/src/etc/roles/dpub/docErrataRole.js +++ b/src/etc/roles/dpub/docErrataRole.js @@ -9,9 +9,7 @@ const docErrataRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docExampleRole.js b/src/etc/roles/dpub/docExampleRole.js index 5b1a211e..45ca7f5e 100644 --- a/src/etc/roles/dpub/docExampleRole.js +++ b/src/etc/roles/dpub/docExampleRole.js @@ -9,9 +9,7 @@ const docExampleRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [], requireContextRole: [], requiredOwnedElements: [], diff --git a/src/etc/roles/dpub/docFootnoteRole.js b/src/etc/roles/dpub/docFootnoteRole.js index f8f3fcd5..83f73da0 100644 --- a/src/etc/roles/dpub/docFootnoteRole.js +++ b/src/etc/roles/dpub/docFootnoteRole.js @@ -9,9 +9,7 @@ const docFootnoteRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docForewordRole.js b/src/etc/roles/dpub/docForewordRole.js index 652331b3..cc6fa46e 100644 --- a/src/etc/roles/dpub/docForewordRole.js +++ b/src/etc/roles/dpub/docForewordRole.js @@ -9,9 +9,7 @@ const docForewordRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docGlossaryRole.js b/src/etc/roles/dpub/docGlossaryRole.js index 567d2739..6c754641 100644 --- a/src/etc/roles/dpub/docGlossaryRole.js +++ b/src/etc/roles/dpub/docGlossaryRole.js @@ -9,9 +9,7 @@ const docGlossaryRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docGlossrefRole.js b/src/etc/roles/dpub/docGlossrefRole.js index c4271cae..09593484 100644 --- a/src/etc/roles/dpub/docGlossrefRole.js +++ b/src/etc/roles/dpub/docGlossrefRole.js @@ -10,9 +10,7 @@ const docGlossrefRole: ARIARoleDefinition = { 'author', 'contents', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docIndexRole.js b/src/etc/roles/dpub/docIndexRole.js index 0f222827..9fb79e4b 100644 --- a/src/etc/roles/dpub/docIndexRole.js +++ b/src/etc/roles/dpub/docIndexRole.js @@ -9,9 +9,7 @@ const docIndexRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docIntroductionRole.js b/src/etc/roles/dpub/docIntroductionRole.js index c8c930f7..95bce8bb 100644 --- a/src/etc/roles/dpub/docIntroductionRole.js +++ b/src/etc/roles/dpub/docIntroductionRole.js @@ -9,9 +9,7 @@ const docIntroductionRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docNoterefRole.js b/src/etc/roles/dpub/docNoterefRole.js index e57b47e3..4813a58e 100644 --- a/src/etc/roles/dpub/docNoterefRole.js +++ b/src/etc/roles/dpub/docNoterefRole.js @@ -10,9 +10,7 @@ const docNoterefRole: ARIARoleDefinition = { 'author', 'contents', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docNoticeRole.js b/src/etc/roles/dpub/docNoticeRole.js index e5a04d78..29a58448 100644 --- a/src/etc/roles/dpub/docNoticeRole.js +++ b/src/etc/roles/dpub/docNoticeRole.js @@ -9,9 +9,7 @@ const docNoticeRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docPagebreakRole.js b/src/etc/roles/dpub/docPagebreakRole.js index b18dcd97..1b5ad153 100644 --- a/src/etc/roles/dpub/docPagebreakRole.js +++ b/src/etc/roles/dpub/docPagebreakRole.js @@ -9,9 +9,7 @@ const docPagebreakRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docPagelistRole.js b/src/etc/roles/dpub/docPagelistRole.js index b4c29260..132676ed 100644 --- a/src/etc/roles/dpub/docPagelistRole.js +++ b/src/etc/roles/dpub/docPagelistRole.js @@ -9,9 +9,7 @@ const docPagelistRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docPartRole.js b/src/etc/roles/dpub/docPartRole.js index c8e10d39..806b259c 100644 --- a/src/etc/roles/dpub/docPartRole.js +++ b/src/etc/roles/dpub/docPartRole.js @@ -9,9 +9,7 @@ const docPartRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docPrefaceRole.js b/src/etc/roles/dpub/docPrefaceRole.js index 7c3c23e9..72ef43a0 100644 --- a/src/etc/roles/dpub/docPrefaceRole.js +++ b/src/etc/roles/dpub/docPrefaceRole.js @@ -9,9 +9,7 @@ const docPrefaceRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docPrologueRole.js b/src/etc/roles/dpub/docPrologueRole.js index 40110bf3..3e88a513 100644 --- a/src/etc/roles/dpub/docPrologueRole.js +++ b/src/etc/roles/dpub/docPrologueRole.js @@ -9,9 +9,7 @@ const docPrologueRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docQnaRole.js b/src/etc/roles/dpub/docQnaRole.js index 2855583b..51605990 100644 --- a/src/etc/roles/dpub/docQnaRole.js +++ b/src/etc/roles/dpub/docQnaRole.js @@ -9,9 +9,7 @@ const docQnaRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docSubtitleRole.js b/src/etc/roles/dpub/docSubtitleRole.js index 953a2cba..60c26b77 100644 --- a/src/etc/roles/dpub/docSubtitleRole.js +++ b/src/etc/roles/dpub/docSubtitleRole.js @@ -9,9 +9,7 @@ const docSubtitleRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docTipRole.js b/src/etc/roles/dpub/docTipRole.js index 7914d06a..1cab039f 100644 --- a/src/etc/roles/dpub/docTipRole.js +++ b/src/etc/roles/dpub/docTipRole.js @@ -9,9 +9,7 @@ const docTipRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB', diff --git a/src/etc/roles/dpub/docTocRole.js b/src/etc/roles/dpub/docTocRole.js index f5273ac4..014b64fe 100644 --- a/src/etc/roles/dpub/docTocRole.js +++ b/src/etc/roles/dpub/docTocRole.js @@ -9,9 +9,7 @@ const docTocRole: ARIARoleDefinition = { nameFrom: [ 'author', ], - props: { - 'aria-describedat': null, - }, + props: {}, relatedConcepts: [ { module: 'EPUB',