testaro 69.4.0 → 69.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "69.4.0",
3
+ "version": "69.4.2",
4
4
  "description": "Run 1000 web accessibility tests from 11 tools and get a standardized report",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/testaro/tabNav.js CHANGED
@@ -163,7 +163,7 @@ const testTabs = async (tabs, index, listOrientation, listIsCorrect, withItems,
163
163
  // If itemization is required:
164
164
  if (withItems) {
165
165
  // Initialize a report on the element.
166
- itemData.xPath = await page.evaluate(element => window.getXPath(element));
166
+ itemData.xPath = await page.evaluate(element => window.getXPath(element), currentTab);
167
167
  itemData.navigationErrors = [];
168
168
  }
169
169
  // Test the element with each navigation key.