Skip to content

Commit 93265cb

Browse files
qw-inbeefancohen
authored andcommitted
normalizedValues to values
1 parent 651366c commit 93265cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rules/aria-role.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ module.exports = {
5454
// value isn't in the form of a literal.
5555
if (value === undefined || value === null) { return; }
5656

57-
const normalizedValues = String(value).split(' ');
57+
const values = String(value).split(' ');
5858
const validRoles = [...roles.keys()].filter(role => roles.get(role).abstract === false);
59-
const isValid = normalizedValues.every(val => validRoles.indexOf(val) > -1);
59+
const isValid = values.every(val => validRoles.indexOf(val) > -1);
6060

6161
if (isValid === true) { return; }
6262

0 commit comments

Comments
 (0)