Skip to content

Commit

Permalink
fix(rule): ensure DPUB ARIA roles are accepted by aXe 2.6
Browse files Browse the repository at this point in the history
aXe’s internal API, that Ace monkey patches to register DPUB ARIA Roles,
changed from 2.5 to 2.6.

This commit updates the monkey patch to make it applicable to aXe 2.6.x.

Fixes #140
  • Loading branch information
rdeltour committed Jan 10, 2018
1 parent 94c6420 commit 5cfd982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ace-core/src/scripts/axe-patch-arialookuptable.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,5 +356,5 @@
},
};

Object.assign(axe.commons.aria._lut.role, dpubRoles);
Object.assign(axe.commons.aria.lookupTable.role, dpubRoles);
}(window));

0 comments on commit 5cfd982

Please sign in to comment.