We’ve collected the test cases for investigating proper spatial navigation behavior. The results of test cases are “desirable” behavior, so it may not seem to be correct for some users.
NOTE:
Test Name | Test Summary |
Grid Layout 1 | Focus will move from the search origin to the best candidate, and the elements are positioned in the grid-like layout. |
Grid Layout 2 | Focus will move from the search origin to the best candidate when the elements are positioned in the masonry layout. |
Grid Layout 3 | Focus will move from the search origin to one of the candidates when there are multiple candidates which have the same Euclidean distance from the search origin. |
Grid Layout 4 | Focus will move from the search origin to the best candidate, and the elements are positioned in the grid-like layout. |
Grid Align 1 | Focus will move from the search origin to one of the candidates when there are multiple candidates which have the same Euclidean distance from the search origin. |
Grid Align 2 | Focus will move from the search origin to one of the candidates. The Euclidean distances from the search origin of each element are slightly different (1px). But the amount of alignment between the search origin are significantly different. |
Grid Align 3 | Focus will move from the search origin to one of the candidates. This test aims to make sure that the Euclidean distance affects more than the amount of alignment to the final value of the distance function. |
Grid Align 4 | Focus will move from the search origin to one of the candidates. This test aims to make sure that the Euclidean distance has a decisive effect on the final value of the distance function more than the degree of alignment. |
Element Intersect 1 | Focus will move from the search origin to one of the candidates. This test aims to make sure that the amount of intersected area affects more than the Euclidean distance to the final value of the distance function. |
Element Intersect 2 | Focus will move from the search origin to one of the candidates. This test aims to make sure that the amount of intersected area affects more than the degree of alignment to the final value of the distance function. |
Transformed elements | Focus will move from the search origin to transformed elements. This test aims to find out the amount of transformation of an element will affect the result of distance function or not. |
Fragmented elements | Focus will move from the search origin to the fragmented text element. |