Skip to content

Commit

Permalink
Merge pull request #59 from scottaohara/patch-2
Browse files Browse the repository at this point in the history
mark directory as deprecated
  • Loading branch information
gezlemon authored Jan 17, 2022
2 parents 7e8e47a + 688acb7 commit d490dd3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions aria-usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ var objRoleRules = {
"requiredChild": null,
"requiredState": null,
"descendantRestrictions": null,
"supported": null
"supported": null,
"deprecated": true
},
"document": {
"requiredParent": null,
Expand Down Expand Up @@ -2029,8 +2030,8 @@ function checkRequiredState(objElement, strRole) {
var strType;
var i;

// Special condition for separator that isn"t focusable
// The role isn"t valid on native elements that receive keyboard focus,
// Special condition for separator that isn't focusable
// The role isn't valid on native elements that receive keyboard focus,
// so just check tabindex
if (strRole === "separator") {
i = objElement.getAttribute("tabindex");
Expand Down

0 comments on commit d490dd3

Please sign in to comment.