Skip to content

Commit

Permalink
fix(link-name): test role=link when there is no href (#1921)
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoFiers authored Dec 4, 2019
1 parent d11383a commit 6db28bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
9 changes: 5 additions & 4 deletions lib/rules/link-name.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"id": "link-name",
"selector": "a[href], [role=link][href]",
"matches": "role-not-button-matches.js",
"selector": "a[href]:not([role=button]), [role=link]",
"tags": [
"cat.name-role-value",
"wcag2a",
Expand All @@ -22,5 +21,7 @@
"role-presentation",
"role-none"
],
"none": ["focusable-no-name"]
}
"none": [
"focusable-no-name"
]
}
1 change: 0 additions & 1 deletion lib/rules/role-not-button-matches.js

This file was deleted.

0 comments on commit 6db28bc

Please sign in to comment.