From dfcb8ca44370e518ef6fe848a4a9ff40c5845be8 Mon Sep 17 00:00:00 2001 From: jlp-craigmorten Date: Thu, 27 Jun 2024 23:12:35 +0100 Subject: [PATCH 1/3] feat: add new comment, image, and suggestion roles TODO: update existing role props with `aria-braillelabel`, `aria-brailleroledescription`, and `aria-description` --- scripts/roles.json | 136 ++++++++++++++++++++++++ src/etc/roles/ariaLiteralRoles.js | 6 ++ src/etc/roles/literal/commentRole.js | 35 ++++++ src/etc/roles/literal/imageRole.js | 67 ++++++++++++ src/etc/roles/literal/imgRole.js | 6 +- src/etc/roles/literal/suggestionRole.js | 42 ++++++++ 6 files changed, 291 insertions(+), 1 deletion(-) create mode 100644 src/etc/roles/literal/commentRole.js create mode 100644 src/etc/roles/literal/imageRole.js create mode 100644 src/etc/roles/literal/suggestionRole.js diff --git a/scripts/roles.json b/scripts/roles.json index 3d8d0c02..b4964b93 100644 --- a/scripts/roles.json +++ b/scripts/roles.json @@ -775,6 +775,43 @@ "requiredProps": [], "superClass": ["widget"] }, + "comment": { + "abstract": false, + "accessibleNameRequired": false, + "childrenPresentational": false, + "nameFrom": ["author", "contents"], + "prohibitedProps": [], + "props": [ + "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", + "aria-busy", + "aria-controls", + "aria-current", + "aria-describedby", + "aria-description", + "aria-details", + "aria-dropeffect", + "aria-flowto", + "aria-grabbed", + "aria-hidden", + "aria-keyshortcuts", + "aria-level", + "aria-label", + "aria-labelledby", + "aria-live", + "aria-owns", + "aria-posinset", + "aria-relevant", + "aria-roledescription", + "aria-setsize" + ], + "relatedConcepts": [], + "requiredContextRole": [], + "requiredOwnedElements": [], + "requiredProps": [], + "superClass": ["article"] + }, "complementary": { "abstract": false, "accessibleNameRequired": false, @@ -3552,6 +3589,71 @@ "requiredProps": [["aria-level", "2"]], "superClass": ["sectionhead"] }, + "image": { + "abstract": false, + "accessibleNameRequired": true, + "childrenPresentational": true, + "nameFrom": ["author"], + "prohibitedProps": [], + "props": [ + "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", + "aria-busy", + "aria-controls", + "aria-current", + "aria-describedby", + "aria-description", + "aria-details", + "aria-dropeffect", + "aria-flowto", + "aria-grabbed", + "aria-hidden", + "aria-keyshortcuts", + "aria-label", + "aria-labelledby", + "aria-live", + "aria-owns", + "aria-relevant", + "aria-roledescription" + ], + "relatedConcepts": [ + { + "concept": { + "attributes": [ + { + "constraints": ["set"], + "name": "alt" + } + ], + "name": "img" + }, + "module": "HTML" + }, + { + "concept": { + "attributes": [ + { + "constraints": ["undefined"], + "name": "alt" + } + ], + "name": "img" + }, + "module": "HTML" + }, + { + "concept": { + "name": "imggroup" + }, + "module": "DTB" + } + ], + "requiredContextRole": [], + "requiredOwnedElements": [], + "requiredProps": [], + "superClass": ["section"] + }, "img": { "abstract": false, "accessibleNameRequired": true, @@ -3560,10 +3662,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -5662,6 +5767,37 @@ "requiredProps": [], "superClass": ["section"] }, + "suggestion": { + "abstract": false, + "accessibleNameRequired": false, + "childrenPresentational": false, + "nameFrom": ["prohibited"], + "prohibitedProps": ["aria-braillelabel", "aria-label", "aria-labelledby"], + "props": [ + "aria-atomic", + "aria-brailleroledescription", + "aria-busy", + "aria-controls", + "aria-current", + "aria-describedby", + "aria-description", + "aria-details", + "aria-dropeffect", + "aria-flowto", + "aria-grabbed", + "aria-hidden", + "aria-keyshortcuts", + "aria-live", + "aria-owns", + "aria-relevant", + "aria-roledescription" + ], + "relatedConcepts": [], + "requiredContextRole": [], + "requiredOwnedElements": [["insertion"], ["deletion"]], + "requiredProps": [], + "superClass": ["section"] + }, "superscript": { "abstract": false, "accessibleNameRequired": false, diff --git a/src/etc/roles/ariaLiteralRoles.js b/src/etc/roles/ariaLiteralRoles.js index bcc06ec3..e162ed2e 100644 --- a/src/etc/roles/ariaLiteralRoles.js +++ b/src/etc/roles/ariaLiteralRoles.js @@ -14,6 +14,7 @@ import checkboxRole from './literal/checkboxRole'; import codeRole from './literal/codeRole'; import columnheaderRole from './literal/columnheaderRole'; import comboboxRole from './literal/comboboxRole'; +import commentRole from './literal/commentRole'; import complementaryRole from './literal/complementaryRole'; import contentinfoRole from './literal/contentinfoRole'; import definitionRole from './literal/definitionRole'; @@ -30,6 +31,7 @@ import gridRole from './literal/gridRole'; import gridcellRole from './literal/gridcellRole'; import groupRole from './literal/groupRole'; import headingRole from './literal/headingRole'; +import imageRole from './literal/imageRole'; import imgRole from './literal/imgRole'; import insertionRole from './literal/insertionRole'; import linkRole from './literal/linkRole'; @@ -69,6 +71,7 @@ import spinbuttonRole from './literal/spinbuttonRole'; import statusRole from './literal/statusRole'; import strongRole from './literal/strongRole'; import subscriptRole from './literal/subscriptRole'; +import suggestionRole from './literal/suggestionRole'; import superscriptRole from './literal/superscriptRole'; import switchRole from './literal/switchRole'; import tabRole from './literal/tabRole'; @@ -99,6 +102,7 @@ const ariaLiteralRoles: RoleDefinitions = [ ['code', codeRole], ['columnheader', columnheaderRole], ['combobox', comboboxRole], + ['comment', commentRole], ['complementary', complementaryRole], ['contentinfo', contentinfoRole], ['definition', definitionRole], @@ -115,6 +119,7 @@ const ariaLiteralRoles: RoleDefinitions = [ ['gridcell', gridcellRole], ['group', groupRole], ['heading', headingRole], + ['image', imageRole], ['img', imgRole], ['insertion', insertionRole], ['link', linkRole], @@ -154,6 +159,7 @@ const ariaLiteralRoles: RoleDefinitions = [ ['status', statusRole], ['strong', strongRole], ['subscript', subscriptRole], + ['suggestion', suggestionRole], ['superscript', superscriptRole], ['switch', switchRole], ['tab', tabRole], diff --git a/src/etc/roles/literal/commentRole.js b/src/etc/roles/literal/commentRole.js new file mode 100644 index 00000000..efb8f0be --- /dev/null +++ b/src/etc/roles/literal/commentRole.js @@ -0,0 +1,35 @@ +/** + * @flow + */ +const commentRole: ARIARoleDefinition = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: [ + 'author', + 'contents', + ], + prohibitedProps: [], + props: { + 'aria-braillelabel': null, + 'aria-brailleroledescription': null, + 'aria-description': null, + 'aria-level': null, + }, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [ + [ + 'roletype', + 'structure', + 'document', + 'article', + ], + ], +}; + +export default commentRole; \ No newline at end of file diff --git a/src/etc/roles/literal/imageRole.js b/src/etc/roles/literal/imageRole.js new file mode 100644 index 00000000..988d9175 --- /dev/null +++ b/src/etc/roles/literal/imageRole.js @@ -0,0 +1,67 @@ +/** + * @flow + */ +const imageRole: ARIARoleDefinition = { + abstract: false, + accessibleNameRequired: true, + baseConcepts: [], + childrenPresentational: true, + nameFrom: [ + 'author', + ], + prohibitedProps: [], + props: { + 'aria-braillelabel': null, + 'aria-brailleroledescription': null, + 'aria-description': null, + }, + relatedConcepts: [ + { + concept: { + attributes: [ + { + constraints: [ + 'set', + ], + name: 'alt', + }, + ], + name: 'img', + }, + module: 'HTML', + }, + { + concept: { + attributes: [ + { + constraints: [ + 'undefined', + ], + name: 'alt', + }, + ], + name: 'img', + }, + module: 'HTML', + }, + { + concept: { + name: 'imggroup', + }, + module: 'DTB', + }, + ], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [], + requiredProps: {}, + superClass: [ + [ + 'roletype', + 'structure', + 'section', + ], + ], +}; + +export default imageRole; \ No newline at end of file diff --git a/src/etc/roles/literal/imgRole.js b/src/etc/roles/literal/imgRole.js index 2e00746d..df7d4a23 100644 --- a/src/etc/roles/literal/imgRole.js +++ b/src/etc/roles/literal/imgRole.js @@ -10,7 +10,11 @@ const imgRole: ARIARoleDefinition = { 'author', ], prohibitedProps: [], - props: {}, + props: { + 'aria-braillelabel': null, + 'aria-brailleroledescription': null, + 'aria-description': null, + }, relatedConcepts: [ { concept: { diff --git a/src/etc/roles/literal/suggestionRole.js b/src/etc/roles/literal/suggestionRole.js new file mode 100644 index 00000000..8d8bdaad --- /dev/null +++ b/src/etc/roles/literal/suggestionRole.js @@ -0,0 +1,42 @@ +/** + * @flow + */ +const suggestionRole: ARIARoleDefinition = { + abstract: false, + accessibleNameRequired: false, + baseConcepts: [], + childrenPresentational: false, + nameFrom: [ + 'prohibited', + ], + prohibitedProps: [ + 'aria-braillelabel', + 'aria-label', + 'aria-labelledby', + ], + props: { + 'aria-brailleroledescription': null, + 'aria-description': null, + }, + relatedConcepts: [], + requireContextRole: [], + requiredContextRole: [], + requiredOwnedElements: [ + [ + 'insertion', + ], + [ + 'deletion', + ], + ], + requiredProps: {}, + superClass: [ + [ + 'roletype', + 'structure', + 'section', + ], + ], +}; + +export default suggestionRole; \ No newline at end of file From 7ba68c1f42f0b26e79280754f2bacb7f2fdf745b Mon Sep 17 00:00:00 2001 From: jlp-craigmorten Date: Fri, 28 Jun 2024 10:35:29 +0100 Subject: [PATCH 2/3] feat: update role states and properties * Addition of `aria-braillelabel` * Addition of `aria-brailleroledescription` * Addition of `aria-description` * Fixes to some `prohibitedProps` and `nameFrom` fields --- __tests__/src/elementRoleMap-test.js | 6 +- __tests__/src/roleElementMap-test.js | 2 + __tests__/src/rolesMap-test.js | 5 +- flow/aria.js | 3 + scripts/roles.json | 496 ++++++++++++++++++++-- src/etc/roles/abstract/roletypeRole.js | 3 + src/etc/roles/dpub/docPagefooterRole.js | 3 - src/etc/roles/dpub/docPageheaderRole.js | 3 - src/etc/roles/dpub/docPullquoteRole.js | 4 +- src/etc/roles/literal/captionRole.js | 1 + src/etc/roles/literal/codeRole.js | 1 + src/etc/roles/literal/commentRole.js | 3 - src/etc/roles/literal/definitionRole.js | 8 +- src/etc/roles/literal/deletionRole.js | 1 + src/etc/roles/literal/emphasisRole.js | 1 + src/etc/roles/literal/genericRole.js | 3 + src/etc/roles/literal/imageRole.js | 6 +- src/etc/roles/literal/imgRole.js | 6 +- src/etc/roles/literal/insertionRole.js | 1 + src/etc/roles/literal/markRole.js | 12 +- src/etc/roles/literal/noneRole.js | 32 +- src/etc/roles/literal/paragraphRole.js | 1 + src/etc/roles/literal/presentationRole.js | 1 + src/etc/roles/literal/strongRole.js | 1 + src/etc/roles/literal/subscriptRole.js | 1 + src/etc/roles/literal/suggestionRole.js | 5 +- src/etc/roles/literal/superscriptRole.js | 1 + src/etc/roles/literal/termRole.js | 8 +- src/etc/roles/literal/timeRole.js | 8 +- 29 files changed, 548 insertions(+), 78 deletions(-) diff --git a/__tests__/src/elementRoleMap-test.js b/__tests__/src/elementRoleMap-test.js index 3d4a79b1..12e23002 100644 --- a/__tests__/src/elementRoleMap-test.js +++ b/__tests__/src/elementRoleMap-test.js @@ -74,8 +74,8 @@ const entriesList = [ [{"name": "h4"}, ["heading"]], [{"name": "h5"}, ["heading"]], [{"name": "h6"}, ["heading"]], - [{"attributes": [{"constraints": ["set"], "name": "alt"}], "name": "img"}, ["img"]], - [{"attributes": [{"constraints": ["undefined"], "name": "alt"}], "name": "img"}, ["img"]], + [{"attributes": [{"constraints": ["set"], "name": "alt"}], "name": "img"}, ["image", "img"]], + [{"attributes": [{"constraints": ["undefined"], "name": "alt"}], "name": "img"}, ["image", "img"]], [{"name": "ins"}, ["insertion"]], [{"attributes": [{"constraints": ["set"], "name": "href"}], "name": "a"}, ["link"]], [{"attributes": [{"constraints": ["set"], "name": "href"}], "name": "area"}, ["link"]], @@ -92,9 +92,9 @@ const entriesList = [ [{"name": "math"}, ["math"]], [{"name": "meter"}, ["meter"]], [{"name": "nav"}, ["navigation"]], + [{"attributes": [{"name": "alt", "value": ""}], "name": "img"}, ["none", "presentation"]], [{"name": "option"}, ["option"]], [{"name": "p"}, ["paragraph"]], - [{"attributes": [{"name": "alt", "value": ""}], "name": "img"}, ["presentation"]], [{"name": "progress"}, ["progressbar"]], [{"attributes": [{"name": "aria-valuemax"}, {"name": "aria-valuemin", "value": 0}, {"name": "aria-valuenow"}], "constraints": ["the progress bar is determinate"],"name": "progress"}, ["progressbar"]], [{"attributes": [{"name": "type", "value": "radio"}], "name": "input"}, ["radio"]], diff --git a/__tests__/src/roleElementMap-test.js b/__tests__/src/roleElementMap-test.js index 74ffdf00..dd85a5ac 100644 --- a/__tests__/src/roleElementMap-test.js +++ b/__tests__/src/roleElementMap-test.js @@ -33,6 +33,7 @@ const entriesList = [ ["gridcell", [{"constraints": ["ancestor table element has grid role", "ancestor table element has treegrid role"], "name": "td"}]], ["group", [{"name": "address"}, {"name": "details"}, {"name": "fieldset"}, {"name": "hgroup"}, {"name": "optgroup"}]], ["heading", [{"name": "h1"}, {"name": "h2"}, {"name": "h3"}, {"name": "h4"}, {"name": "h5"}, {"name": "h6"}]], + ["image", [{"attributes": [{"constraints": ["set"], "name": "alt"}], "name": "img"}, {"attributes": [{"constraints": ["undefined"], "name": "alt"}], "name": "img"}]], ["img", [{"attributes": [{"constraints": ["set"], "name": "alt"}], "name": "img"}, {"attributes": [{"constraints": ["undefined"], "name": "alt"}], "name": "img"}]], ["insertion", [{"name": "ins"}]], ["link", [{"attributes": [{"constraints": ["set"], "name": "href"}], "name": "a"}, {"attributes": [{"constraints": ["set"], "name": "href"}], "name": "area"}]], @@ -44,6 +45,7 @@ const entriesList = [ ["math", [{"name": "math"}]], ["meter", [{"name": "meter"}]], ["navigation", [{"name": "nav"}]], + ["none", [{"attributes": [{"name": "alt", "value": ""}], "name": "img"}]], ["option", [{"name": "option"}]], ["paragraph", [{"name": "p"}]], ["presentation", [{"attributes": [{"name": "alt", "value": ""}], "name": "img"}]], diff --git a/__tests__/src/rolesMap-test.js b/__tests__/src/rolesMap-test.js index cbda919a..5cafeea9 100644 --- a/__tests__/src/rolesMap-test.js +++ b/__tests__/src/rolesMap-test.js @@ -20,6 +20,7 @@ const entriesList = [ ["code", null], ["columnheader", null], ["combobox", null], + ["comment", null], ["command", null], ["complementary", null], ["composite", null], @@ -38,6 +39,7 @@ const entriesList = [ ["gridcell", null], ["group", null], ["heading", null], + ["image", null], ["img", null], ["input", null], ["insertion", null], @@ -85,6 +87,7 @@ const entriesList = [ ["strong", null], ["structure", null], ["subscript", null], + ["suggestion", null], ["superscript", null], ["switch", null], ["tab", null], @@ -151,7 +154,7 @@ const entriesList = [ test('rolesMap API', (t) => { const predicate = (role, [r]) => role === r; - testIteration(t, rolesMap, entriesList, 139, predicate); + testIteration(t, rolesMap, entriesList, 142, predicate); testForEach(t, rolesMap, entriesList, predicate); diff --git a/flow/aria.js b/flow/aria.js index 2d2ca406..ebdd5729 100644 --- a/flow/aria.js +++ b/flow/aria.js @@ -55,6 +55,7 @@ type ARIADocumentStructureRole = | 'blockquote' | 'caption' | 'cell' + | 'comment' | 'columnheader' | 'definition' | 'deletion' @@ -66,6 +67,7 @@ type ARIADocumentStructureRole = | 'generic' | 'group' | 'heading' + | 'image' | 'img' | 'insertion' | 'list' @@ -83,6 +85,7 @@ type ARIADocumentStructureRole = | 'separator' | 'strong' | 'subscript' + | 'suggestion' | 'superscript' | 'table' | 'term' diff --git a/scripts/roles.json b/scripts/roles.json index b4964b93..e78ee688 100644 --- a/scripts/roles.json +++ b/scripts/roles.json @@ -6,10 +6,13 @@ "nameFrom": ["author"], "prohibitedProps": [], "props": [ + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -45,10 +48,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -85,10 +91,13 @@ "props": [ "aria-activedescendant", "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -127,10 +136,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -167,10 +179,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -206,10 +221,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -244,10 +262,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -337,13 +358,15 @@ "accessibleNameRequired": false, "childrenPresentational": false, "nameFrom": ["prohibited"], - "prohibitedProps": ["aria-label", "aria-labelledby"], + "prohibitedProps": ["aria-braillelabel", "aria-label", "aria-labelledby"], "props": [ "aria-atomic", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -376,12 +399,15 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-colindex", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -421,11 +447,14 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-checked", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -475,13 +504,15 @@ "accessibleNameRequired": false, "childrenPresentational": false, "nameFrom": ["prohibited"], - "prohibitedProps": ["aria-label", "aria-labelledby"], + "prohibitedProps": ["aria-braillelabel", "aria-label", "aria-labelledby"], "props": [ "aria-atomic", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -514,12 +545,15 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-colindex", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -592,10 +626,13 @@ "aria-activedescendant", "aria-atomic", "aria-autocomplete", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -752,10 +789,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -820,10 +860,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -895,10 +938,13 @@ "props": [ "aria-activedescendant", "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -927,10 +973,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -962,14 +1011,16 @@ "abstract": false, "accessibleNameRequired": false, "childrenPresentational": false, - "nameFrom": ["author"], - "prohibitedProps": [], + "nameFrom": ["prohibited"], + "prohibitedProps": ["aria-braillelabel", "aria-label", "aria-labelledby"], "props": [ "aria-atomic", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -1001,13 +1052,15 @@ "accessibleNameRequired": false, "childrenPresentational": false, "nameFrom": ["prohibited"], - "prohibitedProps": ["aria-label", "aria-labelledby"], + "prohibitedProps": ["aria-braillelabel", "aria-label", "aria-labelledby"], "props": [ "aria-atomic", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -1046,10 +1099,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -1085,10 +1141,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -1120,10 +1179,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1163,10 +1225,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1206,10 +1271,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1249,10 +1317,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1292,10 +1363,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1335,10 +1409,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1381,10 +1458,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1424,10 +1504,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1467,10 +1550,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1510,10 +1596,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1553,10 +1642,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1596,10 +1688,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1639,10 +1734,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1682,10 +1780,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1725,10 +1826,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1768,10 +1872,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1814,10 +1921,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1857,10 +1967,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1900,10 +2013,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1943,10 +2059,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -1986,10 +2105,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2022,10 +2144,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2065,10 +2190,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2108,10 +2236,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2151,10 +2282,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2194,10 +2328,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2237,10 +2374,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2280,10 +2420,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2323,10 +2466,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2366,10 +2512,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2486,10 +2635,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2529,10 +2681,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2572,10 +2727,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2615,10 +2773,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2656,7 +2817,28 @@ "childrenPresentational": false, "nameFrom": ["author"], "prohibitedProps": [], - "props": [], + "props": [ + "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", + "aria-busy", + "aria-controls", + "aria-current", + "aria-describedby", + "aria-description", + "aria-details", + "aria-dropeffect", + "aria-flowto", + "aria-grabbed", + "aria-hidden", + "aria-keyshortcuts", + "aria-label", + "aria-labelledby", + "aria-live", + "aria-owns", + "aria-relevant", + "aria-roledescription" + ], "relatedConcepts": [ { "concept": { @@ -2668,7 +2850,7 @@ "requiredContextRole": [], "requiredOwnedElements": [], "requiredProps": [], - "superClass": ["none"] + "superClass": ["section"] }, "doc-qna": { "abstract": false, @@ -2678,10 +2860,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2721,10 +2906,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2764,10 +2952,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2807,10 +2998,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -2850,10 +3044,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -2890,13 +3087,15 @@ "accessibleNameRequired": false, "childrenPresentational": false, "nameFrom": ["prohibited"], - "prohibitedProps": ["aria-label", "aria-labelledby"], + "prohibitedProps": ["aria-braillelabel", "aria-label", "aria-labelledby"], "props": [ "aria-atomic", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -2929,10 +3128,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -2960,10 +3162,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -2998,10 +3203,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -3063,13 +3271,14 @@ "accessibleNameRequired": false, "childrenPresentational": false, "nameFrom": ["prohibited"], - "prohibitedProps": ["aria-label", "aria-labelledby"], + "prohibitedProps": ["aria-braillelabel", "aria-brailleroledescription", "aria-label", "aria-labelledby", "aria-roledescription"], "props": [ "aria-atomic", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -3078,8 +3287,7 @@ "aria-keyshortcuts", "aria-live", "aria-owns", - "aria-relevant", - "aria-roledescription" + "aria-relevant" ], "relatedConcepts": [ { @@ -3214,10 +3422,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -3276,10 +3487,13 @@ "props": [ "aria-activedescendant", "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -3337,10 +3551,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -3374,11 +3591,14 @@ "props": [ "aria-activedescendant", "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-colcount", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -3410,12 +3630,15 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-colindex", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -3465,10 +3688,13 @@ "props": [ "aria-activedescendant", "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -3528,10 +3754,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -3727,10 +3956,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -3763,13 +3995,15 @@ "accessibleNameRequired": false, "childrenPresentational": false, "nameFrom": ["prohibited"], - "prohibitedProps": ["aria-label", "aria-labelledby"], + "prohibitedProps": ["aria-braillelabel", "aria-label", "aria-labelledby"], "props": [ "aria-atomic", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -3802,10 +4036,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -3833,10 +4070,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -3892,10 +4132,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -3943,10 +4186,13 @@ "props": [ "aria-activedescendant", "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -4027,10 +4273,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -4079,10 +4328,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -4110,10 +4362,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -4145,10 +4400,9 @@ "accessibleNameRequired": false, "childrenPresentational": false, "nameFrom": ["prohibited"], - "prohibitedProps": [], + "prohibitedProps": ["aria-braillelabel", "aria-label", "aria-labelledby"], "props": [ "aria-atomic", - "aria-braillelabel", "aria-brailleroledescription", "aria-busy", "aria-controls", @@ -4161,8 +4415,6 @@ "aria-grabbed", "aria-hidden", "aria-keyshortcuts", - "aria-label", - "aria-labelledby", "aria-live", "aria-owns", "aria-relevant", @@ -4189,10 +4441,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -4220,10 +4475,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -4258,11 +4516,14 @@ "prohibitedProps": [], "props": [ "aria-activedescendant", + "aria-braillelabel", + "aria-brailleroledescription", "aria-atomic", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -4325,10 +4586,13 @@ "props": [ "aria-activedescendant", "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -4372,10 +4636,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -4427,11 +4694,14 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-checked", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -4475,11 +4745,14 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-checked", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -4523,10 +4796,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -4565,10 +4841,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -4599,14 +4878,45 @@ "abstract": false, "accessibleNameRequired": false, "childrenPresentational": false, - "nameFrom": [], - "prohibitedProps": [], - "props": [], - "relatedConcepts": [], + "nameFrom": ["prohibited"], + "prohibitedProps": ["aria-braillelabel", "aria-label", "aria-labelledby"], + "props": [ + "aria-atomic", + "aria-brailleroledescription", + "aria-busy", + "aria-controls", + "aria-current", + "aria-describedby", + "aria-description", + "aria-details", + "aria-dropeffect", + "aria-flowto", + "aria-grabbed", + "aria-hidden", + "aria-keyshortcuts", + "aria-live", + "aria-owns", + "aria-relevant", + "aria-roledescription" + ], + "relatedConcepts": [ + { + "concept": { + "attributes": [ + { + "name": "alt", + "value": "" + } + ], + "name": "img" + }, + "module": "HTML" + } + ], "requiredContextRole": [], "requiredOwnedElements": [], "requiredProps": [], - "superClass": [] + "superClass": ["structure"] }, "note": { "abstract": false, @@ -4616,10 +4926,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -4647,11 +4960,14 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-checked", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -4699,13 +5015,15 @@ "accessibleNameRequired": false, "childrenPresentational": false, "nameFrom": ["prohibited"], - "prohibitedProps": ["aria-label", "aria-labelledby"], + "prohibitedProps": ["aria-braillelabel", "aria-label", "aria-labelledby"], "props": [ "aria-atomic", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -4735,13 +5053,15 @@ "accessibleNameRequired": false, "childrenPresentational": false, "nameFrom": ["prohibited"], - "prohibitedProps": ["aria-label", "aria-labelledby"], + "prohibitedProps": ["aria-braillelabel", "aria-label", "aria-labelledby"], "props": [ "aria-atomic", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -4780,10 +5100,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -4828,11 +5151,14 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-checked", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -4877,10 +5203,13 @@ "props": [ "aria-activedescendant", "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -4921,10 +5250,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -4955,10 +5287,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -5016,10 +5351,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -5061,11 +5399,14 @@ "props": [ "aria-activedescendant", "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-colindex", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -5112,10 +5453,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -5162,12 +5506,15 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-colindex", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -5231,10 +5578,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -5268,10 +5618,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -5308,10 +5661,13 @@ "aria-activedescendant", "aria-atomic", "aria-autocomplete", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -5367,10 +5723,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -5417,10 +5776,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -5449,10 +5811,13 @@ "props": [ "aria-activedescendant", "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -5482,10 +5847,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -5526,10 +5894,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -5581,10 +5952,13 @@ "props": [ "aria-activedescendant", "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -5634,9 +6008,12 @@ "prohibitedProps": [], "props": [ "aria-busy", + "aria-braillelabel", + "aria-brailleroledescription", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -5669,13 +6046,15 @@ "accessibleNameRequired": false, "childrenPresentational": false, "nameFrom": ["prohibited"], - "prohibitedProps": ["aria-label", "aria-labelledby"], + "prohibitedProps": ["aria-braillelabel", "aria-label", "aria-labelledby"], "props": [ "aria-atomic", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -5708,10 +6087,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -5736,13 +6118,15 @@ "accessibleNameRequired": false, "childrenPresentational": false, "nameFrom": ["prohibited"], - "prohibitedProps": ["aria-label", "aria-labelledby"], + "prohibitedProps": ["aria-braillelabel", "aria-label", "aria-labelledby"], "props": [ "aria-atomic", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -5803,13 +6187,15 @@ "accessibleNameRequired": false, "childrenPresentational": false, "nameFrom": ["prohibited"], - "prohibitedProps": ["aria-label", "aria-labelledby"], + "prohibitedProps": ["aria-braillelabel", "aria-label", "aria-labelledby"], "props": [ "aria-atomic", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -5842,11 +6228,14 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-checked", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -5887,10 +6276,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -5924,11 +6316,14 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-colcount", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -5965,10 +6360,13 @@ "props": [ "aria-activedescendant", "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -6007,10 +6405,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -6034,22 +6435,22 @@ "abstract": false, "accessibleNameRequired": false, "childrenPresentational": false, - "nameFrom": ["author"], - "prohibitedProps": [], + "nameFrom": ["prohibited"], + "prohibitedProps": ["aria-braillelabel", "aria-label", "aria-labelledby"], "props": [ "aria-atomic", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", "aria-grabbed", "aria-hidden", "aria-keyshortcuts", - "aria-label", - "aria-labelledby", "aria-live", "aria-owns", "aria-relevant", @@ -6084,10 +6485,13 @@ "aria-activedescendant", "aria-atomic", "aria-autocomplete", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -6227,22 +6631,22 @@ "abstract": false, "accessibleNameRequired": false, "childrenPresentational": false, - "nameFrom": ["author"], - "prohibitedProps": [], + "nameFrom": ["prohibited"], + "prohibitedProps": ["aria-braillelabel", "aria-label", "aria-labelledby"], "props": [ "aria-atomic", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", "aria-grabbed", "aria-hidden", "aria-keyshortcuts", - "aria-label", - "aria-labelledby", "aria-live", "aria-owns", "aria-relevant", @@ -6269,10 +6673,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -6301,10 +6708,13 @@ "props": [ "aria-activedescendant", "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -6341,10 +6751,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -6373,10 +6786,13 @@ "props": [ "aria-activedescendant", "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -6411,11 +6827,14 @@ "props": [ "aria-activedescendant", "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-colcount", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -6451,11 +6870,14 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-checked", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", @@ -6490,10 +6912,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", @@ -6521,10 +6946,13 @@ "prohibitedProps": [], "props": [ "aria-atomic", + "aria-braillelabel", + "aria-brailleroledescription", "aria-busy", "aria-controls", "aria-current", "aria-describedby", + "aria-description", "aria-details", "aria-dropeffect", "aria-flowto", diff --git a/src/etc/roles/abstract/roletypeRole.js b/src/etc/roles/abstract/roletypeRole.js index 7d66c14c..3679a4a0 100644 --- a/src/etc/roles/abstract/roletypeRole.js +++ b/src/etc/roles/abstract/roletypeRole.js @@ -10,10 +10,13 @@ const roletypeRole: ARIARoleDefinition = { prohibitedProps: [], props: { 'aria-atomic': null, + 'aria-braillelabel': null, + 'aria-brailleroledescription': null, 'aria-busy': null, 'aria-controls': null, 'aria-current': null, 'aria-describedby': null, + 'aria-description': null, 'aria-details': null, 'aria-dropeffect': null, 'aria-flowto': null, diff --git a/src/etc/roles/dpub/docPagefooterRole.js b/src/etc/roles/dpub/docPagefooterRole.js index 9de9cc82..269db1fd 100644 --- a/src/etc/roles/dpub/docPagefooterRole.js +++ b/src/etc/roles/dpub/docPagefooterRole.js @@ -11,9 +11,6 @@ const docPagefooterRole: ARIARoleDefinition = { ], prohibitedProps: [], props: { - 'aria-braillelabel': null, - 'aria-brailleroledescription': null, - 'aria-description': null, 'aria-disabled': null, 'aria-errormessage': null, 'aria-haspopup': null, diff --git a/src/etc/roles/dpub/docPageheaderRole.js b/src/etc/roles/dpub/docPageheaderRole.js index e0035b3c..69313584 100644 --- a/src/etc/roles/dpub/docPageheaderRole.js +++ b/src/etc/roles/dpub/docPageheaderRole.js @@ -11,9 +11,6 @@ const docPageheaderRole: ARIARoleDefinition = { ], prohibitedProps: [], props: { - 'aria-braillelabel': null, - 'aria-brailleroledescription': null, - 'aria-description': null, 'aria-disabled': null, 'aria-errormessage': null, 'aria-haspopup': null, diff --git a/src/etc/roles/dpub/docPullquoteRole.js b/src/etc/roles/dpub/docPullquoteRole.js index 0ad4f53a..a73db2e5 100644 --- a/src/etc/roles/dpub/docPullquoteRole.js +++ b/src/etc/roles/dpub/docPullquoteRole.js @@ -25,7 +25,9 @@ const docPullquoteRole: ARIARoleDefinition = { requiredProps: {}, superClass: [ [ - 'none', + 'roletype', + 'structure', + 'section', ], ], }; diff --git a/src/etc/roles/literal/captionRole.js b/src/etc/roles/literal/captionRole.js index 55a1ff2d..91383d0f 100644 --- a/src/etc/roles/literal/captionRole.js +++ b/src/etc/roles/literal/captionRole.js @@ -10,6 +10,7 @@ const captionRole: ARIARoleDefinition = { 'prohibited', ], prohibitedProps: [ + 'aria-braillelabel', 'aria-label', 'aria-labelledby', ], diff --git a/src/etc/roles/literal/codeRole.js b/src/etc/roles/literal/codeRole.js index 7b80b701..811b468f 100644 --- a/src/etc/roles/literal/codeRole.js +++ b/src/etc/roles/literal/codeRole.js @@ -10,6 +10,7 @@ const codeRole: ARIARoleDefinition = { 'prohibited', ], prohibitedProps: [ + 'aria-braillelabel', 'aria-label', 'aria-labelledby', ], diff --git a/src/etc/roles/literal/commentRole.js b/src/etc/roles/literal/commentRole.js index efb8f0be..e82efc8d 100644 --- a/src/etc/roles/literal/commentRole.js +++ b/src/etc/roles/literal/commentRole.js @@ -12,9 +12,6 @@ const commentRole: ARIARoleDefinition = { ], prohibitedProps: [], props: { - 'aria-braillelabel': null, - 'aria-brailleroledescription': null, - 'aria-description': null, 'aria-level': null, }, relatedConcepts: [], diff --git a/src/etc/roles/literal/definitionRole.js b/src/etc/roles/literal/definitionRole.js index 4c7c991e..6810c307 100644 --- a/src/etc/roles/literal/definitionRole.js +++ b/src/etc/roles/literal/definitionRole.js @@ -7,9 +7,13 @@ const definitionRole: ARIARoleDefinition = { baseConcepts: [], childrenPresentational: false, nameFrom: [ - 'author', + 'prohibited', + ], + prohibitedProps: [ + 'aria-braillelabel', + 'aria-label', + 'aria-labelledby', ], - prohibitedProps: [], props: {}, relatedConcepts: [ { diff --git a/src/etc/roles/literal/deletionRole.js b/src/etc/roles/literal/deletionRole.js index e399573b..73038cae 100644 --- a/src/etc/roles/literal/deletionRole.js +++ b/src/etc/roles/literal/deletionRole.js @@ -10,6 +10,7 @@ const deletionRole: ARIARoleDefinition = { 'prohibited', ], prohibitedProps: [ + 'aria-braillelabel', 'aria-label', 'aria-labelledby', ], diff --git a/src/etc/roles/literal/emphasisRole.js b/src/etc/roles/literal/emphasisRole.js index a1e1dcb9..0008ddcf 100644 --- a/src/etc/roles/literal/emphasisRole.js +++ b/src/etc/roles/literal/emphasisRole.js @@ -10,6 +10,7 @@ const emphasisRole: ARIARoleDefinition = { 'prohibited', ], prohibitedProps: [ + 'aria-braillelabel', 'aria-label', 'aria-labelledby', ], diff --git a/src/etc/roles/literal/genericRole.js b/src/etc/roles/literal/genericRole.js index 09894494..53fb0875 100644 --- a/src/etc/roles/literal/genericRole.js +++ b/src/etc/roles/literal/genericRole.js @@ -10,8 +10,11 @@ const genericRole: ARIARoleDefinition = { 'prohibited', ], prohibitedProps: [ + 'aria-braillelabel', + 'aria-brailleroledescription', 'aria-label', 'aria-labelledby', + 'aria-roledescription', ], props: {}, relatedConcepts: [ diff --git a/src/etc/roles/literal/imageRole.js b/src/etc/roles/literal/imageRole.js index 988d9175..b0ef8f1f 100644 --- a/src/etc/roles/literal/imageRole.js +++ b/src/etc/roles/literal/imageRole.js @@ -10,11 +10,7 @@ const imageRole: ARIARoleDefinition = { 'author', ], prohibitedProps: [], - props: { - 'aria-braillelabel': null, - 'aria-brailleroledescription': null, - 'aria-description': null, - }, + props: {}, relatedConcepts: [ { concept: { diff --git a/src/etc/roles/literal/imgRole.js b/src/etc/roles/literal/imgRole.js index df7d4a23..2e00746d 100644 --- a/src/etc/roles/literal/imgRole.js +++ b/src/etc/roles/literal/imgRole.js @@ -10,11 +10,7 @@ const imgRole: ARIARoleDefinition = { 'author', ], prohibitedProps: [], - props: { - 'aria-braillelabel': null, - 'aria-brailleroledescription': null, - 'aria-description': null, - }, + props: {}, relatedConcepts: [ { concept: { diff --git a/src/etc/roles/literal/insertionRole.js b/src/etc/roles/literal/insertionRole.js index 3129120c..9348aff6 100644 --- a/src/etc/roles/literal/insertionRole.js +++ b/src/etc/roles/literal/insertionRole.js @@ -10,6 +10,7 @@ const insertionRole: ARIARoleDefinition = { 'prohibited', ], prohibitedProps: [ + 'aria-braillelabel', 'aria-label', 'aria-labelledby', ], diff --git a/src/etc/roles/literal/markRole.js b/src/etc/roles/literal/markRole.js index cf59506a..e73d4ad5 100644 --- a/src/etc/roles/literal/markRole.js +++ b/src/etc/roles/literal/markRole.js @@ -9,12 +9,12 @@ const markRole: ARIARoleDefinition = { nameFrom: [ 'prohibited', ], - prohibitedProps: [], - props: { - 'aria-braillelabel': null, - 'aria-brailleroledescription': null, - 'aria-description': null, - }, + prohibitedProps: [ + 'aria-braillelabel', + 'aria-label', + 'aria-labelledby', + ], + props: {}, relatedConcepts: [ { concept: { diff --git a/src/etc/roles/literal/noneRole.js b/src/etc/roles/literal/noneRole.js index a4a244ae..01c46aee 100644 --- a/src/etc/roles/literal/noneRole.js +++ b/src/etc/roles/literal/noneRole.js @@ -6,15 +6,39 @@ const noneRole: ARIARoleDefinition = { accessibleNameRequired: false, baseConcepts: [], childrenPresentational: false, - nameFrom: [], - prohibitedProps: [], + nameFrom: [ + 'prohibited', + ], + prohibitedProps: [ + 'aria-braillelabel', + 'aria-label', + 'aria-labelledby', + ], props: {}, - relatedConcepts: [], + relatedConcepts: [ + { + concept: { + attributes: [ + { + name: 'alt', + value: '', + }, + ], + name: 'img', + }, + module: 'HTML', + }, + ], requireContextRole: [], requiredContextRole: [], requiredOwnedElements: [], requiredProps: {}, - superClass: [], + superClass: [ + [ + 'roletype', + 'structure', + ], + ], }; export default noneRole; \ No newline at end of file diff --git a/src/etc/roles/literal/paragraphRole.js b/src/etc/roles/literal/paragraphRole.js index 7060a552..a9e4146f 100644 --- a/src/etc/roles/literal/paragraphRole.js +++ b/src/etc/roles/literal/paragraphRole.js @@ -10,6 +10,7 @@ const paragraphRole: ARIARoleDefinition = { 'prohibited', ], prohibitedProps: [ + 'aria-braillelabel', 'aria-label', 'aria-labelledby', ], diff --git a/src/etc/roles/literal/presentationRole.js b/src/etc/roles/literal/presentationRole.js index c9a14b5c..b7b4f4ec 100644 --- a/src/etc/roles/literal/presentationRole.js +++ b/src/etc/roles/literal/presentationRole.js @@ -10,6 +10,7 @@ const presentationRole: ARIARoleDefinition = { 'prohibited', ], prohibitedProps: [ + 'aria-braillelabel', 'aria-label', 'aria-labelledby', ], diff --git a/src/etc/roles/literal/strongRole.js b/src/etc/roles/literal/strongRole.js index 86f864f5..69098dd7 100644 --- a/src/etc/roles/literal/strongRole.js +++ b/src/etc/roles/literal/strongRole.js @@ -10,6 +10,7 @@ const strongRole: ARIARoleDefinition = { 'prohibited', ], prohibitedProps: [ + 'aria-braillelabel', 'aria-label', 'aria-labelledby', ], diff --git a/src/etc/roles/literal/subscriptRole.js b/src/etc/roles/literal/subscriptRole.js index 0707000d..8050a94b 100644 --- a/src/etc/roles/literal/subscriptRole.js +++ b/src/etc/roles/literal/subscriptRole.js @@ -10,6 +10,7 @@ const subscriptRole: ARIARoleDefinition = { 'prohibited', ], prohibitedProps: [ + 'aria-braillelabel', 'aria-label', 'aria-labelledby', ], diff --git a/src/etc/roles/literal/suggestionRole.js b/src/etc/roles/literal/suggestionRole.js index 8d8bdaad..7073036c 100644 --- a/src/etc/roles/literal/suggestionRole.js +++ b/src/etc/roles/literal/suggestionRole.js @@ -14,10 +14,7 @@ const suggestionRole: ARIARoleDefinition = { 'aria-label', 'aria-labelledby', ], - props: { - 'aria-brailleroledescription': null, - 'aria-description': null, - }, + props: {}, relatedConcepts: [], requireContextRole: [], requiredContextRole: [], diff --git a/src/etc/roles/literal/superscriptRole.js b/src/etc/roles/literal/superscriptRole.js index 9d1039ff..b735037c 100644 --- a/src/etc/roles/literal/superscriptRole.js +++ b/src/etc/roles/literal/superscriptRole.js @@ -10,6 +10,7 @@ const superscriptRole: ARIARoleDefinition = { 'prohibited', ], prohibitedProps: [ + 'aria-braillelabel', 'aria-label', 'aria-labelledby', ], diff --git a/src/etc/roles/literal/termRole.js b/src/etc/roles/literal/termRole.js index 86d9a396..0810de03 100644 --- a/src/etc/roles/literal/termRole.js +++ b/src/etc/roles/literal/termRole.js @@ -7,9 +7,13 @@ const termRole: ARIARoleDefinition = { baseConcepts: [], childrenPresentational: false, nameFrom: [ - 'author', + 'prohibited', + ], + prohibitedProps: [ + 'aria-braillelabel', + 'aria-label', + 'aria-labelledby', ], - prohibitedProps: [], props: {}, relatedConcepts: [ { diff --git a/src/etc/roles/literal/timeRole.js b/src/etc/roles/literal/timeRole.js index 785e531b..ce4b724f 100644 --- a/src/etc/roles/literal/timeRole.js +++ b/src/etc/roles/literal/timeRole.js @@ -7,9 +7,13 @@ const timeRole: ARIARoleDefinition = { baseConcepts: [], childrenPresentational: false, nameFrom: [ - 'author', + 'prohibited', + ], + prohibitedProps: [ + 'aria-braillelabel', + 'aria-label', + 'aria-labelledby', ], - prohibitedProps: [], props: {}, relatedConcepts: [ { From 951364798dc35fda6cd359d676b2f6034d890192 Mon Sep 17 00:00:00 2001 From: jlp-craigmorten Date: Sat, 6 Jul 2024 21:04:09 +0100 Subject: [PATCH 3/3] docs: README update --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 53a1b7b8..a0ab7e3e 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ ![CI](https://github.com/A11yance/aria-query/workflows/CI/badge.svg) -Programmatic access to the [WAI-ARIA 1.2 Roles Model](https://www.w3.org/TR/wai-aria-1.2/#roles). -This package tracks the W3C Recommendation (last update: 6 June 2023). +Programmatic access to the [WAI-ARIA 1.3 Roles Model](https://www.w3.org/TR/wai-aria-1.3/#roles). +This package tracks the W3C Working Draft (last update: 23 January 2024). CDN URL: