From 114ae4554f5ca895924375058dc6157aa35e253a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 5 Jul 2023 16:49:35 +0000 Subject: [PATCH] chore: sync from w3c/aria-common Generated by https://github.com/w3c/aria-common/commit/eac5def7a77521dbfb6d85466be6c108085c685f --- common/biblio.js | 84 +- common/script/aria.js | 1360 +- common/script/ariaChild.js | 942 +- common/script/mapping-tables.js | 449 +- common/script/resolveReferences.js | 631 +- common/script/roleInfo.js | 17728 +++++++++++++-------------- common/script/utility.js | 16 +- 7 files changed, 10520 insertions(+), 10690 deletions(-) diff --git a/common/biblio.js b/common/biblio.js index cbce2a82da..9a1fe52ce9 100644 --- a/common/biblio.js +++ b/common/biblio.js @@ -1,46 +1,42 @@ respecConfig.localBiblio = { - - "ACCNAME-AAM": { - "aliasOf": "ACCNAME-AAM-1.1", - }, - "ARIA-PRACTICES": { - "aliasOf": "WAI-ARIA-PRACTICES-1.2", - }, - "CORE-AAM": { - "aliasOf": "CORE-AAM-1.1", - }, - "DPUB-ARIA": { - "aliasOf": "DPUB-ARIA-1.0", - }, - "GRAPHICS-ARIA": { - "aliasOf": "GRAPHICS-ARIA-1.0", - }, - "GRAPHICS-AAM": { - "aliasOf": "GRAPHICS-AAM-1.0", - }, - "EPUB-Content": { - "href": "http://www.idpf.org/epub/31/spec/epub-contentdocs.html", - "title": "EPUB Content Documents 3.1", - "publisher": "IDPF" - }, - "HTML-AAM": { - "aliasOf": "HTML-AAM-1.0", - }, - "MathML-Core": { - "href": "https://mathml-refresh.github.io/mathml-core/", - "title": "MathML Core", - "authors": [ - "David Carlisle", - "Frédéric Wang" - ] - }, - "SVG-AAM": { - "aliasOf": "SVG-AAM-1.0", - }, - "SVG1": { - "aliasOf": "SVG", - }, - "WAI-ARIA": { - "aliasOf": "WAI-ARIA-1.1", - } + "ACCNAME-AAM": { + aliasOf: "ACCNAME-AAM-1.1", + }, + "ARIA-PRACTICES": { + aliasOf: "WAI-ARIA-PRACTICES-1.2", + }, + "CORE-AAM": { + aliasOf: "CORE-AAM-1.1", + }, + "DPUB-ARIA": { + aliasOf: "DPUB-ARIA-1.0", + }, + "GRAPHICS-ARIA": { + aliasOf: "GRAPHICS-ARIA-1.0", + }, + "GRAPHICS-AAM": { + aliasOf: "GRAPHICS-AAM-1.0", + }, + "EPUB-Content": { + href: "http://www.idpf.org/epub/31/spec/epub-contentdocs.html", + title: "EPUB Content Documents 3.1", + publisher: "IDPF", + }, + "HTML-AAM": { + aliasOf: "HTML-AAM-1.0", + }, + "MathML-Core": { + href: "https://mathml-refresh.github.io/mathml-core/", + title: "MathML Core", + authors: ["David Carlisle", "Frédéric Wang"], + }, + "SVG-AAM": { + aliasOf: "SVG-AAM-1.0", + }, + SVG1: { + aliasOf: "SVG", + }, + "WAI-ARIA": { + aliasOf: "WAI-ARIA-1.1", + }, }; diff --git a/common/script/aria.js b/common/script/aria.js index c4df7c10d9..67d6a6270b 100644 --- a/common/script/aria.js +++ b/common/script/aria.js @@ -7,776 +7,800 @@ * localprops: local properties and states */ -/* jshint shadow: true, unused: false, laxbreak:true, laxcomma:true, asi: true, eqeqeq: false, strict: implied, jquery: true */ -/* global require, updateReferences, ariaAttributeReferences */ - var roleInfo = {}; function ariaAttributeReferences() { - var propList = {}; - var globalSP = []; + var propList = {}; + var globalSP = []; - var skipIndex = 0; - var myURL = document.URL; - if (myURL.match(/\?fast/)) { + var skipIndex = 0; + var myURL = document.URL; + if (myURL.match(/\?fast/)) { skipIndex = 1; - } + } - // process the document before anything else is done - // first get the properties - Array.prototype.slice - .call(document.querySelectorAll('pdef, sdef')) + // process the document before anything else is done + // first get the properties + Array.prototype.slice + .call(document.querySelectorAll("pdef, sdef")) .forEach(function (item) { - var type = item.localName === 'pdef' ? 'property' : 'state'; - var container = item.parentNode; - var content = item.innerHTML; - var sp = document.createElement('span'); - var title = item.getAttribute('title'); - if (!title) { - title = content; - } - sp.className = type + '-name'; - sp.title = title; - sp.innerHTML = - '' + - content + - ' ' + - type + - ''; - sp.setAttribute('aria-describedby', 'desc-' + title); - var dRef = item.nextElementSibling; - var desc = cloneWithoutIds(dRef.firstElementChild).innerHTML; - dRef.id = 'desc-' + title; - dRef.setAttribute('role', 'definition'); - var heading = document.createElement('h4'); - heading.appendChild(sp); - container.replaceChild(heading, item); - // add this item to the index - propList[title] = { - is: type, - title: title, - name: content, - desc: desc, - roles: [], - }; - var abstract = container.querySelector('.' + type + '-applicability'); - if ( - (abstract.textContent || abstract.innerText) === - 'All elements of the base markup' - ) { - globalSP.push({ - is: type, - title: title, - name: content, - desc: desc, - prohibited: false, - deprecated: false, - }); - } else if ( - (abstract.textContent || abstract.innerText) === - 'All elements of the base markup except for some roles or elements that prohibit its use' - ) { - globalSP.push({ - is: type, - title: title, - name: content, - desc: desc, - prohibited: true, - deprecated: false, - }); - } else if ( - (abstract.textContent || abstract.innerText) === - 'Use as a global deprecated in ARIA 1.2' - ) { - globalSP.push({ - is: type, - title: title, - name: content, - desc: desc, - prohibited: false, - deprecated: true, - }); - } - // the rdef is gone. if we are in a div, convert that div to a section + var type = item.localName === "pdef" ? "property" : "state"; + var container = item.parentNode; + var content = item.innerHTML; + var sp = document.createElement("span"); + var title = item.getAttribute("title"); + if (!title) { + title = content; + } + sp.className = type + "-name"; + sp.title = title; + sp.innerHTML = + "" + + content + + ' ' + + type + + ""; + sp.setAttribute("aria-describedby", "desc-" + title); + var dRef = item.nextElementSibling; + var desc = cloneWithoutIds(dRef.firstElementChild).innerHTML; + dRef.id = "desc-" + title; + dRef.setAttribute("role", "definition"); + var heading = document.createElement("h4"); + heading.appendChild(sp); + container.replaceChild(heading, item); + // add this item to the index + propList[title] = { + is: type, + title: title, + name: content, + desc: desc, + roles: [], + }; + var abstract = container.querySelector( + "." + type + "-applicability" + ); + if ( + (abstract.textContent || abstract.innerText) === + "All elements of the base markup" + ) { + globalSP.push({ + is: type, + title: title, + name: content, + desc: desc, + prohibited: false, + deprecated: false, + }); + } else if ( + (abstract.textContent || abstract.innerText) === + "All elements of the base markup except for some roles or elements that prohibit its use" + ) { + globalSP.push({ + is: type, + title: title, + name: content, + desc: desc, + prohibited: true, + deprecated: false, + }); + } else if ( + (abstract.textContent || abstract.innerText) === + "Use as a global deprecated in ARIA 1.2" + ) { + globalSP.push({ + is: type, + title: title, + name: content, + desc: desc, + prohibited: false, + deprecated: true, + }); + } + // the rdef is gone. if we are in a div, convert that div to a section - if (container.nodeName.toLowerCase() == 'div') { - // change the enclosing DIV to a section with notoc - var sec = document.createElement('section'); - Array.prototype.slice - .call(container.attributes) - .forEach(function (attr) { - sec.setAttribute(attr.name, attr.value); - }); - sec.classList.add('notoc'); - var theContents = container.innerHTML; - sec.innerHTML = theContents; - container.parentNode.replaceChild(sec, container); - } + if (container.nodeName.toLowerCase() == "div") { + // change the enclosing DIV to a section with notoc + var sec = document.createElement("section"); + Array.prototype.slice + .call(container.attributes) + .forEach(function (attr) { + sec.setAttribute(attr.name, attr.value); + }); + sec.classList.add("notoc"); + var theContents = container.innerHTML; + sec.innerHTML = theContents; + container.parentNode.replaceChild(sec, container); + } }); - if (!skipIndex) { + if (!skipIndex) { // we have all the properties and states - spit out the // index - var propIndex = ''; + var propIndex = ""; var sortedList = []; Object.keys(propList).forEach(function (key) { - sortedList.push(key); + sortedList.push(key); }); sortedList = sortedList.sort(); for (var i = 0; i < sortedList.length; i++) { - var item = propList[sortedList[i]]; - propIndex += - '
' + - item.name + - '
\n'; - propIndex += '
' + item.desc + '
\n'; + var item = propList[sortedList[i]]; + propIndex += + '
' + + item.name + + "
\n"; + propIndex += "
" + item.desc + "
\n"; } - var node = document.getElementById('index_state_prop'); + var node = document.getElementById("index_state_prop"); var parentNode = node.parentNode; - var l = document.createElement('dl'); - l.id = 'index_state_prop'; - l.className = 'compact'; + var l = document.createElement("dl"); + l.id = "index_state_prop"; + l.className = "compact"; l.innerHTML = propIndex; parentNode.replaceChild(l, node); - var globalSPIndex = ''; + var globalSPIndex = ""; sortedList = globalSP.sort(function (a, b) { - return a.name < b.name ? -1 : a.name > b.name ? 1 : 0; + return a.name < b.name ? -1 : a.name > b.name ? 1 : 0; }); for (i = 0; i < sortedList.length; i++) { - var lItem = sortedList[i]; - globalSPIndex += '
  • '; - if (lItem.is === 'state') { - globalSPIndex += - '' + - lItem.name + - ' (state)'; - } else { - globalSPIndex += - '' + - lItem.name + - ''; - } - if (lItem.prohibited) { - globalSPIndex += ' (Except where prohibited)'; - } - if (lItem.deprecated) { - globalSPIndex += ' (Global use deprecated in ARIA 1.2)'; - } - globalSPIndex += '
  • \n'; + var lItem = sortedList[i]; + globalSPIndex += "
  • "; + if (lItem.is === "state") { + globalSPIndex += + "' + + lItem.name + + " (state)"; + } else { + globalSPIndex += + "" + + lItem.name + + ""; + } + if (lItem.prohibited) { + globalSPIndex += " (Except where prohibited)"; + } + if (lItem.deprecated) { + globalSPIndex += " (Global use deprecated in ARIA 1.2)"; + } + globalSPIndex += "
  • \n"; } - parentNode = document.querySelector('#global_states'); + parentNode = document.querySelector("#global_states"); if (parentNode) { - node = parentNode.querySelector('.placeholder'); - if (node) { - l = document.createElement('ul'); - l.innerHTML = globalSPIndex; - parentNode.replaceChild(l, node); - } + node = parentNode.querySelector(".placeholder"); + if (node) { + l = document.createElement("ul"); + l.innerHTML = globalSPIndex; + parentNode.replaceChild(l, node); + } } // there is only one role that uses the global properties parentNode = document.querySelector( - '#roletype td.role-properties span.placeholder' + "#roletype td.role-properties span.placeholder" ); if (parentNode) { - node = parentNode.parentNode; - if ( - (parentNode.textContent || parentNode.innerText) === - 'Placeholder for global states and properties' - ) { - l = document.createElement('ul'); - l.innerHTML = globalSPIndex; - node.replaceChild(l, parentNode); - } + node = parentNode.parentNode; + if ( + (parentNode.textContent || parentNode.innerText) === + "Placeholder for global states and properties" + ) { + l = document.createElement("ul"); + l.innerHTML = globalSPIndex; + node.replaceChild(l, parentNode); + } } - } - - // what about roles? - // - // we need to do a few things here: - // 1. expand the rdef elements. - // 2. accumulate the roles into a table for the indices - // 3. grab the parent role reference so we can build up the tree - // 4. grab any local states and properties so we can hand those down to the children - // - - var subRoles = []; - var roleIndex = ''; - var fromAuthor = ''; - var fromHeading = ""; - var fromContent = ''; - var fromProhibited = ''; - - Array.prototype.slice - .call(document.querySelectorAll('rdef')) + } + + // what about roles? + // + // we need to do a few things here: + // 1. expand the rdef elements. + // 2. accumulate the roles into a table for the indices + // 3. grab the parent role reference so we can build up the tree + // 4. grab any local states and properties so we can hand those down to the children + // + + var subRoles = []; + var roleIndex = ""; + var fromAuthor = ""; + var fromHeading = ""; + var fromContent = ""; + var fromProhibited = ""; + + Array.prototype.slice + .call(document.querySelectorAll("rdef")) .forEach(function (item) { - var container = item.parentNode; - var content = item.innerHTML; - var sp = document.createElement('h4'); - var title = item.getAttribute('title'); - if (!title) { - title = content; - } - - var pnID = title; - container.id = pnID; - sp.className = 'role-name'; - sp.title = title; - // is this a role or an abstract role - var type = 'role'; - var isAbstract = false; - var abstract = container.querySelectorAll('.role-abstract'); - if (abstract.innerText === 'True') { - type = 'abstract role'; - isAbstract = true; - } - sp.innerHTML = - '' + - content + - ' ' + - type + - ''; - // sp.id = title; - sp.setAttribute('aria-describedby', 'desc-' + title); - var dRef = item.nextElementSibling; - var desc = cloneWithoutIds(dRef.firstElementChild).innerHTML; - dRef.id = 'desc-' + title; - dRef.setAttribute('role', 'definition'); - container.replaceChild(sp, item); - roleIndex += - '
    ' + - content + - '' + - (isAbstract ? ' (abstract role) ' : '') + - '
    \n'; - roleIndex += '
    ' + desc + '
    \n'; - // grab info about this role - // do we have a parent class? if so, put us in that parents list - var node = Array.prototype.slice.call( - container.querySelectorAll('.role-parent rref') - ); - // s will hold the name of the parent role if any - var s = null; - var parentRoles = []; - if (node.length) { - node.forEach(function (roleref) { - s = roleref.textContent || roleref.innerText; - - if (!subRoles[s]) { - subRoles.push(s); - subRoles[s] = []; - } - subRoles[s].push(title); - parentRoles.push(s); - }); - } - // are there supported states / properties in this role? - var attrs = []; - Array.prototype.slice - .call( - container.querySelectorAll( - '.role-properties, .role-required-properties, .role-disallowed' - ) - ) - .forEach(function (node) { - if ( - node && - ((node.textContent && node.textContent.length !== 1) || - (node.innerText && node.innerText.length !== 1)) - ) { - // looks like we do - Array.prototype.slice - .call(node.querySelectorAll('pref,sref')) - .forEach(function (item) { - var name = item.getAttribute('title'); - if (!name) { - name = item.textContent || item.innerText; - } - var type = item.localName === 'pref' ? 'property' : 'state'; - var req = node.classList.contains( - 'role-required-properties' - ); - var dis = node.classList.contains('role-disallowed'); - var dep = item.hasAttribute('data-deprecated'); - attrs.push({ - is: type, - name: name, - required: req, - disallowed: dis, - deprecated: dep, - }); + var container = item.parentNode; + var content = item.innerHTML; + var sp = document.createElement("h4"); + var title = item.getAttribute("title"); + if (!title) { + title = content; + } - // remember that the state or property is - // referenced by this role - propList[name].roles.push(title); - }); - } - }); - roleInfo[title] = { - name: title, - fragID: pnID, - parentRoles: parentRoles, - localprops: attrs, - }; - - // is there a namefrom indication? If so, add this one to - // the list - if (!isAbstract) { + var pnID = title; + container.id = pnID; + sp.className = "role-name"; + sp.title = title; + // is this a role or an abstract role + var type = "role"; + var isAbstract = false; + var abstract = container.querySelectorAll(".role-abstract"); + if (abstract.innerText === "True") { + type = "abstract role"; + isAbstract = true; + } + sp.innerHTML = + "" + + content + + ' ' + + type + + ""; + // sp.id = title; + sp.setAttribute("aria-describedby", "desc-" + title); + var dRef = item.nextElementSibling; + var desc = cloneWithoutIds(dRef.firstElementChild).innerHTML; + dRef.id = "desc-" + title; + dRef.setAttribute("role", "definition"); + container.replaceChild(sp, item); + roleIndex += + '
    ' + + content + + "" + + (isAbstract ? " (abstract role) " : "") + + "
    \n"; + roleIndex += "
    " + desc + "
    \n"; + // grab info about this role + // do we have a parent class? if so, put us in that parents list + var node = Array.prototype.slice.call( + container.querySelectorAll(".role-parent rref") + ); + // s will hold the name of the parent role if any + var s = null; + var parentRoles = []; + if (node.length) { + node.forEach(function (roleref) { + s = roleref.textContent || roleref.innerText; + + if (!subRoles[s]) { + subRoles.push(s); + subRoles[s] = []; + } + subRoles[s].push(title); + parentRoles.push(s); + }); + } + // are there supported states / properties in this role? + var attrs = []; Array.prototype.slice - .call(container.querySelectorAll('.role-namefrom')) - .forEach(function (node) { - var reqRef = container.querySelector('.role-namerequired'); - var req = ''; - if (reqRef && reqRef.innerText === 'True') { - req = ' (name required)'; - } + .call( + container.querySelectorAll( + ".role-properties, .role-required-properties, .role-disallowed" + ) + ) + .forEach(function (node) { + if ( + node && + ((node.textContent && node.textContent.length !== 1) || + (node.innerText && node.innerText.length !== 1)) + ) { + // looks like we do + Array.prototype.slice + .call(node.querySelectorAll("pref,sref")) + .forEach(function (item) { + var name = item.getAttribute("title"); + if (!name) { + name = item.textContent || item.innerText; + } + var type = + item.localName === "pref" + ? "property" + : "state"; + var req = node.classList.contains( + "role-required-properties" + ); + var dis = + node.classList.contains("role-disallowed"); + var dep = item.hasAttribute("data-deprecated"); + attrs.push({ + is: type, + name: name, + required: req, + disallowed: dis, + deprecated: dep, + }); + + // remember that the state or property is + // referenced by this role + propList[name].roles.push(title); + }); + } + }); + roleInfo[title] = { + name: title, + fragID: pnID, + parentRoles: parentRoles, + localprops: attrs, + }; + + // is there a namefrom indication? If so, add this one to + // the list + if (!isAbstract) { + Array.prototype.slice + .call(container.querySelectorAll(".role-namefrom")) + .forEach(function (node) { + var reqRef = + container.querySelector(".role-namerequired"); + var req = ""; + if (reqRef && reqRef.innerText === "True") { + req = " (name required)"; + } + + if (node.textContent.indexOf("author") !== -1) { + fromAuthor += + '
  • ' + + content + + "" + + req + + "
  • "; + } + if (node.textContent.indexOf("heading") !== -1) { + fromHeading += + '
  • ' + + content + + "" + + req + + "
  • "; + } + if ( + !isAbstract && + node.textContent.indexOf("content") !== -1 + ) { + fromContent += + '
  • ' + + content + + "" + + req + + "
  • "; + } + if (node.textContent.indexOf("prohibited") !== -1) { + fromProhibited += + '
  • ' + + content + + "" + + req + + "
  • "; + } + }); + } + if (container.nodeName.toLowerCase() == "div") { + // change the enclosing DIV to a section with notoc + var sec = document.createElement("section"); + Array.prototype.slice + .call(container.attributes) + .forEach(function (attr) { + sec.setAttribute(attr.name, attr.value); + }); - if (node.textContent.indexOf('author') !== -1) { - fromAuthor += - '
  • ' + - content + - '' + - req + - '
  • '; - } - if (node.textContent.indexOf('heading') !== -1) { - fromHeading += - '
  • ' + - content + - '' + - req + - '
  • '; - } - if (!isAbstract && node.textContent.indexOf('content') !== -1) { - fromContent += - '
  • ' + - content + - '' + - req + - '
  • '; - } - if (node.textContent.indexOf('prohibited') !== -1) { - fromProhibited += - '
  • ' + - content + - '' + - req + - '
  • '; - } - }); - } - if (container.nodeName.toLowerCase() == 'div') { - // change the enclosing DIV to a section with notoc - var sec = document.createElement('section'); - Array.prototype.slice - .call(container.attributes) - .forEach(function (attr) { - sec.setAttribute(attr.name, attr.value); - }); - - sec.classList.add('notoc'); - var theContents = container.innerHTML; - sec.innerHTML = theContents; - container.parentNode.replaceChild(sec, container); - } + sec.classList.add("notoc"); + var theContents = container.innerHTML; + sec.innerHTML = theContents; + container.parentNode.replaceChild(sec, container); + } }); - var getStates = function (role) { + var getStates = function (role) { var ref = roleInfo[role]; if (!ref) { - msg.pub('error', 'No role definition for ' + role); + msg.pub("error", "No role definition for " + role); } else if (ref.allprops) { - return ref.allprops; + return ref.allprops; } else { - var myList = ref.localprops; - Array.prototype.slice.call(ref.parentRoles).forEach(function (item) { - var pList = getStates(item); - myList = myList.concat(pList); - }); - ref.allprops = myList; - return myList; + var myList = ref.localprops; + Array.prototype.slice + .call(ref.parentRoles) + .forEach(function (item) { + var pList = getStates(item); + myList = myList.concat(pList); + }); + ref.allprops = myList; + return myList; } - }; + }; - // TODO: test this on a page where `skipIndex` is truthy - if (!skipIndex) { + // TODO: test this on a page where `skipIndex` is truthy + if (!skipIndex) { // build up the complete inherited SP lists for each role // however, if the role already specifies an item, do not include it Object.entries(roleInfo).forEach(function (index) { - var item = index[1]; - var output = ''; - var placeholder = document.querySelector( - '#' + item.fragID + ' .role-inherited' - ); - - if (placeholder) { - var myList = []; - item.parentRoles.forEach(function (role) { - myList = myList.concat(getStates(role)); - }); - /* jshint loopfunc: true */ - // strip out any items that we have locally - if (item.localprops.length && myList.length) { - for (var j = myList.length - 1; j >= 0; j--) { - item.localprops.forEach(function (x) { - if (x.name == myList[j].name) { - myList.splice(j, 1); - } + var item = index[1]; + var output = ""; + var placeholder = document.querySelector( + "#" + item.fragID + " .role-inherited" + ); + + if (placeholder) { + var myList = []; + item.parentRoles.forEach(function (role) { + myList = myList.concat(getStates(role)); }); - } - } + // strip out any items that we have locally + if (item.localprops.length && myList.length) { + for (var j = myList.length - 1; j >= 0; j--) { + item.localprops.forEach(function (x) { + if (x.name == myList[j].name) { + myList.splice(j, 1); + } + }); + } + } - var reducedList = myList.reduce((uniqueList, item) => { - return uniqueList.includes(item) - ? uniqueList - : [...uniqueList, item]; - }, []); - - var sortedList = reducedList.sort((a, b) => { - if (a.name == b.name) { - // Ensure deprecated false properties occur first - if (a.deprecated !== b.deprecated) { - return a.deprecated ? 1 : b.deprecated ? -1 : 0; + var reducedList = myList.reduce((uniqueList, item) => { + return uniqueList.includes(item) + ? uniqueList + : [...uniqueList, item]; + }, []); + + var sortedList = reducedList.sort((a, b) => { + if (a.name == b.name) { + // Ensure deprecated false properties occur first + if (a.deprecated !== b.deprecated) { + return a.deprecated ? 1 : b.deprecated ? -1 : 0; + } + } + return a.name < b.name ? -1 : a.name > b.name ? 1 : 0; + }, []); + + var prev; + for (var k = 0; k < sortedList.length; k++) { + var property = sortedList[k]; + var req = ""; + var dep = ""; + if (property.required) { + req = " (required)"; + } + if (property.deprecated) { + dep = + " (deprecated on this role in ARIA 1.2)"; + } + if (prev != property.name) { + output += "
  • "; + if (property.is === "state") { + output += + "" + + property.name + + " (state)" + + req + + dep; + } else { + output += + "" + + property.name + + "" + + req + + dep; + } + output += "
  • \n"; + prev = property.name; + } } - } - return a.name < b.name ? -1 : a.name > b.name ? 1 : 0; - }, []); - - var prev; - for (var k = 0; k < sortedList.length; k++) { - var property = sortedList[k]; - var req = ''; - var dep = ''; - if (property.required) { - req = ' (required)'; - } - if (property.deprecated) { - dep = ' (deprecated on this role in ARIA 1.2)'; - } - if (prev != property.name) { - output += '
  • '; - if (property.is === 'state') { - output += - '' + property.name + ' (state)' + req + dep; - } else { - output += '' + property.name + '' + req + dep; + if (output !== "") { + output = "\n"; + placeholder.innerHTML = output; } - output += '
  • \n'; - prev = property.name; - } - } - if (output !== '') { - output = '\n'; - placeholder.innerHTML = output; } - } }); // Update state and property role references var getAllSubRoles = function (role) { - var ref = subRoles[role]; - if (ref && ref.length) { - var myList = []; - ref.forEach(function (item) { - if (!myList.item) { - myList[item] = 1; - myList.push(item); - var childList = getAllSubRoles(item); - myList = myList.concat(childList); - } - }); - return myList; - } else { - return []; - } + var ref = subRoles[role]; + if (ref && ref.length) { + var myList = []; + ref.forEach(function (item) { + if (!myList.item) { + myList[item] = 1; + myList.push(item); + var childList = getAllSubRoles(item); + myList = myList.concat(childList); + } + }); + return myList; + } else { + return []; + } }; Object.entries(propList).forEach(function (index) { - var output = ''; - var item = index[1]; - var section = document.querySelector('#' + item.name); - var placeholder = section.querySelector( - '.state-applicability, .property-applicability' - ); - if ( - placeholder && - (placeholder.textContent || placeholder.innerText) === - 'Placeholder' && - item.roles.length - ) { - // update the used in roles list - var sortedList = []; - sortedList = item.roles.sort(); - for (var j = 0; j < sortedList.length; j++) { - output += '
  • ' + sortedList[j] + '
  • \n'; - } - if (output !== '') { - output = '\n'; - } - placeholder.innerHTML = output; - // also update any inherited roles - var myList = []; - item.roles.forEach(function (role) { - var children = getAllSubRoles(role); - // Some subroles have required properties which are also required by the superclass. - // Example: The checked state of radio, which is also required by superclass checkbox. - // We only want to include these one time, so filter out the subroles. - children = children.filter(function (subrole) { - return subrole.indexOf(propList[item.name].roles) === -1; - }); - myList = myList.concat(children); - }); - placeholder = section.querySelector( - '.state-descendants, .property-descendants' + var output = ""; + var item = index[1]; + var section = document.querySelector("#" + item.name); + var placeholder = section.querySelector( + ".state-applicability, .property-applicability" ); - if (placeholder && myList.length) { - sortedList = myList.sort(); - output = ''; - var last = ''; - for (j = 0; j < sortedList.length; j++) { - var sItem = sortedList[j]; - if (last != sItem) { - output += '
  • ' + sItem + '
  • \n'; - last = sItem; + if ( + placeholder && + (placeholder.textContent || placeholder.innerText) === + "Placeholder" && + item.roles.length + ) { + // update the used in roles list + var sortedList = []; + sortedList = item.roles.sort(); + for (var j = 0; j < sortedList.length; j++) { + output += "
  • " + sortedList[j] + "
  • \n"; + } + if (output !== "") { + output = "\n"; + } + placeholder.innerHTML = output; + // also update any inherited roles + var myList = []; + item.roles.forEach(function (role) { + var children = getAllSubRoles(role); + // Some subroles have required properties which are also required by the superclass. + // Example: The checked state of radio, which is also required by superclass checkbox. + // We only want to include these one time, so filter out the subroles. + children = children.filter(function (subrole) { + return ( + subrole.indexOf(propList[item.name].roles) === -1 + ); + }); + myList = myList.concat(children); + }); + placeholder = section.querySelector( + ".state-descendants, .property-descendants" + ); + if (placeholder && myList.length) { + sortedList = myList.sort(); + output = ""; + var last = ""; + for (j = 0; j < sortedList.length; j++) { + var sItem = sortedList[j]; + if (last != sItem) { + output += "
  • " + sItem + "
  • \n"; + last = sItem; + } + } + if (output !== "") { + output = "\n"; + } + placeholder.innerHTML = output; + } + } else if ( + placeholder && + (placeholder.textContent || placeholder.innerText) === + "Use as a global deprecated in ARIA 1.2" && + item.roles.length + ) { + // update the used in roles list + var sortedList = []; + sortedList = item.roles.sort(); + //remove roletype from the sorted list + const index = sortedList.indexOf("roletype"); + if (index > -1) { + sortedList.splice(index, 1); } - } - if (output !== '') { - output = '\n'; - } - placeholder.innerHTML = output; - } - } else if ( - placeholder && - (placeholder.textContent || placeholder.innerText) === - 'Use as a global deprecated in ARIA 1.2' && - item.roles.length - ) { - // update the used in roles list - var sortedList = []; - sortedList = item.roles.sort(); - //remove roletype from the sorted list - const index = sortedList.indexOf('roletype'); - if (index > -1) { - sortedList.splice(index, 1); - } - for (var j = 0; j < sortedList.length; j++) { - output += '
  • ' + sortedList[j] + '
  • \n'; - } - if (output !== '') { - output = '\n'; - } - placeholder.innerHTML = output; - // also update any inherited roles - var myList = []; - item.roles.forEach(function (role) { - var children = getAllSubRoles(role); - // Some subroles have required properties which are also required by the superclass. - // Example: The checked state of radio, which is also required by superclass checkbox. - // We only want to include these one time, so filter out the subroles. - children = children.filter(function (subrole) { - return subrole.indexOf(propList[item.name].roles) === -1; - }); - myList = myList.concat(children); - }); - placeholder = section.querySelector( - '.state-descendants, .property-descendants' - ); - if (placeholder && myList.length) { - sortedList = myList.sort(); - output = ''; - var last = ''; - for (j = 0; j < sortedList.length; j++) { - var sItem = sortedList[j]; - if (last != sItem) { - output += '
  • ' + sItem + '
  • \n'; - last = sItem; + for (var j = 0; j < sortedList.length; j++) { + output += "
  • " + sortedList[j] + "
  • \n"; } - } - if (output !== '') { - output = '\n'; - } - placeholder.innerHTML = output; - } - } - else if ( - placeholder && - (placeholder.textContent || placeholder.innerText) === - 'All elements of the base markup except for some roles or elements that prohibit its use' && - item.roles.length - ) { - // for prohibited roles the roles list just includes those roles which are prohibited... weird I know but it is what it is - var sortedList = []; - sortedList = item.roles.sort(); - //remove roletype from the sorted list - const index = sortedList.indexOf('roletype'); - if (index > -1) { - sortedList.splice(index, 1); - } - output += 'All elements of the base markup except for the following roles: '; - for (var j = 0; j < sortedList.length-1; j++) { - output += '' + sortedList[j] + ', '; + if (output !== "") { + output = "\n"; + } + placeholder.innerHTML = output; + // also update any inherited roles + var myList = []; + item.roles.forEach(function (role) { + var children = getAllSubRoles(role); + // Some subroles have required properties which are also required by the superclass. + // Example: The checked state of radio, which is also required by superclass checkbox. + // We only want to include these one time, so filter out the subroles. + children = children.filter(function (subrole) { + return ( + subrole.indexOf(propList[item.name].roles) === -1 + ); + }); + myList = myList.concat(children); + }); + placeholder = section.querySelector( + ".state-descendants, .property-descendants" + ); + if (placeholder && myList.length) { + sortedList = myList.sort(); + output = ""; + var last = ""; + for (j = 0; j < sortedList.length; j++) { + var sItem = sortedList[j]; + if (last != sItem) { + output += "
  • " + sItem + "
  • \n"; + last = sItem; + } + } + if (output !== "") { + output = "\n"; + } + placeholder.innerHTML = output; + } + } else if ( + placeholder && + (placeholder.textContent || placeholder.innerText) === + "All elements of the base markup except for some roles or elements that prohibit its use" && + item.roles.length + ) { + // for prohibited roles the roles list just includes those roles which are prohibited... weird I know but it is what it is + var sortedList = []; + sortedList = item.roles.sort(); + //remove roletype from the sorted list + const index = sortedList.indexOf("roletype"); + if (index > -1) { + sortedList.splice(index, 1); + } + output += + "All elements of the base markup except for the following roles: "; + for (var j = 0; j < sortedList.length - 1; j++) { + output += "" + sortedList[j] + ", "; + } + output += + "" + sortedList[sortedList.length - 1] + ""; + placeholder.innerHTML = output; } - output += '' + sortedList[sortedList.length-1] + ''; - placeholder.innerHTML = output; - } }); // spit out the index - var node = document.getElementById('index_role'); + var node = document.getElementById("index_role"); var parentNode = node.parentNode; - var list = document.createElement('dl'); - list.id = 'index_role'; - list.className = 'compact'; + var list = document.createElement("dl"); + list.id = "index_role"; + list.className = "compact"; list.innerHTML = roleIndex; parentNode.replaceChild(list, node); // and the namefrom lists - node = document.getElementById('index_fromauthor'); + node = document.getElementById("index_fromauthor"); if (node) { - parentNode = node.parentNode; - list = document.createElement('ul'); - list.id = 'index_fromauthor'; - list.className = 'compact'; - list.innerHTML = fromAuthor; - parentNode.replaceChild(list, node); + parentNode = node.parentNode; + list = document.createElement("ul"); + list.id = "index_fromauthor"; + list.className = "compact"; + list.innerHTML = fromAuthor; + parentNode.replaceChild(list, node); } - node = document.getElementById('index_fromheading'); + node = document.getElementById("index_fromheading"); if (node) { - parentNode = node.parentNode; - list = document.createElement('ul'); - list.id = 'index_fromheading'; - list.className = 'compact'; - list.innerHTML = fromHeading; - parentNode.replaceChild(list, node); + parentNode = node.parentNode; + list = document.createElement("ul"); + list.id = "index_fromheading"; + list.className = "compact"; + list.innerHTML = fromHeading; + parentNode.replaceChild(list, node); } - node = document.getElementById('index_fromcontent'); + node = document.getElementById("index_fromcontent"); if (node) { - parentNode = node.parentNode; - list = document.createElement('ul'); - list.id = 'index_fromcontent'; - list.className = 'compact'; - list.innerHTML = fromContent; - parentNode.replaceChild(list, node); + parentNode = node.parentNode; + list = document.createElement("ul"); + list.id = "index_fromcontent"; + list.className = "compact"; + list.innerHTML = fromContent; + parentNode.replaceChild(list, node); } - node = document.getElementById('index_fromprohibited'); + node = document.getElementById("index_fromprohibited"); if (node) { - parentNode = node.parentNode; - list = document.createElement('ul'); - list.id = 'index_fromprohibited'; - list.className = 'compact'; - list.innerHTML = fromProhibited; - parentNode.replaceChild(list, node); + parentNode = node.parentNode; + list = document.createElement("ul"); + list.id = "index_fromprohibited"; + list.className = "compact"; + list.innerHTML = fromProhibited; + parentNode.replaceChild(list, node); } // assuming we found some parent roles, update those parents with their children for (var i = 0; i < subRoles.length; i++) { - var item = subRoles[subRoles[i]]; - var sortedList = item.sort(function (a, b) { - return a < b ? -1 : a > b ? 1 : 0; - }); - var output = '\n'; - // put it somewhere - var subRolesContainer = document.querySelector('#' + subRoles[i]); - if (subRolesContainer) { - var subRolesListContainer = subRolesContainer.querySelector( - '.role-children' - ); - if (subRolesListContainer) { - subRolesListContainer.innerHTML = output; + var item = subRoles[subRoles[i]]; + var sortedList = item.sort(function (a, b) { + return a < b ? -1 : a > b ? 1 : 0; + }); + var output = "\n"; + // put it somewhere + var subRolesContainer = document.querySelector("#" + subRoles[i]); + if (subRolesContainer) { + var subRolesListContainer = + subRolesContainer.querySelector(".role-children"); + if (subRolesListContainer) { + subRolesListContainer.innerHTML = output; + } } - } } - } + } - // prune out unused rows throughout the document - Array.prototype.slice + // prune out unused rows throughout the document + Array.prototype.slice .call( - document.querySelectorAll( - '.role-abstract, .role-parent, .role-base, .role-related, .role-scope, .role-mustcontain, .role-required-properties, .role-properties, .role-namefrom, .role-namerequired, .role-namerequired-inherited, .role-childpresentational, .role-presentational-inherited, .state-related, .property-related,.role-inherited, .role-children, .property-descendants, .state-descendants, .implicit-values' - ) + document.querySelectorAll( + ".role-abstract, .role-parent, .role-base, .role-related, .role-scope, .role-mustcontain, .role-required-properties, .role-properties, .role-namefrom, .role-namerequired, .role-namerequired-inherited, .role-childpresentational, .role-presentational-inherited, .state-related, .property-related,.role-inherited, .role-children, .property-descendants, .state-descendants, .implicit-values" + ) ) .forEach(function (item) { - var content = item.innerText; - if (content.length === 1 || content.length === 0) { - // there is no item - remove the row - item.parentNode.parentNode.removeChild(item.parentNode); - } else if ( - content === 'Placeholder' && - !skipIndex && - (item.className === 'role-inherited' || - item.className === 'role-children' || - item.className === 'property-descendants' || - item.className === 'state-descendants') - ) { - item.parentNode.remove(); - } + var content = item.innerText; + if (content.length === 1 || content.length === 0) { + // there is no item - remove the row + item.parentNode.parentNode.removeChild(item.parentNode); + } else if ( + content === "Placeholder" && + !skipIndex && + (item.className === "role-inherited" || + item.className === "role-children" || + item.className === "property-descendants" || + item.className === "state-descendants") + ) { + item.parentNode.remove(); + } }); - updateReferences(document); + updateReferences(document); - function cloneWithoutIds(node) { + function cloneWithoutIds(node) { const clone = node.cloneNode(true); for (const elementWithId of clone.querySelectorAll("[id]")) { - elementWithId.removeAttribute("id"); + elementWithId.removeAttribute("id"); } return clone; - } - } - -require(['core/pubsubhub'], function (respecEvents) { - const button = respecUI.addCommand( - 'Save roles as JSON', - showAriaSave, - null, - '☁️' - ); - - function showAriaSave() { - const json = JSON.stringify(roleInfo, null, ' '); - const href = "data:text/html;charset=utf-8," + "/* This file is generated - do not modify */\nvar roleInfo = " + encodeURIComponent(json); - const ariaUI = document.createElement('div'); - ariaUI.classList.add('respec-save-buttons'); - ariaUI.innerHTML = ` + } +} + +require(["core/pubsubhub"], function (respecEvents) { + const button = respecUI.addCommand( + "Save roles as JSON", + showAriaSave, + null, + "☁️" + ); + + function showAriaSave() { + const json = JSON.stringify(roleInfo, null, " "); + const href = + "data:text/html;charset=utf-8," + + "/* This file is generated - do not modify */\nvar roleInfo = " + + encodeURIComponent(json); + const ariaUI = document.createElement("div"); + ariaUI.classList.add("respec-save-buttons"); + ariaUI.innerHTML = ` Save JSON `; - respecUI.freshModal('Save Aria roles as JSON', ariaUI, button); - ariaUI.querySelector('a').focus(); - } - respecEvents.sub('end', function (msg) { - if (msg == 'w3c/conformance') { - ariaAttributeReferences(); + respecUI.freshModal("Save Aria roles as JSON", ariaUI, button); + ariaUI.querySelector("a").focus(); } - }); + respecEvents.sub("end", function (msg) { + if (msg == "w3c/conformance") { + ariaAttributeReferences(); + } + }); }); - diff --git a/common/script/ariaChild.js b/common/script/ariaChild.js index 37e817a39e..aae9b7bb39 100644 --- a/common/script/ariaChild.js +++ b/common/script/ariaChild.js @@ -3,8 +3,6 @@ // same directory that contains the roleInfo data structure. // -/* jshint laxbreak:true, laxcomma:true, asi: true, eqeqeq: false, strict: implied, jquery: true */ -/* global require, roleInfo, updateReferences */ var localRoleInfo = {}; // NOTE: this was taken from https://github.com/w3c/respec/blob/develop/src/core/utils.js @@ -17,498 +15,526 @@ var localRoleInfo = {}; * @param {Boolean} noLC do not convert to lowercase * @returns {String} generated (or existing) id for element */ - function addId(elem, pfx = "", txt = "", noLC = false) { - if (elem.id) { - return elem.id; - } - if (!txt) { - txt = (elem.title ? elem.title : elem.textContent).trim(); - } - let id = noLC ? txt : txt.toLowerCase(); - id = id - .trim() - .normalize("NFD") - .replace(/[\u0300-\u036f]/g, "") - .replace(/\W+/gim, "-") - .replace(/^-+/, "") - .replace(/-+$/, ""); +function addId(elem, pfx = "", txt = "", noLC = false) { + if (elem.id) { + return elem.id; + } + if (!txt) { + txt = (elem.title ? elem.title : elem.textContent).trim(); + } + let id = noLC ? txt : txt.toLowerCase(); + id = id + .trim() + .normalize("NFD") + .replace(/[\u0300-\u036f]/g, "") + .replace(/\W+/gim, "-") + .replace(/^-+/, "") + .replace(/-+$/, ""); - if (!id) { - id = "generatedID"; - } else if (/\.$/.test(id) || !/^[a-z]/i.test(pfx || id)) { - id = `x${id}`; // trailing . doesn't play well with jQuery - } - if (pfx) { - id = `${pfx}-${id}`; - } - if (elem.ownerDocument.getElementById(id)) { - let i = 0; - let nextId = `${id}-${i}`; - while (elem.ownerDocument.getElementById(nextId)) { - i += 1; - nextId = `${id}-${i}`; + if (!id) { + id = "generatedID"; + } else if (/\.$/.test(id) || !/^[a-z]/i.test(pfx || id)) { + id = `x${id}`; // trailing . doesn't play well with jQuery + } + if (pfx) { + id = `${pfx}-${id}`; + } + if (elem.ownerDocument.getElementById(id)) { + let i = 0; + let nextId = `${id}-${i}`; + while (elem.ownerDocument.getElementById(nextId)) { + i += 1; + nextId = `${id}-${i}`; + } + id = nextId; } - id = nextId; - } - elem.id = id; - return id; + elem.id = id; + return id; } function ariaAttributeReferences() { - { - var propList = {}; - var globalSP = []; - - var skipIndex = 0; - var myURL = document.URL; - if (myURL.match(/\?fast/)) { - skipIndex = 1; - } + { + var propList = {}; + var globalSP = []; - // process the document before anything else is done - // first get the properties - Array.prototype.slice - .call(document.querySelectorAll('pdef, sdef')) - .forEach(function (item) { - var type = item.localName === 'pdef' ? 'property' : 'state'; - var container = item.parentNode; - var content = item.innerHTML; - var sp = document.createElement('span'); - var title = item.getAttribute('title'); - if (!title) { - title = content; - } - sp.className = type + '-name'; - sp.title = title; - sp.innerHTML = - '' + - content + - ' (' + - type + - ')'; - sp.setAttribute('aria-describedby', 'desc-' + title); - var dRef = item.nextElementSibling; - var desc = dRef.firstElementChild.innerHTML; - dRef.id = 'desc-' + title; - dRef.setAttribute('role', 'definition'); - var heading = document.createElement('h3'); - heading.appendChild(sp); - container.replaceChild(heading, item); - // add this item to the index - propList[title] = { - is: type, - title: title, - name: content, - desc: desc, - roles: [], - }; - var abstract = container.querySelector('.' + type + '-applicability'); - if ( - (abstract.textContent || abstract.innerText) === - 'All elements of the base markup' - ) { - globalSP.push({ - is: type, - title: title, - name: content, - desc: desc, - }); + var skipIndex = 0; + var myURL = document.URL; + if (myURL.match(/\?fast/)) { + skipIndex = 1; } - // the pdef/sdef is gone. if we are in a div, convert that div to a section - if (container.nodeName.toLowerCase() == 'div') { - // change the enclosing DIV to a section with notoc - var sec = document.createElement('section'); - Array.prototype.slice - .call(container.attributes) - .forEach(function (attr) { - sec.setAttribute(attr.name, attr.value); + // process the document before anything else is done + // first get the properties + Array.prototype.slice + .call(document.querySelectorAll("pdef, sdef")) + .forEach(function (item) { + var type = item.localName === "pdef" ? "property" : "state"; + var container = item.parentNode; + var content = item.innerHTML; + var sp = document.createElement("span"); + var title = item.getAttribute("title"); + if (!title) { + title = content; + } + sp.className = type + "-name"; + sp.title = title; + sp.innerHTML = + "" + + content + + ' (' + + type + + ")"; + sp.setAttribute("aria-describedby", "desc-" + title); + var dRef = item.nextElementSibling; + var desc = dRef.firstElementChild.innerHTML; + dRef.id = "desc-" + title; + dRef.setAttribute("role", "definition"); + var heading = document.createElement("h3"); + heading.appendChild(sp); + container.replaceChild(heading, item); + // add this item to the index + propList[title] = { + is: type, + title: title, + name: content, + desc: desc, + roles: [], + }; + var abstract = container.querySelector( + "." + type + "-applicability" + ); + if ( + (abstract.textContent || abstract.innerText) === + "All elements of the base markup" + ) { + globalSP.push({ + is: type, + title: title, + name: content, + desc: desc, + }); + } + // the pdef/sdef is gone. if we are in a div, convert that div to a section + + if (container.nodeName.toLowerCase() == "div") { + // change the enclosing DIV to a section with notoc + var sec = document.createElement("section"); + Array.prototype.slice + .call(container.attributes) + .forEach(function (attr) { + sec.setAttribute(attr.name, attr.value); + }); + sec.classList.add("notoc"); + var theContents = container.innerHTML; + sec.innerHTML = theContents; + container.parentNode.replaceChild(sec, container); + } }); - sec.classList.add('notoc'); - var theContents = container.innerHTML; - sec.innerHTML = theContents; - container.parentNode.replaceChild(sec, container); - } - }); - // what about roles? - // - // we need to do a few things here: - // 1. expand the rdef elements. - // 2. accumulate the roles into a table for the indices - // 3. grab the parent role reference so we can build up the tree - // 4. grab any local states and properties so we can hand those down to the children - // + // what about roles? + // + // we need to do a few things here: + // 1. expand the rdef elements. + // 2. accumulate the roles into a table for the indices + // 3. grab the parent role reference so we can build up the tree + // 4. grab any local states and properties so we can hand those down to the children + // - var subRoles = []; - var roleIndex = ''; - Array.prototype.slice - .call(document.querySelectorAll('rdef')) - .forEach(function (item) { - var container = item.parentNode; - var content = item.innerHTML; - var sp = document.createElement('h3'); - var title = item.getAttribute('title'); + var subRoles = []; + var roleIndex = ""; + Array.prototype.slice + .call(document.querySelectorAll("rdef")) + .forEach(function (item) { + var container = item.parentNode; + var content = item.innerHTML; + var sp = document.createElement("h3"); + var title = item.getAttribute("title"); - if (!title) { - title = content; - } + if (!title) { + title = content; + } - var pnID = addId(container, '', title); - sp.className = 'role-name'; - sp.title = title; - // is this a role or an abstract role - var type = 'role'; - var abstract = container.querySelectorAll('.role-abstract'); - if (abstract.innerText === 'True') { - type = 'abstract role'; - } + var pnID = addId(container, "", title); + sp.className = "role-name"; + sp.title = title; + // is this a role or an abstract role + var type = "role"; + var abstract = container.querySelectorAll(".role-abstract"); + if (abstract.innerText === "True") { + type = "abstract role"; + } - sp.innerHTML = - '' + - content + - ' (' + - type + - ')'; - // sp.id = title; - sp.setAttribute('aria-describedby', 'desc-' + title); - var dRef = item.nextElementSibling; - var desc = dRef.firstElementChild.innerHTML; - dRef.id = 'desc-' + title; - dRef.setAttribute('role', 'definition'); - container.replaceChild(sp, item); - roleIndex += - '
    ' + - content + - '
    \n'; - roleIndex += '
    ' + desc + '
    \n'; - // grab info about this role - // do we have a parent class? if so, put us in that parents list - var node = container.querySelectorAll('.role-parent rref'); - // s will hold the name of the parent role if any - var s = null; - var parentRoles = []; - if (node) { - Array.prototype.slice.call(node).forEach(function (roleref) { - s = roleref.textContent || roleref.innerText; + sp.innerHTML = + "" + + content + + ' (' + + type + + ")"; + // sp.id = title; + sp.setAttribute("aria-describedby", "desc-" + title); + var dRef = item.nextElementSibling; + var desc = dRef.firstElementChild.innerHTML; + dRef.id = "desc-" + title; + dRef.setAttribute("role", "definition"); + container.replaceChild(sp, item); + roleIndex += + '
    ' + + content + + "
    \n"; + roleIndex += "
    " + desc + "
    \n"; + // grab info about this role + // do we have a parent class? if so, put us in that parents list + var node = container.querySelectorAll(".role-parent rref"); + // s will hold the name of the parent role if any + var s = null; + var parentRoles = []; + if (node) { + Array.prototype.slice + .call(node) + .forEach(function (roleref) { + s = roleref.textContent || roleref.innerText; - if (!subRoles[s]) { - subRoles.push(s); - subRoles[s] = []; - } + if (!subRoles[s]) { + subRoles.push(s); + subRoles[s] = []; + } - subRoles[s].push(title); - parentRoles.push(s); - }); - } + subRoles[s].push(title); + parentRoles.push(s); + }); + } - // are there supported states / properties in this role? - var attrs = []; - Array.prototype.slice - .call( - container.querySelectorAll( - '.role-properties, .role-required-properties' - ) - ) - .forEach(function (node) { - if ( - node && - ((node.textContent && node.textContent.length !== 1) || - (node.innerText && node.innerText.length !== 1)) - ) { - // looks like we do - Array.prototype.slice - .call(node.querySelectorAll('pref,sref')) - .forEach(function (item) { - var name = item.getAttribute('title'); - if (!name) { - name = item.textContent || item.innerText; - } - var type = item.localName === 'pref' ? 'property' : 'state'; - var req = node.classList.contains( - 'role-required-properties' - ); - attrs.push({ is: type, name: name, required: req }); - // remember that the state or property is - // referenced by this role - propList[name].roles.push(title); - }); - } - }); + // are there supported states / properties in this role? + var attrs = []; + Array.prototype.slice + .call( + container.querySelectorAll( + ".role-properties, .role-required-properties" + ) + ) + .forEach(function (node) { + if ( + node && + ((node.textContent && + node.textContent.length !== 1) || + (node.innerText && node.innerText.length !== 1)) + ) { + // looks like we do + Array.prototype.slice + .call(node.querySelectorAll("pref,sref")) + .forEach(function (item) { + var name = item.getAttribute("title"); + if (!name) { + name = + item.textContent || item.innerText; + } + var type = + item.localName === "pref" + ? "property" + : "state"; + var req = node.classList.contains( + "role-required-properties" + ); + attrs.push({ + is: type, + name: name, + required: req, + }); + // remember that the state or property is + // referenced by this role + propList[name].roles.push(title); + }); + } + }); - localRoleInfo[title] = { - name: title, - fragID: pnID, - parentRoles: parentRoles, - localprops: attrs, - }; + localRoleInfo[title] = { + name: title, + fragID: pnID, + parentRoles: parentRoles, + localprops: attrs, + }; - if (container.nodeName.toLowerCase() == 'div') { - // change the enclosing DIV to a section with notoc - var sec = document.createElement('section'); - Array.prototype.slice - .call(container.attributes) - .forEach(function (attr) { - sec.setAttribute(attr.name, attr.value); + if (container.nodeName.toLowerCase() == "div") { + // change the enclosing DIV to a section with notoc + var sec = document.createElement("section"); + Array.prototype.slice + .call(container.attributes) + .forEach(function (attr) { + sec.setAttribute(attr.name, attr.value); + }); + sec.classList.add("notoc"); + var theContents = container.innerHTML; + sec.innerHTML = theContents; + container.parentNode.replaceChild(sec, container); + } }); - sec.classList.add('notoc'); - var theContents = container.innerHTML; - sec.innerHTML = theContents; - container.parentNode.replaceChild(sec, container); - } - }); - var getStates = function (role) { - var ref = localRoleInfo[role]; - if (!ref) { - ref = roleInfo[role]; - } - if (!ref) { - msg.pub('error', 'No role definition for ' + role); - } else if (ref.allprops) { - return ref.allprops; - } else { - var myList = ref.localprops.slice(); - ref.parentRoles.forEach(function (item) { - var pList = getStates(item); - pList.forEach(function (item) { - myList.push(item); - }); - }); - ref.allprops = myList; - return myList; - } - }; + var getStates = function (role) { + var ref = localRoleInfo[role]; + if (!ref) { + ref = roleInfo[role]; + } + if (!ref) { + msg.pub("error", "No role definition for " + role); + } else if (ref.allprops) { + return ref.allprops; + } else { + var myList = ref.localprops.slice(); + ref.parentRoles.forEach(function (item) { + var pList = getStates(item); + pList.forEach(function (item) { + myList.push(item); + }); + }); + ref.allprops = myList; + return myList; + } + }; - if (!skipIndex) { - // build up the complete inherited SP lists for each role - Object.entries(localRoleInfo).forEach(function (index) { - item = index[1]; - var output = ''; - var placeholder = document.querySelector( - '#' + item.fragID + ' .role-inherited' - ); + if (!skipIndex) { + // build up the complete inherited SP lists for each role + Object.entries(localRoleInfo).forEach(function (index) { + item = index[1]; + var output = ""; + var placeholder = document.querySelector( + "#" + item.fragID + " .role-inherited" + ); - if (placeholder) { - var myList = []; - item.parentRoles.forEach(function (role) { - myList.push(getStates(role)); - }); + if (placeholder) { + var myList = []; + item.parentRoles.forEach(function (role) { + myList.push(getStates(role)); + }); - // strip out any items that we have locally - /* jshint loopfunc: true */ - if (item.localprops.length && myList.length) { - for (var j = myList.length - 1; j >= 0; j--) { - item.localprops.forEach(function (x) { - if (x.name == myList[j].name) { - myList.splice(j, 1); + // strip out any items that we have locally + if (item.localprops.length && myList.length) { + for (var j = myList.length - 1; j >= 0; j--) { + item.localprops.forEach(function (x) { + if (x.name == myList[j].name) { + myList.splice(j, 1); + } + }); + } + } + var sortedList = []; + sortedList = myList.sort(function (a, b) { + return a.name < b.name ? -1 : a.name > b.name ? 1 : 0; + }); + var prev; + sortedList = sortedList[0]; + if (sortedList) { + for (var k = 0; k < sortedList.length; k++) { + var role = sortedList[k]; + var req = ""; + if (role.required) { + req = " (required)"; + } + if (prev != role.name) { + output += "
  • "; + if (role.is === "state") { + output += + "' + + role.name + + " (state)" + + req; + } else { + output += + "" + + role.name + + "" + + req; + } + if (role.prohibited) { + output += " (Except where prohibited)"; + } + if (role.deprecated) { + output += + " (Global use deprecated in ARIA 1.2)"; + } + output += "
  • \n"; + prev = role.name; + } + } + } + if (output !== "") { + output = "\n"; + placeholder.innerHTML = output; + } } - }); - } - } - var sortedList = []; - sortedList = myList.sort(function (a, b) { - return a.name < b.name ? -1 : a.name > b.name ? 1 : 0; - }); - var prev; - sortedList = sortedList[0]; - if (sortedList) { - for (var k = 0; k < sortedList.length; k++) { - var role = sortedList[k]; - var req = ''; - if (role.required) { - req = ' (required)'; - } - if (prev != role.name) { - output += '
  • '; - if (role.is === 'state') { - output += - '' + - role.name + - ' (state)' + - req; + }); + + // Update state and property role references + var getAllSubRoles = function (role) { + var ref = subRoles[role]; + if (ref && ref.length) { + var myList = []; + ref.forEach(function (item) { + if (!myList.item) { + myList[item] = 1; + myList.push(item); + var childList = getAllSubRoles(item); + childList.forEach(function (item) { + myList.push(childList); + }); + } + }); + return myList; } else { - output += - '' + - role.name + - '' + - req; - } - if (role.prohibited) { - output += ' (Except where prohibited)'; - } - if (role.deprecated) { - output += ' (Global use deprecated in ARIA 1.2)'; + return []; } - output += '
  • \n'; - prev = role.name; - } - } - } - if (output !== '') { - output = '\n'; - placeholder.innerHTML = output; - } - } - }); + }; - // Update state and property role references - var getAllSubRoles = function (role) { - var ref = subRoles[role]; - if (ref && ref.length) { - var myList = []; - ref.forEach(function (item) { - if (!myList.item) { - myList[item] = 1; - myList.push(item); - var childList = getAllSubRoles(item); - childList.forEach(function (item) { - myList.push(childList); - }); - } - }); - return myList; - } else { - return []; - } - }; + Object.values(propList).forEach(function (item) { + var output = ""; + var section = document.querySelector("#" + item.name); + var placeholder = section.querySelector( + ".state-applicability, .property-applicability" + ); + if ( + placeholder && + (placeholder.textContent || placeholder.innerText) === + "Placeholder" && + item.roles.length + ) { + // update the used in roles list + var sortedList = []; + sortedList = item.roles.sort(); + for (var j = 0; j < sortedList.length; j++) { + output += + "
  • " + sortedList[j] + "
  • \n"; + } + if (output !== "") { + output = "\n"; + } + placeholder.innerHTML = output; + // also update any inherited roles + var myList = []; + item.roles.forEach(function (role) { + getAllSubRoles(role) + // Some subroles have required properties which are also required by the superclass. + // Example: The checked state of radio, which is also required by superclass checkbox. + // We only want to include these one time, so filter out the subroles. + .filter(function (subrole) { + return ( + propList[item.name].roles.indexOf( + subrole + ) === -1 + ); + }) + .forEach(function (subrole) { + myList.push(chlidren); + }); + }); - Object.values(propList).forEach(function (item) { - var output = ''; - var section = document.querySelector('#' + item.name); - var placeholder = section.querySelector( - '.state-applicability, .property-applicability' - ); - if ( - placeholder && - (placeholder.textContent || placeholder.innerText) === - 'Placeholder' && - item.roles.length - ) { - // update the used in roles list - var sortedList = []; - sortedList = item.roles.sort(); - for (var j = 0; j < sortedList.length; j++) { - output += '
  • ' + sortedList[j] + '
  • \n'; - } - if (output !== '') { - output = '\n'; - } - placeholder.innerHTML = output; - // also update any inherited roles - var myList = []; - item.roles.forEach(function (role) { - getAllSubRoles(role) - // Some subroles have required properties which are also required by the superclass. - // Example: The checked state of radio, which is also required by superclass checkbox. - // We only want to include these one time, so filter out the subroles. - .filter(function (subrole) { - return propList[item.name].roles.indexOf(subrole) === -1; - }) - .forEach(function (subrole) { - myList.push(chlidren); - }); - }); + placeholder = section.querySelector( + ".state-descendants, .property-descendants" + ); - placeholder = section.querySelector( - '.state-descendants, .property-descendants' - ); + if (placeholder && myList.length) { + sortedList = myList.sort(); + output = ""; + var last = ""; + for (var k = 0; k < sortedList.length; k++) { + var lItem = sortedList[k]; + if (last != lItem) { + output += + "
  • " + lItem + "
  • \n"; + last = lItem; + } + } + if (output !== "") { + output = "\n"; + } + placeholder.innerHTML = output; + } + } + }); - if (placeholder && myList.length) { - sortedList = myList.sort(); - output = ''; - var last = ''; - for (var k = 0; k < sortedList.length; k++) { - var lItem = sortedList[k]; - if (last != lItem) { - output += '
  • ' + lItem + '
  • \n'; - last = lItem; - } - } - if (output !== '') { - output = '\n'; + // spit out the index + var node = document.getElementById("index_role"); + var parentNode = node.parentNode; + var list = document.createElement("dl"); + list.id = "index_role"; + list.className = "compact"; + list.innerHTML = roleIndex; + parentNode.replaceChild(list, node); + + // assuming we found some parent roles, update those parents with their children + for (var i = 0; i < subRoles.length; i++) { + var item = subRoles[subRoles[i]]; + var sortedList = item.sort(function (a, b) { + return a < b ? -1 : a > b ? 1 : 0; + }); + var output = "\n"; + // put it somewhere + var subRolesContainer = document.querySelector( + "#" + subRoles[i] + ); + if (subRolesContainer) { + var subRolesListContainer = + subRolesContainer.querySelector(".role-children"); + if (subRolesListContainer) { + subRolesListContainer.innerHTML = output; + } + } } - placeholder.innerHTML = output; - } } - }); - // spit out the index - var node = document.getElementById('index_role'); - var parentNode = node.parentNode; - var list = document.createElement('dl'); - list.id = 'index_role'; - list.className = 'compact'; - list.innerHTML = roleIndex; - parentNode.replaceChild(list, node); - - // assuming we found some parent roles, update those parents with their children - for (var i = 0; i < subRoles.length; i++) { - var item = subRoles[subRoles[i]]; - var sortedList = item.sort(function (a, b) { - return a < b ? -1 : a > b ? 1 : 0; - }); - var output = '\n'; - // put it somewhere - var subRolesContainer = document.querySelector('#' + subRoles[i]); - if (subRolesContainer) { - var subRolesListContainer = subRolesContainer.querySelector( - '.role-children' - ); - if (subRolesListContainer) { - subRolesListContainer.innerHTML = output; - } - } - } - } + updateReferences(document); - updateReferences(document); + // prune out unused rows throughout the document - // prune out unused rows throughout the document + Array.prototype.slice + .call( + document.querySelectorAll( + ".role-abstract, .role-parent, .role-base, .role-related, .role-scope, .role-mustcontain, .role-required-properties, .role-properties, .role-namefrom, .role-namerequired, .role-namerequired-inherited, .role-childpresentational, .role-presentational-inherited, .state-related, .property-related,.role-inherited, .role-children, .property-descendants, .state-descendants, .implicit-values" + ) + ) + .forEach(function (item) { + var content = item.innerText; + if (content.length === 1 || content.length === 0) { + // there is no item - remove the row + item.parentNode.parentNode.removeChild(item.parentNode); + } else if ( + content === "Placeholder" && + !skipIndex && + (item.className === "role-inherited" || + item.className === "role-children" || + item.className === "property-descendants" || + item.className === "state-descendants") + ) { + item.parentNode.remove(); + } + }); + } +} - Array.prototype.slice - .call( - document.querySelectorAll( - '.role-abstract, .role-parent, .role-base, .role-related, .role-scope, .role-mustcontain, .role-required-properties, .role-properties, .role-namefrom, .role-namerequired, .role-namerequired-inherited, .role-childpresentational, .role-presentational-inherited, .state-related, .property-related,.role-inherited, .role-children, .property-descendants, .state-descendants, .implicit-values' - ) - ) - .forEach(function (item) { - var content = item.innerText; - if (content.length === 1 || content.length === 0) { - // there is no item - remove the row - item.parentNode.parentNode.removeChild(item.parentNode); - } else if ( - content === 'Placeholder' && - !skipIndex && - (item.className === 'role-inherited' || - item.className === 'role-children' || - item.className === 'property-descendants' || - item.className === 'state-descendants') - ) { - item.parentNode.remove(); +require(["core/pubsubhub"], function (respecEvents) { + respecEvents.sub("end", function (msg) { + if (msg == "w3c/conformance") { + ariaAttributeReferences(); } - }); - } -} - -require(['core/pubsubhub'], function (respecEvents) { - respecEvents.sub('end', function (msg) { - if (msg == 'w3c/conformance') { - ariaAttributeReferences(); - } - }); + }); }); diff --git a/common/script/mapping-tables.js b/common/script/mapping-tables.js index a4e6d12c6b..0be8558d78 100644 --- a/common/script/mapping-tables.js +++ b/common/script/mapping-tables.js @@ -1,271 +1,262 @@ /* global mappingTables */ function hideElement(element) { - element.style.display = 'none'; + element.style.display = "none"; } function showElement(element) { - element.style.display = 'block'; + element.style.display = "block"; } function queryAll(selector, context) { - context = context || document; - return Array.prototype.slice.call(context.querySelectorAll(selector)); + context = context || document; + return Array.prototype.slice.call(context.querySelectorAll(selector)); } function getElementIndex(el) { - var i = 1; - while ((el = el.previousElementSibling)) { - i++; - } - return i; + var i = 1; + while ((el = el.previousElementSibling)) { + i++; + } + return i; } var mappingTableInfos = []; function viewAsSingleTable(tableContainer, detailsContainer) { - hideElement(detailsContainer); - showElement(tableContainer); - - // Remove ids from summary - queryAll('summary', detailsContainer).forEach(function ( - summary - ) { - summary.dataset['id'] = summary.id; - summary.removeAttribute('id'); - }); - - // Add ids to table - queryAll('tbody tr', tableContainer).forEach(function ( - tr - ) { - tr.id = tr.dataset['id']; - tr.removeAttribute('data-id'); - }); + hideElement(detailsContainer); + showElement(tableContainer); + + // Remove ids from summary + queryAll("summary", detailsContainer).forEach(function (summary) { + summary.dataset["id"] = summary.id; + summary.removeAttribute("id"); + }); + + // Add ids to table + queryAll("tbody tr", tableContainer).forEach(function (tr) { + tr.id = tr.dataset["id"]; + tr.removeAttribute("data-id"); + }); } function viewAsDetails(tableContainer, detailsContainer) { - hideElement(tableContainer); - showElement(detailsContainer); - - // Remove ids from table - queryAll('tbody tr', tableContainer).forEach(function ( - tr - ) { - tr.dataset['id'] = tr.id; - tr.removeAttribute('id'); - }); - - // Add ids to summary - queryAll('summary', detailsContainer).forEach(function ( - summary - ) { - summary.id = summary.dataset['id']; - summary.removeAttribute('data-id'); - }); -} + hideElement(tableContainer); + showElement(detailsContainer); + + // Remove ids from table + queryAll("tbody tr", tableContainer).forEach(function (tr) { + tr.dataset["id"] = tr.id; + tr.removeAttribute("id"); + }); + // Add ids to summary + queryAll("summary", detailsContainer).forEach(function (summary) { + summary.id = summary.dataset["id"]; + summary.removeAttribute("data-id"); + }); +} function expandReferredDetails(summaryFragId) { - // if details element is not open, activate click on summary - if (!summaryFragId.parentNode.open) { - summaryFragId.click(); - } + // if details element is not open, activate click on summary + if (!summaryFragId.parentNode.open) { + summaryFragId.click(); + } } function mappingTables() { - queryAll('.table-container').forEach(function (container) { - - // object to store information about a mapping table. - var tableInfo = {}; - mappingTableInfos.push(tableInfo); - - // store a reference to the container and hide it - tableInfo.tableContainer = container; - hideElement(container); - - // store a reference to the table - tableInfo.table = container.querySelector('table'); - - // create a container div to hold all the details element and insert after table - tableInfo.detailsContainer = document.createElement('div'); - tableInfo.detailsContainer.className = 'details'; - tableInfo.id = tableInfo.table.id + '-details'; - tableInfo.tableContainer.insertAdjacentElement( - 'afterend', - tableInfo.detailsContainer - ); - - // add switch to view as single table or details/summary - var viewSwitch = document.createElement('button'); - viewSwitch.className = 'switch-view'; - viewSwitch.innerHTML = mappingTableLabels.viewByTable; - tableInfo.tableContainer.insertAdjacentElement('beforebegin', viewSwitch); - - // store the table's column headers in array colHeaders - // TODO: figure out what browsers we have to support and replace this with Array#map if possible - var colHeaders = []; - queryAll('thead th', tableInfo.table).forEach(function (th) { - colHeaders.push(th.innerHTML); - }); - - // remove first column header from array - colHeaders.shift(); - // for each row in the table, create details/summary.. - - queryAll('tbody tr', tableInfo.table).forEach(function (row) { - var caption = row.querySelector('th').innerHTML; - var summary = caption.replace(/]+>|<\/a>/g, ''); - // get the tr's @id - var id = row.id; - row.dataset.id = id; - - // remove the tr's @id since same id will be used in the relevant summary element - row.removeAttribute('id'); - // store the row's cells in array rowCells - var rowCells = []; - // add row cells to array rowCells for use in the details' table - queryAll('td', row).forEach(function (cell) { - rowCells.push(cell.innerHTML); - }); - // clone colHeaders array for use in details table row headers - var rowHeaders = colHeaders.slice(0); - // if attributes mapping table... - if (tableInfo.table.classList.contains('attributes')) { - // remove second column header from array - rowHeaders.shift(); - // remove and store "HTML elements" cell from rowCells array for use in details' summary and table caption - var relevantElsCaption = rowCells.shift(); - var relevantElsSummary = relevantElsCaption.replace( - /]+>|<\/a>/g, - '' + queryAll(".table-container").forEach(function (container) { + // object to store information about a mapping table. + var tableInfo = {}; + mappingTableInfos.push(tableInfo); + + // store a reference to the container and hide it + tableInfo.tableContainer = container; + hideElement(container); + + // store a reference to the table + tableInfo.table = container.querySelector("table"); + + // create a container div to hold all the details element and insert after table + tableInfo.detailsContainer = document.createElement("div"); + tableInfo.detailsContainer.className = "details"; + tableInfo.id = tableInfo.table.id + "-details"; + tableInfo.tableContainer.insertAdjacentElement( + "afterend", + tableInfo.detailsContainer ); - } - - // create content for each
    element; add row header's content to summary - var details = document.createElement('details'); - details.className = 'map'; - var detailsHTML = '' + summary; - - // if attributes mapping table, append relevant elements to summary - if (tableInfo.table.classList.contains('attributes')) { - detailsHTML += ' [' + relevantElsSummary + ']'; - } - - detailsHTML += ''; - - // add table rows using appropriate header from detailsRowHead array and relevant value from rowCells array - for (var i = 0, len = rowCells.length; i < len; i++) { - detailsHTML += - ''; - } - detailsHTML += '
    ' + caption; - - if (tableInfo.table.classList.contains('attributes')) { - detailsHTML += ' [' + relevantElsCaption + ']'; - } - - detailsHTML += '
    ' + - rowHeaders[i] + - '' + - rowCells[i] + - '
    '; - details.innerHTML = detailsHTML; + // add switch to view as single table or details/summary + var viewSwitch = document.createElement("button"); + viewSwitch.className = "switch-view"; + viewSwitch.innerHTML = mappingTableLabels.viewByTable; + tableInfo.tableContainer.insertAdjacentElement( + "beforebegin", + viewSwitch + ); - // append the
    element to the detailsContainer div - tableInfo.detailsContainer.appendChild(details); + // store the table's column headers in array colHeaders + // TODO: figure out what browsers we have to support and replace this with Array#map if possible + var colHeaders = []; + queryAll("thead th", tableInfo.table).forEach(function (th) { + colHeaders.push(th.innerHTML); + }); + + // remove first column header from array + colHeaders.shift(); + // for each row in the table, create details/summary.. + + queryAll("tbody tr", tableInfo.table).forEach(function (row) { + var caption = row.querySelector("th").innerHTML; + var summary = caption.replace(/]+>|<\/a>/g, ""); + // get the tr's @id + var id = row.id; + row.dataset.id = id; + + // remove the tr's @id since same id will be used in the relevant summary element + row.removeAttribute("id"); + // store the row's cells in array rowCells + var rowCells = []; + // add row cells to array rowCells for use in the details' table + queryAll("td", row).forEach(function (cell) { + rowCells.push(cell.innerHTML); + }); + // clone colHeaders array for use in details table row headers + var rowHeaders = colHeaders.slice(0); + // if attributes mapping table... + if (tableInfo.table.classList.contains("attributes")) { + // remove second column header from array + rowHeaders.shift(); + // remove and store "HTML elements" cell from rowCells array for use in details' summary and table caption + var relevantElsCaption = rowCells.shift(); + var relevantElsSummary = relevantElsCaption.replace( + /]+>|<\/a>/g, + "" + ); + } + + // create content for each
    element; add row header's content to summary + var details = document.createElement("details"); + details.className = "map"; + + var detailsHTML = '' + summary; + + // if attributes mapping table, append relevant elements to summary + if (tableInfo.table.classList.contains("attributes")) { + detailsHTML += " [" + relevantElsSummary + "]"; + } + + detailsHTML += ""; + + // add table rows using appropriate header from detailsRowHead array and relevant value from rowCells array + for (var i = 0, len = rowCells.length; i < len; i++) { + detailsHTML += + ""; + } + detailsHTML += "
    " + caption; + + if (tableInfo.table.classList.contains("attributes")) { + detailsHTML += " [" + relevantElsCaption + "]"; + } + + detailsHTML += "
    " + + rowHeaders[i] + + "" + + rowCells[i] + + "
    "; + details.innerHTML = detailsHTML; + + // append the
    element to the detailsContainer div + tableInfo.detailsContainer.appendChild(details); + }); + + // add 'expand/collapse all' functionality + var expandAllButton = document.createElement("button"); + expandAllButton.className = "expand"; + expandAllButton.innerHTML = mappingTableLabels.expand; + + var collapseAllButton = document.createElement("button"); + collapseAllButton.disabled = true; + collapseAllButton.className = "collapse"; + collapseAllButton.innerHTML = mappingTableLabels.collapse; + + tableInfo.detailsContainer.insertBefore( + collapseAllButton, + tableInfo.detailsContainer.firstChild + ); + tableInfo.detailsContainer.insertBefore( + expandAllButton, + tableInfo.detailsContainer.firstChild + ); }); - // add 'expand/collapse all' functionality - var expandAllButton = document.createElement('button'); - expandAllButton.className = 'expand'; - expandAllButton.innerHTML = mappingTableLabels.expand; - - var collapseAllButton = document.createElement('button'); - collapseAllButton.disabled = true; - collapseAllButton.className = 'collapse'; - collapseAllButton.innerHTML = mappingTableLabels.collapse; - - tableInfo.detailsContainer.insertBefore( - collapseAllButton, - tableInfo.detailsContainer.firstChild - ); - tableInfo.detailsContainer.insertBefore( - expandAllButton, - tableInfo.detailsContainer.firstChild - ); - }); - - // if page URL links to frag id, reset location to frag id once details/summary view is set - if (window.location.hash) { - var hash = window.location.hash; - window.location = hash; - var frag = document.querySelector(hash); - // if frag id is for a summary element, expand the parent details element - if (frag && frag.tagName === 'SUMMARY') { - expandReferredDetails(hash); + // if page URL links to frag id, reset location to frag id once details/summary view is set + if (window.location.hash) { + var hash = window.location.hash; + window.location = hash; + var frag = document.querySelector(hash); + // if frag id is for a summary element, expand the parent details element + if (frag && frag.tagName === "SUMMARY") { + expandReferredDetails(hash); + } } - } - // Add a hook to expand referred details element when whose @href is fragid of a is clicked. - queryAll('a[href^="#"]').forEach(function (a) { - var fragId = a.getAttribute('href'); + // Add a hook to expand referred details element when whose @href is fragid of a is clicked. + queryAll('a[href^="#"]').forEach(function (a) { + var fragId = a.getAttribute("href"); - if (fragId.tagName === 'SUMMARY') { - a.addEventListener('click', function () { - expandReferredDetails(fragId); - }); - } - }); + if (fragId.tagName === "SUMMARY") { + a.addEventListener("click", function () { + expandReferredDetails(fragId); + }); + } + }); } document.addEventListener("DOMContentLoaded", () => { - - document.querySelectorAll('button.switch-view').forEach(function (b){ - b.addEventListener('click', function () { - tableContainer = b.parentElement.querySelector('.table-container'); - table = tableContainer.querySelector('table'); - detailsContainer = b.parentElement.querySelector('.details'); - - if (detailsContainer.style.display !== 'none') { - viewAsSingleTable(tableContainer, detailsContainer); - // toggle the viewSwitch label from view-as-single-table to view-by-X - b.innerHTML = - mappingTableLabels.viewByLabels[table.id]; - } else { - viewAsDetails(tableContainer, detailsContainer); - // toggle the viewSwitch label from view-by-X to view-as-single-table. - b.innerHTML = mappingTableLabels.viewByTable; - } + document.querySelectorAll("button.switch-view").forEach(function (b) { + b.addEventListener("click", function () { + tableContainer = b.parentElement.querySelector(".table-container"); + table = tableContainer.querySelector("table"); + detailsContainer = b.parentElement.querySelector(".details"); + + if (detailsContainer.style.display !== "none") { + viewAsSingleTable(tableContainer, detailsContainer); + // toggle the viewSwitch label from view-as-single-table to view-by-X + b.innerHTML = mappingTableLabels.viewByLabels[table.id]; + } else { + viewAsDetails(tableContainer, detailsContainer); + // toggle the viewSwitch label from view-by-X to view-as-single-table. + b.innerHTML = mappingTableLabels.viewByTable; + } + }); }); - }); - var expandCollapseDetails = function (detCont, action) { - queryAll('details', detCont).forEach(function (details) { - details.open = action !== 'collapse' - }); - }; - - document.querySelectorAll('button.expand').forEach(function (b){ - b.addEventListener('click', function () { - detailsContainer = b.parentElement; - expandCollapseDetails(detailsContainer, 'expand'); - b.disabled = true; - b.parentElement - .querySelector('button.collapse') - .removeAttribute('disabled'); + var expandCollapseDetails = function (detCont, action) { + queryAll("details", detCont).forEach(function (details) { + details.open = action !== "collapse"; + }); + }; + + document.querySelectorAll("button.expand").forEach(function (b) { + b.addEventListener("click", function () { + detailsContainer = b.parentElement; + expandCollapseDetails(detailsContainer, "expand"); + b.disabled = true; + b.parentElement + .querySelector("button.collapse") + .removeAttribute("disabled"); + }); }); - }); - - document.querySelectorAll('button.collapse').forEach(function (b){ - b.addEventListener('click', function () { - detailsContainer = b.parentElement; - expandCollapseDetails(detailsContainer, 'collapse'); - b.disabled = true; - b.parentElement - .querySelector('button.expand') - .removeAttribute('disabled'); + + document.querySelectorAll("button.collapse").forEach(function (b) { + b.addEventListener("click", function () { + detailsContainer = b.parentElement; + expandCollapseDetails(detailsContainer, "collapse"); + b.disabled = true; + b.parentElement + .querySelector("button.expand") + .removeAttribute("disabled"); + }); }); - }); }); diff --git a/common/script/resolveReferences.js b/common/script/resolveReferences.js index 5edb65e343..ff39cd8f7f 100644 --- a/common/script/resolveReferences.js +++ b/common/script/resolveReferences.js @@ -2,20 +2,20 @@ /* exported linkCrossReferences, restrictReferences, fixIncludes */ function parents(element, selector) { - var elements = []; - var parent = element.parentElement; + var elements = []; + var parent = element.parentElement; - while (parent) { - if (parent.nodeType !== Node.ELEMENT_NODE) { - continue; - } + while (parent) { + if (parent.nodeType !== Node.ELEMENT_NODE) { + continue; + } - if (parent.matches(selector)) { - elements.push(parent); - } + if (parent.matches(selector)) { + elements.push(parent); + } - parent = parent.parentElement; - } + parent = parent.parentElement; + } } // NOTE: this was taken from https://github.com/w3c/respec/blob/develop/src/core/utils.js @@ -24,7 +24,7 @@ function parents(element, selector) { * @param {string} str */ function norm(str) { - return str.trim().replace(/\s+/g, " "); + return str.trim().replace(/\s+/g, " "); } // NOTE: this was taken from https://github.com/w3c/respec/blob/develop/src/core/utils.js @@ -37,299 +37,306 @@ function norm(str) { * @param {Boolean} noLC do not convert to lowercase * @returns {String} generated (or existing) id for element */ - function addId(elem, pfx = "", txt = "", noLC = false) { - if (elem.id) { - return elem.id; - } - if (!txt) { - txt = (elem.title ? elem.title : elem.textContent).trim(); - } - let id = noLC ? txt : txt.toLowerCase(); - id = id - .trim() - .normalize("NFD") - .replace(/[\u0300-\u036f]/g, "") - .replace(/\W+/gim, "-") - .replace(/^-+/, "") - .replace(/-+$/, ""); - - if (!id) { - id = "generatedID"; - } else if (/\.$/.test(id) || !/^[a-z]/i.test(pfx || id)) { - id = `x${id}`; // trailing . doesn't play well with jQuery - } - if (pfx) { - id = `${pfx}-${id}`; - } - if (elem.ownerDocument.getElementById(id)) { - let i = 0; - let nextId = `${id}-${i}`; - while (elem.ownerDocument.getElementById(nextId)) { - i += 1; - nextId = `${id}-${i}`; +function addId(elem, pfx = "", txt = "", noLC = false) { + if (elem.id) { + return elem.id; + } + if (!txt) { + txt = (elem.title ? elem.title : elem.textContent).trim(); + } + let id = noLC ? txt : txt.toLowerCase(); + id = id + .trim() + .normalize("NFD") + .replace(/[\u0300-\u036f]/g, "") + .replace(/\W+/gim, "-") + .replace(/^-+/, "") + .replace(/-+$/, ""); + + if (!id) { + id = "generatedID"; + } else if (/\.$/.test(id) || !/^[a-z]/i.test(pfx || id)) { + id = `x${id}`; // trailing . doesn't play well with jQuery } - id = nextId; - } - elem.id = id; - return id; + if (pfx) { + id = `${pfx}-${id}`; + } + if (elem.ownerDocument.getElementById(id)) { + let i = 0; + let nextId = `${id}-${i}`; + while (elem.ownerDocument.getElementById(nextId)) { + i += 1; + nextId = `${id}-${i}`; + } + id = nextId; + } + elem.id = id; + return id; } - // NOTE: this was taken from https://github.com/w3c/respec/blob/develop/src/core/utils.js#L474 while removing jQuery function getDfnTitles(elem) { - const titleSet = new Set(); - // data-lt-noDefault avoid using the text content of a definition - // in the definition list. - // ltNodefault is === "data-lt-noDefault"... someone screwed up 😖 - const normText = 'ltNodefault' in elem.dataset ? '' : norm(elem.textContent); - const child = /** @type {HTMLElement | undefined} */ (elem.children[0]); - if (elem.dataset.lt) { - // prefer @data-lt for the list of title aliases - elem.dataset.lt - .split('|') - .map((item) => norm(item)) - .forEach((item) => titleSet.add(item)); - } else if ( - elem.childNodes.length === 1 && - elem.getElementsByTagName('abbr').length === 1 && - child.title - ) { - titleSet.add(child.title); - } else if (elem.textContent === '""') { - titleSet.add('the-empty-string'); - } - - titleSet.add(normText); - titleSet.delete(''); - - // We could have done this with @data-lt (as the logic is same), but if - // @data-lt was not present, we would end up using @data-local-lt as element's - // id (in other words, we prefer textContent over @data-local-lt for dfn id) - if (elem.dataset.localLt) { - const localLt = elem.dataset.localLt.split('|'); - localLt.forEach((item) => titleSet.add(norm(item))); - } - - const titles = [...titleSet]; - return titles; + const titleSet = new Set(); + // data-lt-noDefault avoid using the text content of a definition + // in the definition list. + // ltNodefault is === "data-lt-noDefault"... someone screwed up 😖 + const normText = + "ltNodefault" in elem.dataset ? "" : norm(elem.textContent); + const child = /** @type {HTMLElement | undefined} */ (elem.children[0]); + if (elem.dataset.lt) { + // prefer @data-lt for the list of title aliases + elem.dataset.lt + .split("|") + .map((item) => norm(item)) + .forEach((item) => titleSet.add(item)); + } else if ( + elem.childNodes.length === 1 && + elem.getElementsByTagName("abbr").length === 1 && + child.title + ) { + titleSet.add(child.title); + } else if (elem.textContent === '""') { + titleSet.add("the-empty-string"); + } + + titleSet.add(normText); + titleSet.delete(""); + + // We could have done this with @data-lt (as the logic is same), but if + // @data-lt was not present, we would end up using @data-local-lt as element's + // id (in other words, we prefer textContent over @data-local-lt for dfn id) + if (elem.dataset.localLt) { + const localLt = elem.dataset.localLt.split("|"); + localLt.forEach((item) => titleSet.add(norm(item))); + } + + const titles = [...titleSet]; + return titles; } function linkCrossReferences() { - 'use strict'; - - var specBaseURL = respecConfig.ariaSpecURLs - ? respecConfig.ariaSpecURLs[respecConfig.specStatus] - : null; - - var coreMappingURL = respecConfig.coreMappingURLs - ? respecConfig.coreMappingURLs[respecConfig.specStatus] - : null; - - var accNameURL = respecConfig.accNameURLs - ? respecConfig.accNameURLs[respecConfig.specStatus] - : null; - - var htmlMappingURL = respecConfig.htmlMappingURLs - ? respecConfig.htmlMappingURLs[respecConfig.specStatus] - : null; - - var dpubModURL = respecConfig.dpubModURLs - ? respecConfig.dpubModURLs[respecConfig.specStatus] - : null; - - var graphicsModURL = respecConfig.graphicsModURLs - ? respecConfig.graphicsModURLs[respecConfig.specStatus] - : null; - var graphicsMappingModURL = respecConfig.graphicsMappingModURLs - ? respecConfig.graphicsMappingModURLs[respecConfig.specStatus] - : null; - var practicesURL = respecConfig.practicesURLs - ? respecConfig.practicesURLs[respecConfig.specStatus] - : null; - - function setHrefs(selString, baseUrl) { + "use strict"; + + var specBaseURL = respecConfig.ariaSpecURLs + ? respecConfig.ariaSpecURLs[respecConfig.specStatus] + : null; + + var coreMappingURL = respecConfig.coreMappingURLs + ? respecConfig.coreMappingURLs[respecConfig.specStatus] + : null; + + var accNameURL = respecConfig.accNameURLs + ? respecConfig.accNameURLs[respecConfig.specStatus] + : null; + + var htmlMappingURL = respecConfig.htmlMappingURLs + ? respecConfig.htmlMappingURLs[respecConfig.specStatus] + : null; + + var dpubModURL = respecConfig.dpubModURLs + ? respecConfig.dpubModURLs[respecConfig.specStatus] + : null; + + var graphicsModURL = respecConfig.graphicsModURLs + ? respecConfig.graphicsModURLs[respecConfig.specStatus] + : null; + var graphicsMappingModURL = respecConfig.graphicsMappingModURLs + ? respecConfig.graphicsMappingModURLs[respecConfig.specStatus] + : null; + var practicesURL = respecConfig.practicesURLs + ? respecConfig.practicesURLs[respecConfig.specStatus] + : null; + + function setHrefs(selString, baseUrl) { + Array.prototype.slice + .call(document.querySelectorAll(selString)) + .forEach(function (el) { + var href = el.getAttribute("href"); + el.setAttribute("href", baseUrl + href); + }); + } + + // First the links to the definitions of roles, states, and properties. + if (specBaseURL) { + setHrefs( + "a.role-reference, a.property-reference, a.state-reference, a.specref", + specBaseURL + ); + } else { + console.log("linkCrossReferences(): specBaseURL is not defined."); + } + + // Second, for links to role, state, and property mappings in the core mapping + // doc. + if (coreMappingURL) { + setHrefs("a.core-mapping", coreMappingURL); + } else { + console.log( + "linkCrossReferences(): Note -- coreMappingURL is not defined." + ); + } + + // Third, for links into the accname document. + if (accNameURL) { + setHrefs("a.accname", accNameURL); + } else { + console.log( + "linkCrossReferences(): Note -- accNameURL is not defined." + ); + } + // Fourth, for links to role, state, and property mappings in the html mapping + // doc. + if (htmlMappingURL) { + setHrefs("a.html-mapping", htmlMappingURL); + } else { + console.log( + "linkCrossReferences(): Note -- htmlMappingURL is not defined." + ); + } + // Links to the DPub WAI-ARIA Module. + if (dpubModURL) { + setHrefs( + "a.dpub-role-reference, a.dpub-property-reference, a.dpub-state-reference, a.dpub", + dpubModURL + ); + } else { + console.log("linkCrossReferences(): dpubModURL is not defined."); + } + // Links to the Graphics WAI-ARIA Module. + if (graphicsModURL) { + setHrefs( + "a.graphics-role-reference, a.graphics-property-reference, a.graphics-state-reference, a.graphics", + graphicsModURL + ); + } else { + console.log("linkCrossReferences(): graphicsModURL is not defined."); + } + // Links to the Graphics Mapping WAI-ARIA Module. + if (graphicsMappingModURL) { + setHrefs( + "a.graphics-role-mapping, a.graphics-property-mapping, a.graphics-state-mapping, a.graphics-mapping", + graphicsMappingModURL + ); + } else { + console.log( + "linkCrossReferences(): graphicsMappingModURL is not defined." + ); + } + // Links to the Authoring Practices. + if (practicesURL) { + setHrefs("a.practices", practicesURL); + } else { + console.log("linkCrossReferences(): practicesURL is not defined."); + } + + // Update any terms linked using termref to be informative as all aria terms are linked informatively Array.prototype.slice - .call(document.querySelectorAll(selString)) - .forEach(function (el) { - var href = el.getAttribute('href'); - el.setAttribute('href', baseUrl + href); - }); - } - - // First the links to the definitions of roles, states, and properties. - if (!!specBaseURL) { - setHrefs( - 'a.role-reference, a.property-reference, a.state-reference, a.specref', - specBaseURL - ); - } else { - console.log('linkCrossReferences(): specBaseURL is not defined.'); - } - - // Second, for links to role, state, and property mappings in the core mapping - // doc. - if (!!coreMappingURL) { - setHrefs('a.core-mapping', coreMappingURL); - } else { - console.log( - 'linkCrossReferences(): Note -- coreMappingURL is not defined.' - ); - } - - // Third, for links into the accname document. - if (!!accNameURL) { - setHrefs('a.accname', accNameURL); - } else { - console.log('linkCrossReferences(): Note -- accNameURL is not defined.'); - } - // Fourth, for links to role, state, and property mappings in the html mapping - // doc. - if (!!htmlMappingURL) { - setHrefs('a.html-mapping', htmlMappingURL); - } else { - console.log( - 'linkCrossReferences(): Note -- htmlMappingURL is not defined.' - ); - } - // Links to the DPub WAI-ARIA Module. - if (!!dpubModURL) { - setHrefs( - 'a.dpub-role-reference, a.dpub-property-reference, a.dpub-state-reference, a.dpub', - dpubModURL - ); - } else { - console.log('linkCrossReferences(): dpubModURL is not defined.'); - } - // Links to the Graphics WAI-ARIA Module. - if (!!graphicsModURL) { - setHrefs( - 'a.graphics-role-reference, a.graphics-property-reference, a.graphics-state-reference, a.graphics', - graphicsModURL - ); - } else { - console.log('linkCrossReferences(): graphicsModURL is not defined.'); - } - // Links to the Graphics Mapping WAI-ARIA Module. - if (!!graphicsMappingModURL) { - setHrefs( - 'a.graphics-role-mapping, a.graphics-property-mapping, a.graphics-state-mapping, a.graphics-mapping', - graphicsMappingModURL - ); - } else { - console.log( - 'linkCrossReferences(): graphicsMappingModURL is not defined.' - ); - } - // Links to the Authoring Practices. - if (!!practicesURL) { - setHrefs('a.practices', practicesURL); - } else { - console.log('linkCrossReferences(): practicesURL is not defined.'); - } - - // Update any terms linked using termref to be informative as all aria terms are linked informatively - Array.prototype.slice - .call(document.querySelectorAll('.termref')) - .forEach(function (item) { - item.classList.add("informative"); - }); + .call(document.querySelectorAll(".termref")) + .forEach(function (item) { + item.classList.add("informative"); + }); } - function updateReferences(base) { - // update references to properties - // - // New logic: - // 1. for each item, find it's nearest 'section' ancestor (or nearest div - // with a class of role, property, or state) - // 2. if we have not already seen this item in this section, it is a link using 'a' - // 3. otherwise, it is just a styled reference to the item using 'code' - - 'use strict'; - - var baseURL = respecConfig.ariaSpecURLs[respecConfig.specStatus]; - - var sectionMap = {}; - Array.prototype.slice - .call(base.querySelectorAll('pref, sref, rref')) - .forEach(function (item) { - // what are we referencing? - var content = item.innerText; - var usedTitle = false; - var ref = item.getAttribute('title'); - if (!ref) { - ref = item.getAttribute('data-lt'); - if (!ref) { - ref = content; - } else { - usedTitle = true; - } - } else { - usedTitle = true; - } - - var isPreref = item.tagName.toLowerCase() === 'pref'; - var isSref = item.tagName.toLowerCase() === 'sref'; - // what sort of reference are we? - var theClass = isPreref - ? 'property-reference' - : isSref - ? 'state-reference' - : 'role-reference'; - - // property and state references are assumed to be in the parent document - // a role reference might be local or might be elsewhere - var URL = isPreref || isSref ? baseURL + '#' : '#'; - - // assume we are making a link - var theElement = 'a'; - - // pSec is the nearest parent section element - var parentNodes = parents(item, 'section, div.role, div.state, div.property'); - if (parentNodes) { - var pSec = parentNodes[0]; - var pID = pSec.id; - if (pID) { - if (sectionMap[pID]) { - if (sectionMap[pID][ref]) { - // only change the element if we not in a table or a dl - if (parents(item, 'table dl').length === 0) { - if (usedTitle) { - theElement = 'span'; + // update references to properties + // + // New logic: + // 1. for each item, find it's nearest 'section' ancestor (or nearest div + // with a class of role, property, or state) + // 2. if we have not already seen this item in this section, it is a link using 'a' + // 3. otherwise, it is just a styled reference to the item using 'code' + + "use strict"; + + var baseURL = respecConfig.ariaSpecURLs[respecConfig.specStatus]; + + var sectionMap = {}; + Array.prototype.slice + .call(base.querySelectorAll("pref, sref, rref")) + .forEach(function (item) { + // what are we referencing? + var content = item.innerText; + var usedTitle = false; + var ref = item.getAttribute("title"); + if (!ref) { + ref = item.getAttribute("data-lt"); + if (!ref) { + ref = content; } else { - theElement = 'code'; + usedTitle = true; } - } } else { - sectionMap[pID][ref] = 1; + usedTitle = true; } - } else { - sectionMap[pID] = {}; - sectionMap[pID][ref] = 1; - } - } - } - - if (theElement === 'a' && item.tagName.toLowerCase() === 'rref') { - if (typeof localRoleInfo !== 'undefined' && localRoleInfo[ref]) { - ref = localRoleInfo[ref].fragID; - } else if (baseURL && roleInfo[ref]) { - ref = roleInfo[ref].fragID; - URL = baseURL + '#'; - } else { - // no roleInfo structure. Make an assumption - URL = baseURL + '#'; - } - } - var sp = document.createElement(theElement); - if (theElement === 'a') { - sp.href = URL + ref; - sp.className = theClass; - content = '' + content + ''; - } - sp.innerHTML = content; - item.parentElement.replaceChild(sp, item); - }); + + var isPreref = item.tagName.toLowerCase() === "pref"; + var isSref = item.tagName.toLowerCase() === "sref"; + // what sort of reference are we? + var theClass = isPreref + ? "property-reference" + : isSref + ? "state-reference" + : "role-reference"; + + // property and state references are assumed to be in the parent document + // a role reference might be local or might be elsewhere + var URL = isPreref || isSref ? baseURL + "#" : "#"; + + // assume we are making a link + var theElement = "a"; + + // pSec is the nearest parent section element + var parentNodes = parents( + item, + "section, div.role, div.state, div.property" + ); + if (parentNodes) { + var pSec = parentNodes[0]; + var pID = pSec.id; + if (pID) { + if (sectionMap[pID]) { + if (sectionMap[pID][ref]) { + // only change the element if we not in a table or a dl + if (parents(item, "table dl").length === 0) { + if (usedTitle) { + theElement = "span"; + } else { + theElement = "code"; + } + } + } else { + sectionMap[pID][ref] = 1; + } + } else { + sectionMap[pID] = {}; + sectionMap[pID][ref] = 1; + } + } + } + + if (theElement === "a" && item.tagName.toLowerCase() === "rref") { + if ( + typeof localRoleInfo !== "undefined" && + localRoleInfo[ref] + ) { + ref = localRoleInfo[ref].fragID; + } else if (baseURL && roleInfo[ref]) { + ref = roleInfo[ref].fragID; + URL = baseURL + "#"; + } else { + // no roleInfo structure. Make an assumption + URL = baseURL + "#"; + } + } + var sp = document.createElement(theElement); + if (theElement === "a") { + sp.href = URL + ref; + sp.className = theClass; + content = "" + content + ""; + } + sp.innerHTML = content; + item.parentElement.replaceChild(sp, item); + }); } // We should be able to remove terms that are not actually @@ -338,35 +345,33 @@ function updateReferences(base) { var termNames = []; function restrictReferences(utils, content) { - 'use strict'; - var base = document.createElement('div'); - base.innerHTML = content; - updateReferences(base); - - // strategy: Traverse the content finding all of the terms defined - Array.prototype.slice - .call(base.querySelectorAll('dfn')) - .forEach(function (item) { - var titles = getDfnTitles(item); - var n = addId(item, 'dfn', titles[0]); - - if (n) { - termNames[n] = item.parentNode; - } - }); - - return base.innerHTML; -} + "use strict"; + var base = document.createElement("div"); + base.innerHTML = content; + updateReferences(base); + + // strategy: Traverse the content finding all of the terms defined + Array.prototype.slice + .call(base.querySelectorAll("dfn")) + .forEach(function (item) { + var titles = getDfnTitles(item); + var n = addId(item, "dfn", titles[0]); + if (n) { + termNames[n] = item.parentNode; + } + }); + return base.innerHTML; +} // included files are brought in after proProc. Create a DOM tree // of content then call the updateReferences method above on it. Return // the transformed content function fixIncludes(utils, content) { - 'use strict'; - var base = document.createElement('div'); - base.innerHTML = content; - updateReferences(base); - return base.innerHTML; + "use strict"; + var base = document.createElement("div"); + base.innerHTML = content; + updateReferences(base); + return base.innerHTML; } diff --git a/common/script/roleInfo.js b/common/script/roleInfo.js index b0cb7e0a96..ea0b72cce3 100644 --- a/common/script/roleInfo.js +++ b/common/script/roleInfo.js @@ -1,8971 +1,8757 @@ -/* This file is generated - do not modify */var roleInfo = { - "alert": { - "name": "alert", - "fragID": "alert", - "parentRoles": [ - "section" - ], - "localprops": [], - "allprops": [ - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "alertdialog": { - "name": "alertdialog", - "fragID": "alertdialog", - "parentRoles": [ - "alert", - "dialog" - ], - "localprops": [] - }, - "application": { - "name": "application", - "fragID": "application", - "parentRoles": [ - "structure" - ], - "localprops": [ - { - "is": "property", - "name": "aria-activedescendant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-expanded", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "article": { - "name": "article", - "fragID": "article", - "parentRoles": [ - "document" - ], - "localprops": [ - { - "is": "property", - "name": "aria-posinset", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-setsize", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "property", - "name": "aria-posinset", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-setsize", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "associationlist": { - "name": "associationlist", - "fragID": "associationlist", - "parentRoles": [ - "section" - ], - "localprops": [] - }, - "associationlistitemkey": { - "name": "associationlistitemkey", - "fragID": "associationlistitemkey", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-level", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-posinset", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-setsize", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "associationlistitemvalue": { - "name": "associationlistitemvalue", - "fragID": "associationlistitemvalue", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-posinset", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-setsize", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "banner": { - "name": "banner", - "fragID": "banner", - "parentRoles": [ - "landmark" - ], - "localprops": [] - }, - "blockquote": { - "name": "blockquote", - "fragID": "blockquote", - "parentRoles": [ - "section" - ], - "localprops": [] - }, - "button": { - "name": "button", - "fragID": "button", - "parentRoles": [ - "command" - ], - "localprops": [ - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-expanded", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-pressed", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "caption": { - "name": "caption", - "fragID": "caption", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": true, - "deprecated": false - } - ] - }, - "cell": { - "name": "cell", - "fragID": "cell", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-colindex", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-colindextext", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-colspan", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-rowindex", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-rowindextext", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-rowspan", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "property", - "name": "aria-colindex", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-colindextext", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-colspan", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-rowindex", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-rowindextext", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-rowspan", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "checkbox": { - "name": "checkbox", - "fragID": "checkbox", - "parentRoles": [ - "input" - ], - "localprops": [ - { - "is": "state", - "name": "aria-checked", - "required": true, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-expanded", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-readonly", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-required", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "state", - "name": "aria-checked", - "required": true, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-expanded", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-readonly", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-required", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "code": { - "name": "code", - "fragID": "code", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": true, - "deprecated": false - } - ] - }, - "columnheader": { - "name": "columnheader", - "fragID": "columnheader", - "parentRoles": [ - "cell", - "gridcell", - "sectionhead" - ], - "localprops": [ - { - "is": "property", - "name": "aria-sort", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "combobox": { - "name": "combobox", - "fragID": "combobox", - "parentRoles": [ - "input" - ], - "localprops": [ - { - "is": "state", - "name": "aria-expanded", - "required": true, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-activedescendant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-autocomplete", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-readonly", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-required", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "command": { - "name": "command", - "fragID": "command", - "parentRoles": [ - "widget" - ], - "localprops": [], - "allprops": [ - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "comment": { - "name": "comment", - "fragID": "comment", - "parentRoles": [ - "article" - ], - "localprops": [ - { - "is": "property", - "name": "aria-level", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-posinset", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-setsize", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "complementary": { - "name": "complementary", - "fragID": "complementary", - "parentRoles": [ - "landmark" - ], - "localprops": [] - }, - "composite": { - "name": "composite", - "fragID": "composite", - "parentRoles": [ - "widget" - ], - "localprops": [ - { - "is": "property", - "name": "aria-activedescendant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "property", - "name": "aria-activedescendant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "contentinfo": { - "name": "contentinfo", - "fragID": "contentinfo", - "parentRoles": [ - "landmark" - ], - "localprops": [] - }, - "definition": { - "name": "definition", - "fragID": "definition", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": true, - "deprecated": false - } - ] - }, - "deletion": { - "name": "deletion", - "fragID": "deletion", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": true, - "deprecated": false - } - ] - }, - "dialog": { - "name": "dialog", - "fragID": "dialog", - "parentRoles": [ - "window" - ], - "localprops": [], - "allprops": [ - { - "is": "property", - "name": "aria-modal", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "directory": { - "name": "directory", - "fragID": "directory", - "parentRoles": [ - "list" - ], - "localprops": [] - }, - "document": { - "name": "document", - "fragID": "document", - "parentRoles": [ - "structure" - ], - "localprops": [], - "allprops": [ - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "emphasis": { - "name": "emphasis", - "fragID": "emphasis", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": true, - "deprecated": false - } - ] - }, - "feed": { - "name": "feed", - "fragID": "feed", - "parentRoles": [ - "list" - ], - "localprops": [] - }, - "figure": { - "name": "figure", - "fragID": "figure", - "parentRoles": [ - "section" - ], - "localprops": [] - }, - "form": { - "name": "form", - "fragID": "form", - "parentRoles": [ - "landmark" - ], - "localprops": [] - }, - "generic": { - "name": "generic", - "fragID": "generic", - "parentRoles": [ - "structure" - ], - "localprops": [ - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": true, - "deprecated": false - } - ] - }, - "grid": { - "name": "grid", - "fragID": "grid", - "parentRoles": [ - "composite", - "table" - ], - "localprops": [ - { - "is": "property", - "name": "aria-multiselectable", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-readonly", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "property", - "name": "aria-multiselectable", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-readonly", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-activedescendant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-colcount", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-rowcount", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "gridcell": { - "name": "gridcell", - "fragID": "gridcell", - "parentRoles": [ - "cell", - "widget" - ], - "localprops": [ - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-expanded", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-readonly", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-required", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-selected", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-expanded", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-readonly", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-required", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-selected", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-colindex", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-colindextext", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-colspan", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-rowindex", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-rowindextext", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-rowspan", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "group": { - "name": "group", - "fragID": "group", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-activedescendant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "property", - "name": "aria-activedescendant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "heading": { - "name": "heading", - "fragID": "heading", - "parentRoles": [ - "sectionhead" - ], - "localprops": [ - { - "is": "property", - "name": "aria-level", - "required": true, - "disallowed": false, - "deprecated": false - } - ] - }, - "image": { - "name": "image", - "fragID": "image", - "parentRoles": [], - "localprops": [] - }, - "img": { - "name": "img", - "fragID": "img", - "parentRoles": [ - "section" - ], - "localprops": [] - }, - "input": { - "name": "input", - "fragID": "input", - "parentRoles": [ - "widget" - ], - "localprops": [ - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "insertion": { - "name": "insertion", - "fragID": "insertion", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": true, - "deprecated": false - } - ] - }, - "landmark": { - "name": "landmark", - "fragID": "landmark", - "parentRoles": [ - "section" - ], - "localprops": [], - "allprops": [ - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "link": { - "name": "link", - "fragID": "link", - "parentRoles": [ - "command" - ], - "localprops": [ - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-expanded", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "list": { - "name": "list", - "fragID": "list", - "parentRoles": [ - "section" - ], - "localprops": [], - "allprops": [ - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "listbox": { - "name": "listbox", - "fragID": "listbox", - "parentRoles": [ - "select" - ], - "localprops": [ - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-expanded", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-multiselectable", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-readonly", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-required", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "listitem": { - "name": "listitem", - "fragID": "listitem", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-posinset", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-setsize", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "property", - "name": "aria-posinset", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-setsize", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "log": { - "name": "log", - "fragID": "log", - "parentRoles": [ - "section" - ], - "localprops": [] - }, - "main": { - "name": "main", - "fragID": "main", - "parentRoles": [ - "landmark" - ], - "localprops": [] - }, - "mark": { - "name": "mark", - "fragID": "mark", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": true, - "deprecated": false - } - ] - }, - "marquee": { - "name": "marquee", - "fragID": "marquee", - "parentRoles": [ - "section" - ], - "localprops": [] - }, - "math": { - "name": "math", - "fragID": "math", - "parentRoles": [ - "section" - ], - "localprops": [] - }, - "menu": { - "name": "menu", - "fragID": "menu", - "parentRoles": [ - "select" - ], - "localprops": [], - "allprops": [ - { - "is": "property", - "name": "aria-orientation", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-activedescendant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-activedescendant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "menubar": { - "name": "menubar", - "fragID": "menubar", - "parentRoles": [ - "menu" - ], - "localprops": [] - }, - "menuitem": { - "name": "menuitem", - "fragID": "menuitem", - "parentRoles": [ - "command" - ], - "localprops": [ - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-expanded", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-posinset", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-setsize", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-expanded", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-posinset", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-setsize", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "menuitemcheckbox": { - "name": "menuitemcheckbox", - "fragID": "menuitemcheckbox", - "parentRoles": [ - "menuitem" - ], - "localprops": [ - { - "is": "state", - "name": "aria-checked", - "required": true, - "disallowed": false, - "deprecated": false - } - ] - }, - "menuitemradio": { - "name": "menuitemradio", - "fragID": "menuitemradio", - "parentRoles": [ - "menuitem" - ], - "localprops": [ - { - "is": "state", - "name": "aria-checked", - "required": true, - "disallowed": false, - "deprecated": false - } - ] - }, - "meter": { - "name": "meter", - "fragID": "meter", - "parentRoles": [ - "range" - ], - "localprops": [ - { - "is": "property", - "name": "aria-valuenow", - "required": true, - "disallowed": false, - "deprecated": false - } - ] - }, - "navigation": { - "name": "navigation", - "fragID": "navigation", - "parentRoles": [ - "landmark" - ], - "localprops": [] - }, - "none": { - "name": "none", - "fragID": "none", - "parentRoles": [], - "localprops": [] - }, - "note": { - "name": "note", - "fragID": "note", - "parentRoles": [ - "section" - ], - "localprops": [] - }, - "option": { - "name": "option", - "fragID": "option", - "parentRoles": [ - "input" - ], - "localprops": [ - { - "is": "state", - "name": "aria-checked", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-posinset", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-selected", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-setsize", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "state", - "name": "aria-checked", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-posinset", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-selected", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-setsize", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "paragraph": { - "name": "paragraph", - "fragID": "paragraph", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": true, - "deprecated": false - } - ] - }, - "presentation": { - "name": "presentation", - "fragID": "presentation", - "parentRoles": [ - "structure" - ], - "localprops": [ - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": true, - "deprecated": false - } - ] - }, - "progressbar": { - "name": "progressbar", - "fragID": "progressbar", - "parentRoles": [ - "range", - "widget" - ], - "localprops": [] - }, - "radio": { - "name": "radio", - "fragID": "radio", - "parentRoles": [ - "input" - ], - "localprops": [ - { - "is": "state", - "name": "aria-checked", - "required": true, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-posinset", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-setsize", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "radiogroup": { - "name": "radiogroup", - "fragID": "radiogroup", - "parentRoles": [ - "select" - ], - "localprops": [ - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-readonly", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-required", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "range": { - "name": "range", - "fragID": "range", - "parentRoles": [ - "structure" - ], - "localprops": [ - { - "is": "property", - "name": "aria-valuemax", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuemin", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuenow", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuetext", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "property", - "name": "aria-valuemax", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuemin", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuenow", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuetext", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "region": { - "name": "region", - "fragID": "region", - "parentRoles": [ - "landmark" - ], - "localprops": [] - }, - "roletype": { - "name": "roletype", - "fragID": "roletype", - "parentRoles": [], - "localprops": [ - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "row": { - "name": "row", - "fragID": "row", - "parentRoles": [ - "group", - "widget" - ], - "localprops": [ - { - "is": "property", - "name": "aria-colindex", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-expanded", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-level", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-posinset", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-rowindex", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-rowindextext", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-setsize", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-selected", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "rowgroup": { - "name": "rowgroup", - "fragID": "rowgroup", - "parentRoles": [ - "structure" - ], - "localprops": [] - }, - "rowheader": { - "name": "rowheader", - "fragID": "rowheader", - "parentRoles": [ - "cell", - "gridcell", - "sectionhead" - ], - "localprops": [ - { - "is": "state", - "name": "aria-expanded", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-sort", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "scrollbar": { - "name": "scrollbar", - "fragID": "scrollbar", - "parentRoles": [ - "range", - "widget" - ], - "localprops": [ - { - "is": "property", - "name": "aria-controls", - "required": true, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuenow", - "required": true, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-orientation", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuemax", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuemin", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "search": { - "name": "search", - "fragID": "search", - "parentRoles": [ - "landmark" - ], - "localprops": [] - }, - "searchbox": { - "name": "searchbox", - "fragID": "searchbox", - "parentRoles": [ - "textbox" - ], - "localprops": [] - }, - "section": { - "name": "section", - "fragID": "section", - "parentRoles": [ - "structure" - ], - "localprops": [], - "allprops": [ - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "sectionhead": { - "name": "sectionhead", - "fragID": "sectionhead", - "parentRoles": [ - "structure" - ], - "localprops": [], - "allprops": [ - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "select": { - "name": "select", - "fragID": "select", - "parentRoles": [ - "composite", - "group" - ], - "localprops": [ - { - "is": "property", - "name": "aria-orientation", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "property", - "name": "aria-orientation", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-activedescendant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-activedescendant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "separator": { - "name": "separator", - "fragID": "separator", - "parentRoles": [ - "structure", - "widget" - ], - "localprops": [ - { - "is": "property", - "name": "aria-valuenow", - "required": true, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-orientation", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuemax", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuemin", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuetext", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "slider": { - "name": "slider", - "fragID": "slider", - "parentRoles": [ - "input", - "range" - ], - "localprops": [ - { - "is": "property", - "name": "aria-valuenow", - "required": true, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-orientation", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-readonly", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuemax", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuemin", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "spinbutton": { - "name": "spinbutton", - "fragID": "spinbutton", - "parentRoles": [ - "composite", - "input", - "range" - ], - "localprops": [ - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-readonly", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-required", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuemax", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuemin", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuenow", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-valuetext", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "status": { - "name": "status", - "fragID": "status", - "parentRoles": [ - "section" - ], - "localprops": [], - "allprops": [ - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "strong": { - "name": "strong", - "fragID": "strong", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": true, - "deprecated": false - } - ] - }, - "structure": { - "name": "structure", - "fragID": "structure", - "parentRoles": [ - "roletype" - ], - "localprops": [], - "allprops": [ - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "subscript": { - "name": "subscript", - "fragID": "subscript", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": true, - "deprecated": false - } - ] - }, - "suggestion": { - "name": "suggestion", - "fragID": "suggestion", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": true, - "deprecated": false - } - ] - }, - "superscript": { - "name": "superscript", - "fragID": "superscript", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": true, - "deprecated": false - } - ] - }, - "switch": { - "name": "switch", - "fragID": "switch", - "parentRoles": [ - "checkbox" - ], - "localprops": [ - { - "is": "state", - "name": "aria-checked", - "required": true, - "disallowed": false, - "deprecated": false - } - ] - }, - "tab": { - "name": "tab", - "fragID": "tab", - "parentRoles": [ - "sectionhead", - "widget" - ], - "localprops": [ - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-expanded", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-posinset", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-selected", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-setsize", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "table": { - "name": "table", - "fragID": "table", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-colcount", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-rowcount", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "property", - "name": "aria-colcount", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-rowcount", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "tablist": { - "name": "tablist", - "fragID": "tablist", - "parentRoles": [ - "composite" - ], - "localprops": [ - { - "is": "property", - "name": "aria-multiselectable", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-orientation", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "tabpanel": { - "name": "tabpanel", - "fragID": "tabpanel", - "parentRoles": [ - "section" - ], - "localprops": [] - }, - "term": { - "name": "term", - "fragID": "term", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": true, - "deprecated": false - } - ] - }, - "textbox": { - "name": "textbox", - "fragID": "textbox", - "parentRoles": [ - "input" - ], - "localprops": [ - { - "is": "property", - "name": "aria-activedescendant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-autocomplete", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-multiline", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-placeholder", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-readonly", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-required", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "property", - "name": "aria-activedescendant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-autocomplete", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-multiline", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-placeholder", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-readonly", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-required", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "time": { - "name": "time", - "fragID": "time", - "parentRoles": [ - "section" - ], - "localprops": [ - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": true, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": true, - "deprecated": false - } - ] - }, - "timer": { - "name": "timer", - "fragID": "timer", - "parentRoles": [ - "status" - ], - "localprops": [] - }, - "toolbar": { - "name": "toolbar", - "fragID": "toolbar", - "parentRoles": [ - "group" - ], - "localprops": [ - { - "is": "property", - "name": "aria-orientation", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "tooltip": { - "name": "tooltip", - "fragID": "tooltip", - "parentRoles": [ - "section" - ], - "localprops": [] - }, - "tree": { - "name": "tree", - "fragID": "tree", - "parentRoles": [ - "select" - ], - "localprops": [ - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-multiselectable", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-required", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-multiselectable", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-required", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-orientation", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-activedescendant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-activedescendant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "treegrid": { - "name": "treegrid", - "fragID": "treegrid", - "parentRoles": [ - "grid", - "tree" - ], - "localprops": [] - }, - "treeitem": { - "name": "treeitem", - "fragID": "treeitem", - "parentRoles": [ - "listitem", - "option" - ], - "localprops": [ - { - "is": "state", - "name": "aria-expanded", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-level", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "widget": { - "name": "widget", - "fragID": "widget", - "parentRoles": [ - "roletype" - ], - "localprops": [], - "allprops": [ - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - }, - "window": { - "name": "window", - "fragID": "window", - "parentRoles": [ - "roletype" - ], - "localprops": [ - { - "is": "property", - "name": "aria-modal", - "required": false, - "disallowed": false, - "deprecated": false - } - ], - "allprops": [ - { - "is": "property", - "name": "aria-modal", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-atomic", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-braillelabel", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-brailleroledescription", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-busy", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-controls", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-current", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-describedby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-description", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-details", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-disabled", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-dropeffect", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-errormessage", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-flowto", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-grabbed", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-haspopup", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "state", - "name": "aria-hidden", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "state", - "name": "aria-invalid", - "required": false, - "disallowed": false, - "deprecated": true - }, - { - "is": "property", - "name": "aria-keyshortcuts", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-label", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-labelledby", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-live", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-owns", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-relevant", - "required": false, - "disallowed": false, - "deprecated": false - }, - { - "is": "property", - "name": "aria-roledescription", - "required": false, - "disallowed": false, - "deprecated": false - } - ] - } -} \ No newline at end of file +/* This file is generated - do not modify */ var roleInfo = { + alert: { + name: "alert", + fragID: "alert", + parentRoles: ["section"], + localprops: [], + allprops: [ + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + alertdialog: { + name: "alertdialog", + fragID: "alertdialog", + parentRoles: ["alert", "dialog"], + localprops: [], + }, + application: { + name: "application", + fragID: "application", + parentRoles: ["structure"], + localprops: [ + { + is: "property", + name: "aria-activedescendant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-expanded", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + article: { + name: "article", + fragID: "article", + parentRoles: ["document"], + localprops: [ + { + is: "property", + name: "aria-posinset", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-setsize", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "property", + name: "aria-posinset", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-setsize", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + associationlist: { + name: "associationlist", + fragID: "associationlist", + parentRoles: ["section"], + localprops: [], + }, + associationlistitemkey: { + name: "associationlistitemkey", + fragID: "associationlistitemkey", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-level", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-posinset", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-setsize", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + associationlistitemvalue: { + name: "associationlistitemvalue", + fragID: "associationlistitemvalue", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-posinset", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-setsize", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + banner: { + name: "banner", + fragID: "banner", + parentRoles: ["landmark"], + localprops: [], + }, + blockquote: { + name: "blockquote", + fragID: "blockquote", + parentRoles: ["section"], + localprops: [], + }, + button: { + name: "button", + fragID: "button", + parentRoles: ["command"], + localprops: [ + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-expanded", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-pressed", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + caption: { + name: "caption", + fragID: "caption", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-label", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: true, + deprecated: false, + }, + ], + }, + cell: { + name: "cell", + fragID: "cell", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-colindex", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-colindextext", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-colspan", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-rowindex", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-rowindextext", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-rowspan", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "property", + name: "aria-colindex", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-colindextext", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-colspan", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-rowindex", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-rowindextext", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-rowspan", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + checkbox: { + name: "checkbox", + fragID: "checkbox", + parentRoles: ["input"], + localprops: [ + { + is: "state", + name: "aria-checked", + required: true, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-expanded", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-readonly", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-required", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "state", + name: "aria-checked", + required: true, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-expanded", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-readonly", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-required", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + code: { + name: "code", + fragID: "code", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-label", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: true, + deprecated: false, + }, + ], + }, + columnheader: { + name: "columnheader", + fragID: "columnheader", + parentRoles: ["cell", "gridcell", "sectionhead"], + localprops: [ + { + is: "property", + name: "aria-sort", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + combobox: { + name: "combobox", + fragID: "combobox", + parentRoles: ["input"], + localprops: [ + { + is: "state", + name: "aria-expanded", + required: true, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-activedescendant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-autocomplete", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-readonly", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-required", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + command: { + name: "command", + fragID: "command", + parentRoles: ["widget"], + localprops: [], + allprops: [ + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + comment: { + name: "comment", + fragID: "comment", + parentRoles: ["article"], + localprops: [ + { + is: "property", + name: "aria-level", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-posinset", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-setsize", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + complementary: { + name: "complementary", + fragID: "complementary", + parentRoles: ["landmark"], + localprops: [], + }, + composite: { + name: "composite", + fragID: "composite", + parentRoles: ["widget"], + localprops: [ + { + is: "property", + name: "aria-activedescendant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "property", + name: "aria-activedescendant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + contentinfo: { + name: "contentinfo", + fragID: "contentinfo", + parentRoles: ["landmark"], + localprops: [], + }, + definition: { + name: "definition", + fragID: "definition", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-label", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: true, + deprecated: false, + }, + ], + }, + deletion: { + name: "deletion", + fragID: "deletion", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-label", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: true, + deprecated: false, + }, + ], + }, + dialog: { + name: "dialog", + fragID: "dialog", + parentRoles: ["window"], + localprops: [], + allprops: [ + { + is: "property", + name: "aria-modal", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + directory: { + name: "directory", + fragID: "directory", + parentRoles: ["list"], + localprops: [], + }, + document: { + name: "document", + fragID: "document", + parentRoles: ["structure"], + localprops: [], + allprops: [ + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + emphasis: { + name: "emphasis", + fragID: "emphasis", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-label", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: true, + deprecated: false, + }, + ], + }, + feed: { + name: "feed", + fragID: "feed", + parentRoles: ["list"], + localprops: [], + }, + figure: { + name: "figure", + fragID: "figure", + parentRoles: ["section"], + localprops: [], + }, + form: { + name: "form", + fragID: "form", + parentRoles: ["landmark"], + localprops: [], + }, + generic: { + name: "generic", + fragID: "generic", + parentRoles: ["structure"], + localprops: [ + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: true, + deprecated: false, + }, + ], + }, + grid: { + name: "grid", + fragID: "grid", + parentRoles: ["composite", "table"], + localprops: [ + { + is: "property", + name: "aria-multiselectable", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-readonly", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "property", + name: "aria-multiselectable", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-readonly", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-activedescendant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-colcount", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-rowcount", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + gridcell: { + name: "gridcell", + fragID: "gridcell", + parentRoles: ["cell", "widget"], + localprops: [ + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-expanded", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-readonly", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-required", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-selected", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-expanded", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-readonly", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-required", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-selected", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-colindex", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-colindextext", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-colspan", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-rowindex", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-rowindextext", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-rowspan", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + group: { + name: "group", + fragID: "group", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-activedescendant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "property", + name: "aria-activedescendant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + heading: { + name: "heading", + fragID: "heading", + parentRoles: ["sectionhead"], + localprops: [ + { + is: "property", + name: "aria-level", + required: true, + disallowed: false, + deprecated: false, + }, + ], + }, + image: { + name: "image", + fragID: "image", + parentRoles: [], + localprops: [], + }, + img: { + name: "img", + fragID: "img", + parentRoles: ["section"], + localprops: [], + }, + input: { + name: "input", + fragID: "input", + parentRoles: ["widget"], + localprops: [ + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + insertion: { + name: "insertion", + fragID: "insertion", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-label", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: true, + deprecated: false, + }, + ], + }, + landmark: { + name: "landmark", + fragID: "landmark", + parentRoles: ["section"], + localprops: [], + allprops: [ + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + link: { + name: "link", + fragID: "link", + parentRoles: ["command"], + localprops: [ + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-expanded", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + list: { + name: "list", + fragID: "list", + parentRoles: ["section"], + localprops: [], + allprops: [ + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + listbox: { + name: "listbox", + fragID: "listbox", + parentRoles: ["select"], + localprops: [ + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-expanded", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-multiselectable", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-readonly", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-required", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + listitem: { + name: "listitem", + fragID: "listitem", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-posinset", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-setsize", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "property", + name: "aria-posinset", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-setsize", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + log: { + name: "log", + fragID: "log", + parentRoles: ["section"], + localprops: [], + }, + main: { + name: "main", + fragID: "main", + parentRoles: ["landmark"], + localprops: [], + }, + mark: { + name: "mark", + fragID: "mark", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-label", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: true, + deprecated: false, + }, + ], + }, + marquee: { + name: "marquee", + fragID: "marquee", + parentRoles: ["section"], + localprops: [], + }, + math: { + name: "math", + fragID: "math", + parentRoles: ["section"], + localprops: [], + }, + menu: { + name: "menu", + fragID: "menu", + parentRoles: ["select"], + localprops: [], + allprops: [ + { + is: "property", + name: "aria-orientation", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-activedescendant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-activedescendant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + menubar: { + name: "menubar", + fragID: "menubar", + parentRoles: ["menu"], + localprops: [], + }, + menuitem: { + name: "menuitem", + fragID: "menuitem", + parentRoles: ["command"], + localprops: [ + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-expanded", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-posinset", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-setsize", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-expanded", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-posinset", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-setsize", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + menuitemcheckbox: { + name: "menuitemcheckbox", + fragID: "menuitemcheckbox", + parentRoles: ["menuitem"], + localprops: [ + { + is: "state", + name: "aria-checked", + required: true, + disallowed: false, + deprecated: false, + }, + ], + }, + menuitemradio: { + name: "menuitemradio", + fragID: "menuitemradio", + parentRoles: ["menuitem"], + localprops: [ + { + is: "state", + name: "aria-checked", + required: true, + disallowed: false, + deprecated: false, + }, + ], + }, + meter: { + name: "meter", + fragID: "meter", + parentRoles: ["range"], + localprops: [ + { + is: "property", + name: "aria-valuenow", + required: true, + disallowed: false, + deprecated: false, + }, + ], + }, + navigation: { + name: "navigation", + fragID: "navigation", + parentRoles: ["landmark"], + localprops: [], + }, + none: { + name: "none", + fragID: "none", + parentRoles: [], + localprops: [], + }, + note: { + name: "note", + fragID: "note", + parentRoles: ["section"], + localprops: [], + }, + option: { + name: "option", + fragID: "option", + parentRoles: ["input"], + localprops: [ + { + is: "state", + name: "aria-checked", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-posinset", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-selected", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-setsize", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "state", + name: "aria-checked", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-posinset", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-selected", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-setsize", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + paragraph: { + name: "paragraph", + fragID: "paragraph", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-label", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: true, + deprecated: false, + }, + ], + }, + presentation: { + name: "presentation", + fragID: "presentation", + parentRoles: ["structure"], + localprops: [ + { + is: "property", + name: "aria-label", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: true, + deprecated: false, + }, + ], + }, + progressbar: { + name: "progressbar", + fragID: "progressbar", + parentRoles: ["range", "widget"], + localprops: [], + }, + radio: { + name: "radio", + fragID: "radio", + parentRoles: ["input"], + localprops: [ + { + is: "state", + name: "aria-checked", + required: true, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-posinset", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-setsize", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + radiogroup: { + name: "radiogroup", + fragID: "radiogroup", + parentRoles: ["select"], + localprops: [ + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-readonly", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-required", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + range: { + name: "range", + fragID: "range", + parentRoles: ["structure"], + localprops: [ + { + is: "property", + name: "aria-valuemax", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuemin", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuenow", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuetext", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "property", + name: "aria-valuemax", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuemin", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuenow", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuetext", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + region: { + name: "region", + fragID: "region", + parentRoles: ["landmark"], + localprops: [], + }, + roletype: { + name: "roletype", + fragID: "roletype", + parentRoles: [], + localprops: [ + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + row: { + name: "row", + fragID: "row", + parentRoles: ["group", "widget"], + localprops: [ + { + is: "property", + name: "aria-colindex", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-expanded", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-level", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-posinset", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-rowindex", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-rowindextext", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-setsize", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-selected", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + rowgroup: { + name: "rowgroup", + fragID: "rowgroup", + parentRoles: ["structure"], + localprops: [], + }, + rowheader: { + name: "rowheader", + fragID: "rowheader", + parentRoles: ["cell", "gridcell", "sectionhead"], + localprops: [ + { + is: "state", + name: "aria-expanded", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-sort", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + scrollbar: { + name: "scrollbar", + fragID: "scrollbar", + parentRoles: ["range", "widget"], + localprops: [ + { + is: "property", + name: "aria-controls", + required: true, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuenow", + required: true, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-orientation", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuemax", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuemin", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + search: { + name: "search", + fragID: "search", + parentRoles: ["landmark"], + localprops: [], + }, + searchbox: { + name: "searchbox", + fragID: "searchbox", + parentRoles: ["textbox"], + localprops: [], + }, + section: { + name: "section", + fragID: "section", + parentRoles: ["structure"], + localprops: [], + allprops: [ + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + sectionhead: { + name: "sectionhead", + fragID: "sectionhead", + parentRoles: ["structure"], + localprops: [], + allprops: [ + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + select: { + name: "select", + fragID: "select", + parentRoles: ["composite", "group"], + localprops: [ + { + is: "property", + name: "aria-orientation", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "property", + name: "aria-orientation", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-activedescendant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-activedescendant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + separator: { + name: "separator", + fragID: "separator", + parentRoles: ["structure", "widget"], + localprops: [ + { + is: "property", + name: "aria-valuenow", + required: true, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-orientation", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuemax", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuemin", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuetext", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + slider: { + name: "slider", + fragID: "slider", + parentRoles: ["input", "range"], + localprops: [ + { + is: "property", + name: "aria-valuenow", + required: true, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-orientation", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-readonly", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuemax", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuemin", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + spinbutton: { + name: "spinbutton", + fragID: "spinbutton", + parentRoles: ["composite", "input", "range"], + localprops: [ + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-readonly", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-required", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuemax", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuemin", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuenow", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-valuetext", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + status: { + name: "status", + fragID: "status", + parentRoles: ["section"], + localprops: [], + allprops: [ + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + strong: { + name: "strong", + fragID: "strong", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-label", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: true, + deprecated: false, + }, + ], + }, + structure: { + name: "structure", + fragID: "structure", + parentRoles: ["roletype"], + localprops: [], + allprops: [ + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + subscript: { + name: "subscript", + fragID: "subscript", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-label", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: true, + deprecated: false, + }, + ], + }, + suggestion: { + name: "suggestion", + fragID: "suggestion", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-label", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: true, + deprecated: false, + }, + ], + }, + superscript: { + name: "superscript", + fragID: "superscript", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-label", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: true, + deprecated: false, + }, + ], + }, + switch: { + name: "switch", + fragID: "switch", + parentRoles: ["checkbox"], + localprops: [ + { + is: "state", + name: "aria-checked", + required: true, + disallowed: false, + deprecated: false, + }, + ], + }, + tab: { + name: "tab", + fragID: "tab", + parentRoles: ["sectionhead", "widget"], + localprops: [ + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-expanded", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-posinset", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-selected", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-setsize", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + table: { + name: "table", + fragID: "table", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-colcount", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-rowcount", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "property", + name: "aria-colcount", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-rowcount", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + tablist: { + name: "tablist", + fragID: "tablist", + parentRoles: ["composite"], + localprops: [ + { + is: "property", + name: "aria-multiselectable", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-orientation", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + tabpanel: { + name: "tabpanel", + fragID: "tabpanel", + parentRoles: ["section"], + localprops: [], + }, + term: { + name: "term", + fragID: "term", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-label", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: true, + deprecated: false, + }, + ], + }, + textbox: { + name: "textbox", + fragID: "textbox", + parentRoles: ["input"], + localprops: [ + { + is: "property", + name: "aria-activedescendant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-autocomplete", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-multiline", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-placeholder", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-readonly", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-required", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "property", + name: "aria-activedescendant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-autocomplete", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-multiline", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-placeholder", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-readonly", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-required", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + time: { + name: "time", + fragID: "time", + parentRoles: ["section"], + localprops: [ + { + is: "property", + name: "aria-label", + required: false, + disallowed: true, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: true, + deprecated: false, + }, + ], + }, + timer: { + name: "timer", + fragID: "timer", + parentRoles: ["status"], + localprops: [], + }, + toolbar: { + name: "toolbar", + fragID: "toolbar", + parentRoles: ["group"], + localprops: [ + { + is: "property", + name: "aria-orientation", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + tooltip: { + name: "tooltip", + fragID: "tooltip", + parentRoles: ["section"], + localprops: [], + }, + tree: { + name: "tree", + fragID: "tree", + parentRoles: ["select"], + localprops: [ + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-multiselectable", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-required", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-multiselectable", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-required", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-orientation", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-activedescendant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-activedescendant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + treegrid: { + name: "treegrid", + fragID: "treegrid", + parentRoles: ["grid", "tree"], + localprops: [], + }, + treeitem: { + name: "treeitem", + fragID: "treeitem", + parentRoles: ["listitem", "option"], + localprops: [ + { + is: "state", + name: "aria-expanded", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-level", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + widget: { + name: "widget", + fragID: "widget", + parentRoles: ["roletype"], + localprops: [], + allprops: [ + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, + window: { + name: "window", + fragID: "window", + parentRoles: ["roletype"], + localprops: [ + { + is: "property", + name: "aria-modal", + required: false, + disallowed: false, + deprecated: false, + }, + ], + allprops: [ + { + is: "property", + name: "aria-modal", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-atomic", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-braillelabel", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-brailleroledescription", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-busy", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-controls", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-current", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-describedby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-description", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-details", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-disabled", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-dropeffect", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-errormessage", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-flowto", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-grabbed", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-haspopup", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "state", + name: "aria-hidden", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "state", + name: "aria-invalid", + required: false, + disallowed: false, + deprecated: true, + }, + { + is: "property", + name: "aria-keyshortcuts", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-label", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-labelledby", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-live", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-owns", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-relevant", + required: false, + disallowed: false, + deprecated: false, + }, + { + is: "property", + name: "aria-roledescription", + required: false, + disallowed: false, + deprecated: false, + }, + ], + }, +}; diff --git a/common/script/utility.js b/common/script/utility.js index 03b876b9a2..398313383a 100644 --- a/common/script/utility.js +++ b/common/script/utility.js @@ -5,12 +5,14 @@ // In AAMs to change Authors to Platform Mapping Maintainers in the header function addPlatformMaintainers() { - document.querySelectorAll("div.head dt").forEach(function(node){ - if (node.textContent.trim() == "Authors:") node.textContent = "Platform Mapping Maintainers:"; - }) + document.querySelectorAll("div.head dt").forEach(function (node) { + if (node.textContent.trim() == "Authors:") + node.textContent = "Platform Mapping Maintainers:"; + }); } function fixContributors() { - document.querySelectorAll("#gh-contributors li a").forEach(function(node){ - if (node.textContent.indexOf("[bot]") > 0) node.parentElement.parentElement.removeChild(node.parentElement); - }) -} \ No newline at end of file + document.querySelectorAll("#gh-contributors li a").forEach(function (node) { + if (node.textContent.indexOf("[bot]") > 0) + node.parentElement.parentElement.removeChild(node.parentElement); + }); +}