[Y-devel] keyboard layouts (continued)

Kris Van Hees aedil-y-devel at alchar.org
Sun Feb 29 17:02:18 GMT 2004


On Sun, Feb 29, 2004 at 04:03:48PM +0100, Maurice van der Pot wrote:
> Yeah, I'm starting to feel that is indeed the only place to do it. Maybe 
> somebody (Kris van Hees?) can give some insight into how sticky keys are 
> supposed to work. For example, if sticky keys are used, are always all 
> modifiers sticky?

To be complete, let me first list the typical keyboard accessibility features
that are commonly regarded as needed:

StickyKeys      Provides locking or latching of modifier keys so that they can
                be used without simultaneously pressing the keys.  This allows
                single finger operation of multiple key combinations.

MouseKeys       An alternative to mouse operationd which provides keyboard
                controled cursor movement and mouse button functionality.  This
                is usually something that is not part of the keyboard handling
                but rather part of an actual helper application, because you
                tend to want more 'smart' keyboard controlled mouse movement.

RepeatKeys      Delays the onset of key repeat, allowing users with limited
                coordination time to release keys.

SlowKeys        Requires a key to be held down for a set period of time before
                acceptance.  This prevents users with limited coordination
                from accidentally pressing keys.

BounceKeys      Requires a delay between keystrokes before accepting the next
                keypress so users with tremors can prevent the system from
                accepting inadvertent keypresses.

ToggleKeys      Indicates locking key state with a tone when pressed, e.g. Caps
                Lock.

(From "Towards Accessible Human-Computer Interaction", Eric Bergman and Earl
Johnson, published in "Advances in Human-Computer Interaction", volume 5,
Jakob Nielson, Editor.)

You'd want an all-or-nothing approach for each of these types of features, and
it should be possible to combine them (e.g. you might need SlowKeys along with
StickyKeys for someone).  Each feature works on its 'target' set of keys in a
non-discriminatory way, meaning that it affects all keys in its target set.
StickyKeys works on all modifiers, or none, and so on...

Two implementations of StickyKeys seem to be common:

        - Two subsequent presses of the modifier key (faster than the repeat
          delay, be it standard or as modified by BounceKeys) turns on the
          modifier, whereas a single press will turn it back off.  This lets
          you have the equivalent of a modifier-lock key, so that it applies to
          one or more following keystrokes.
        - Two subsequent presses of the modifier key (faster than the repeat
          delay, be it standard or as modified by BounceKeys) turns on the
          modifier, and the modifier is turned off again as soon as a key is
          pressed.  That does not provide a modifier-lock style function.

Both have advantages and disadvantages, albeit minor ones.

Finally, I'd like to throw an interesting scenario of keyboard access into the
mix, as an example of what other platforms have done.  JAWS for Windows (a
screen reader for MS Windows) provides a 'laptop' keyboard layout to deal with
the fact that most laptops do not have a keypad.  Most of its screen reading
commands are an Ins+keypadkey combination.  On laptops, the alternative uses
the CapsLock key.  Two quick presses of CapsLock enables/disables the actual
CapsLock state, and a simultaneous press of CapsLock along with another key
provides a screen reader function.  Using CapsLock as a modifier is unusual :)

The question I asked the creators of JAWS for Windows was how they expected
this to behave when a user also might need StickyKeys.  The answer was simple
(but depressing): MS Windows only provides StickyKeys functionality for the
Shift, Alt, Ctrl and Windows keys.

        Kris



More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved