Skip to content

Commit 26b2772

Browse files
author
Erin Doyle
committed
Fixed a dead link pointing to the W3's aria role definitions document
1 parent be45b67 commit 26b2772

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/rules/onclick-uses-role.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ function of an element.
3333

3434
## See also
3535

36-
- [This document](http://www.w3.org/TR/wai-aria/roles#role_definitions) from w3.org
36+
- [This document](https://www.w3.org/WAI/PF/aria/roles#role_definitions) from w3.org

src/rules/onclick-uses-role.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
export default [{
1010
msg: 'You have a click handler on a non-interactive element but no `role` DOM property. '
1111
+ 'It will be unclear what this element is supposed to do to a screen-reader user.',
12-
url: 'http://www.w3.org/TR/wai-aria/roles#role_definitions',
12+
url: 'https://www.w3.org/WAI/PF/aria/roles#role_definitions',
1313
affects: [
1414
devices.screenReaders
1515
],

0 commit comments

Comments
 (0)