Spatial Navigation Preferences
Spatial Navigation Specific
preference when true turns on the spatial navigation plugin.
Otherwise, setting this preference to false disables the plugin.
preference when enabled will ensure that text fields and inputs retain
focus even if spatial navigation was requested.
calculating distances between elements on the screen, elements may be
given a bias if the elements are in the direction of navigation.
bias is a given by a fraction such that:
bias distance = true distance / directional bias
onFocus event that an element may recieve during spatial
On some pages we have found that the page decides to move the focus as
if the targeted content was clicked. This may lead to an
reduce the chance that a element overlaps with another element, we
reduce the elements height and width by this value.
preference is the key code which corresponds to the left direction.
preference is the key code which corresponds to the right direction.
preference is the key code which corresponds to the up direction.
preference is the key code which corresponds to the down direction.
preference is the key code which corresponds to the required modifier
keys. These values are given as follows:
NONE = 0
SHIFT = 0x00100000
CONTROL = 0x00001100
ALT = 0x00000012
DEFAULT: ALT | SHIFT
Focus Style Preferences
must be enabled if you plan to use preferences to modify the default
focus highlighting color
is the background color for the currently focused element. This
is a RGB string in the format:
is the text color for the currently focused element. This is a
RGB string in the format:
value specific the width of the focus ring that outlines the currently
For more information on setting accessiblity preferences can be found here.