{
  "rule": "focAll",
  "timeLimit": 20,
  "acts": [
    {
      "type": "launch",
      "target": {
        "url": "file://validation/tests/targets/focAll/good.html",
        "what": "fully Tab-focusable page"
      }
    },
    {
      "type": "test",
      "which": "testaro",
      "withItems": true,
      "stopOnFail": true,
      "expect": [
        [
          "standardResult.totals.2",
          "=",
          0
        ],
        [
          "standardResult.instances.length",
          "=",
          0
        ]
      ],
      "rules": [
        "y",
        "focAll"
      ]
    },
    {
      "type": "url",
      "which": "file://validation/tests/targets/focAll/less.html",
      "what": "partly Tab-focusable page"
    },
    {
      "type": "test",
      "which": "testaro",
      "withItems": true,
      "stopOnFail": true,
      "expect": [
        [
          "standardResult.totals.2",
          "=",
          1
        ],
        [
          "standardResult.totals.3",
          "=",
          0
        ],
        [
          "standardResult.instances.0.ruleID",
          "=",
          "focAll"
        ],
        [
          "standardResult.instances.0.what",
          "i",
          "vice versa"
        ],
        [
          "standardResult.instances.0.ordinalSeverity",
          "=",
          2
        ],
        [
          "standardResult.instances.0.count",
          "=",
          1
        ]
      ],
      "rules": [
        "y",
        "focAll"
      ]
    },
    {
      "type": "url",
      "which": "file://validation/tests/targets/focAll/more.html",
      "what": "page with added Tab-focusability"
    },
    {
      "type": "test",
      "which": "testaro",
      "withItems": true,
      "stopOnFail": true,
      "expect": [
        [
          "standardResult.totals.2",
          "=",
          2
        ],
        [
          "standardResult.totals.0",
          "=",
          0
        ],
        [
          "standardResult.instances.0.ruleID",
          "=",
          "focAll"
        ],
        [
          "standardResult.instances.0.what",
          "i",
          "vice versa"
        ],
        [
          "standardResult.instances.0.ordinalSeverity",
          "=",
          2
        ],
        [
          "standardResult.instances.0.count",
          "=",
          2
        ]
      ],
      "rules": [
        "y",
        "focAll"
      ]
    }
  ]
}
