diff --git a/lib/rules/object-alt.json b/lib/rules/object-alt.json index c5502d4c42..9e8d1366c1 100644 --- a/lib/rules/object-alt.json +++ b/lib/rules/object-alt.json @@ -14,7 +14,6 @@ }, "all": [], "any": [ - "has-visible-text", "aria-label", "aria-labelledby", "non-empty-title", diff --git a/test/integration/rules/object-alt/object-alt.html b/test/integration/rules/object-alt/object-alt.html index dd244e1871..dd50e7cbb7 100644 --- a/test/integration/rules/object-alt/object-alt.html +++ b/test/integration/rules/object-alt/object-alt.html @@ -1,18 +1,13 @@ -This object has text. - - + + this object has text - - - + + + +
-

This object has no text.

- - - +This object has text. diff --git a/test/integration/rules/object-alt/object-alt.json b/test/integration/rules/object-alt/object-alt.json index 36514678c4..74effa8fd2 100644 --- a/test/integration/rules/object-alt/object-alt.json +++ b/test/integration/rules/object-alt/object-alt.json @@ -10,14 +10,5 @@ ["#violation6"], ["#violation7"] ], - "passes": [ - ["#pass1"], - ["#pass2"], - ["#pass3"], - ["#pass4"], - ["#pass5"], - ["#pass6"], - ["#pass7"], - ["#pass8"] - ] + "passes": [["#pass1"], ["#pass2"], ["#pass3"], ["#pass4"], ["#pass5"]] } diff --git a/test/playground.html b/test/playground.html index 4a31de5eef..b249953f81 100644 --- a/test/playground.html +++ b/test/playground.html @@ -2,7 +2,68 @@ O hai -
foo
+
+
+ + Choose your animal sidekick + +
+
    + +
  • + Cat +
  • +
  • + Dog +
  • +
  • + Tiger +
  • +
  • + Reindeer +
  • +
  • + Raccoon +
  • +
+
    + +
  • + Dolphin +
  • +
  • + Flounder +
  • +
  • + Eel +
  • +
+
    + +
  • + Falcon +
  • +
  • + Winged Horse +
  • +
  • + Owl +
  • +
+
+
+