Skip to content

Commit

Permalink
Infrastructure: Do not spell check idrefs in aria attribute values (p…
Browse files Browse the repository at this point in the history
…ull #1560)

Resolves issue #1559 by adding expressions to the ignore list in cspell.json that exclude the values of ARIA attributes, such as aria-labelledby, that have one or more IDREFs as their value.
  • Loading branch information
jnurthen committed Oct 12, 2020
1 parent 2cf2233 commit 78bb9a0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,14 @@
"src=\"(?:[^\\\"]+|\\.)*\"",
"class=\"(?:[^\\\"]+|\\.)*\"",
"data-test-id=\"(?:[^\\\"]+|\\.)*\"",
"aria-activedescendant=\"(?:[^\\\"]+|\\.)*\"",
"aria-controls=\"(?:[^\\\"]+|\\.)*\"",
"aria-describedby=\"(?:[^\\\"]+|\\.)*\"",
"aria-details=\"(?:[^\\\"]+|\\.)*\"",
"aria-errormessage=\"(?:[^\\\"]+|\\.)*\"",
"aria-flowto=\"(?:[^\\\"]+|\\.)*\"",
"aria-labelledby=\"(?:[^\\\"]+|\\.)*\"",
"aria-owns=\"(?:[^\\\"]+|\\.)*\"",
"href=\"(?:[^\\\"]+|\\.)*\"",
"for=\"(?:[^\\\"]+|\\.)*\"",
"data-(.*[=> ]?)"
Expand Down

0 comments on commit 78bb9a0

Please sign in to comment.