Skip to content

Commit

Permalink
fix: update copy in href-no-hash best practice rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcy Sutton authored and marcysutton committed Jun 14, 2017
1 parent fc51c57 commit e02753e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/checks/navigation/href-no-hash.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"metadata": {
"impact": "moderate",
"messages": {
"pass": "Anchor does not have a href quals #",
"fail": "Anchor has a href quals #"
"pass": "Anchor does not have an href value of #",
"fail": "Anchor has an href value of #"
}
}
}
2 changes: 1 addition & 1 deletion lib/rules/href-no-hash.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
],
"metadata": {
"description": "Ensures that href values are valid link references to promote only using anchors as links",
"help": "Anchors must only be used as links and must therefore have an href value that is a valid reference. Otherwise you should probably usa a button"
"help": "Anchors must only be used as links with valid URLs or URL fragments"
},
"all": [],
"any": [
Expand Down

0 comments on commit e02753e

Please sign in to comment.