testaro 5.18.0 → 5.18.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tests/hover.js +10 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testaro",
3
- "version": "5.18.0",
3
+ "version": "5.18.1",
4
4
  "description": "Automation of accessibility testing",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/tests/hover.js CHANGED
@@ -1,25 +1,26 @@
1
1
  /*
2
2
  hover
3
3
  This test reports unexpected impacts of hovering. The effects include additions and removals
4
- of visible elements, opacity changes, unhoverable elements, and suppression of hover indication.
4
+ of visible elements, opacity changes, unhoverable elements, and nonstandard hover indication.
5
5
  The elements that are subjected to hovering (called “triggers”) are the Playwright-visible
6
6
  elements that have 'A', 'BUTTON', or 'LI' tag names or have 'onmouseenter' or 'onmouseover'
7
7
  attributes.
8
8
 
9
- When such an element is hovered over, the test examines the impacts on descendants of the great
10
- grandparents of the elements with tag names 'A' and 'BUTTON', grandparents of elements with tag
11
- name 'LI', and otherwise the descendants of the elements themselves. Four impacts are counted:
9
+ The test examines how the hover event is indicated to the user with the mouse cursor and with
10
+ changes of the styles of the trigger.
11
+
12
+ When a trigger is hovered over, the test also examines the impacts on descendants of the great
13
+ grandparents of triggers with tag names 'A' and 'BUTTON', grandparents of triggers with tag
14
+ name 'LI', and otherwise the descendants of the triggers themselves. Four impacts are counted:
12
15
  (1) an element is added or becomes visible, (2) an element is removed or becomes invisible, (3)
13
16
  the opacity of an element changes, and (4) the element is a descendant of an element whose opacity
14
17
  changes. The test checks up to 4 times for hovering impacts at intervals of 0.3 second.
15
18
 
16
- The test also examines how the hover event is indicated to the user with the mouse cursor and with
17
- style changes.
18
-
19
19
  Despite the delay, the test can make the execution time practical by randomly sampling triggers
20
20
  instead of hovering over all of them. When sampling is performed, the results may vary from one
21
- execution to another. Because hover impacts typically occur near the beginning of a page, the
22
- probability of the inclusion of a trigger in a sample decreases with the index of the trigger.
21
+ execution to another. Because hover impacts typically occur near the beginning of a page with
22
+ navigation menus, the probability of the inclusion of a trigger in a sample decreases with the
23
+ index of the trigger.
23
24
 
24
25
  An element is reported as unhoverable when it fails the Playwright actionability checks for
25
26
  hovering, i.e. fails to be attached to the DOM, visible, stable (not or no longer animating), and