Skip to content

Commit

Permalink
Fixed a dead link pointing to the W3's aria role definitions document
Browse files Browse the repository at this point in the history
  • Loading branch information
Erin Doyle committed Sep 26, 2018
1 parent be45b67 commit 26b2772
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/rules/onclick-uses-role.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ function of an element.

## See also

- [This document](http://www.w3.org/TR/wai-aria/roles#role_definitions) from w3.org
- [This document](https://www.w3.org/WAI/PF/aria/roles#role_definitions) from w3.org
2 changes: 1 addition & 1 deletion src/rules/onclick-uses-role.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
export default [{
msg: 'You have a click handler on a non-interactive element but no `role` DOM property. '
+ 'It will be unclear what this element is supposed to do to a screen-reader user.',
url: 'http://www.w3.org/TR/wai-aria/roles#role_definitions',
url: 'https://www.w3.org/WAI/PF/aria/roles#role_definitions',
affects: [
devices.screenReaders
],
Expand Down

0 comments on commit 26b2772

Please sign in to comment.