Skip to content

Commit

Permalink
Infrastructure: Update vnujar filtering to restore ignoring no alt on…
Browse files Browse the repository at this point in the history
… role=img (pull w3c#1468)

* Update vnujar filtering to ignore no alt on role=img, again
* Update vnu-jar
* Explicitly write both version of vnu-jar errors for alt errors
* Update .vnurc, remove old error
* Update .vnurc, escape asterix

Co-authored-by: Nick Schonning <nschonni@gmail.com>
Co-authored-by: Matt King <a11yThinker@Gmail.com>`
  • Loading branch information
spectranaut and nschonni committed Oct 22, 2020
1 parent 6485d4c commit a9bb774
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .vnurc
Expand Up @@ -4,7 +4,9 @@
# Proposed, tracking in gh-429
Bad value “” for attribute “aria-activedescendant” on element “ul”:.*
# Ignoring for Slider examples because it is forcing rule with role=img
Element “img” is missing required attribute “alt”.
An “img” element with no “alt” attribute must not have a “role” attribute.
An “img” element with no “alt” attribute must not have any “aria-\*” attributes other than “aria-hidden”.
An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.
# Ignoring aria-posinset and aria-setsize on role row
Attribute “aria-posinset” not allowed on element “tr” at this point.
Attribute “aria-setsize” not allowed on element “tr” at this point.
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -48,7 +48,7 @@
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^20.0.0",
"stylelint-prettier": "^1.1.2",
"vnu-jar": "^20.3.16"
"vnu-jar": "^20.6.30"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit a9bb774

Please sign in to comment.