This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

Ease of Access for GDM

This page tries to draft how pointer only and switch accessibility could work in a user friendly way during GDM. It also proposes a strategy for the automatic activation of accessibility tools in the GNOME session depending on the accessibility tools activated during GDM. See Jon McCann's blog posting and bug #526070 for more information.

GDM already provides a way to start the accessibility tools by keyboard shortcuts or mouse gestures. There is no indication about them on the GDM login screen; for them to be useful, users have to know about them beforehand. This page proposes a way of doing things so that users get informed and are able to activate the (or some) accessibility tools by using the gui of GDM. It is not a replacement for the keyboard shortcuts and mouse gestures; it is meant as an additional way to activate the accessibility tools.

(Under accessibility tools I understand things like onscreen keyboards, slow keys,... and not atspi-registryd, which is active by default.)

How to open the Accessibility Preferences of GDM

Let's suppose that the computer shows the default login screen that also displays an "Open Accessibility Preferences" button/item. As by default, no accessibility tools are running, the first question is: How does a user that needs accessibility tools get to the Accessibility Preferences dialog, where he can enable the accessibility tools that he needs? It should be possible in several ways; and since there are no accessibility tools running at this stage, it is GDM itself that has to offer these possibilities. Here is a partial list to be completed:

  1. The "Open Accessibility Preferences" dialog opens automatically if the login screen detects a switch event. (This will probably not disturb a regular user, since he will not be using switches.)
  2. The "Open Accessibility Preferences" opens automatically if the user places the pointer on the corresponding button/item; this will be useful for pointer only users. This corresponding item could for example be a button showing the disability-icon and a keyboard-icon; this way, disabled users and tabletpc users are addressed. The item would flash a bit when the pointer is over it and then the Accessibility Preferences dialog pops up. But the HIG team will probably be the best to decide what item it should be and how it should look like; what is important is that it can be operated by the pointer without using clicks and that the users gets clues about what it is for by simply looking at it. (The automatic behavior of the item might surprise a regular user the first time, but he will not be stuck in some cryptic input state, as he can simply close the Accessibility Preferences dialog. Moreover, afterwards he can avoid the automatic popup of the Accessibility Preferences dialog by simply not pointing with the pointer (usually a mouse for a regular user) on the corresponding item. )
  3. The "Open Accessibility Preferences" opens by using the usual keyboard navigation and activation
  4. Please fill in other methods

How to enable the various accessibility tools

The Accessibility Preferences dialog is now open; but the accessibility tools are not running yet, so GDM still has to do the job. The question is: How will the users with the alternative input devices enable the features that they need:

  1. Pointer only users able to click: they can simply click on (or activate the checkbox of, or...) the accessibility tools that they need. These users will typically start an onscreen keyboard. I guess gok in osk mode until other more appropriate osks are available in GNOME.
  2. Pointer only users not able to click: the Accessibility Preferences dialog should have an item named "Use software clicks" which will start mousetweaks in dwell mode with click-type-window. (On this page of the Cummunity Help of Ubuntu you can see the click type window, where the user indicates to mousetweaks what type of click it has to perform next.) The "Use software clicks" item might react similarly to the item to open the Accessibility Preferences dialog: when the pointer is on the "Use software clicks" item, the "Use software click" item flashes a bit before its status gets toggled. (An alternative is to toggle it immediately as soon as the pointer enters the item, or even some other way; the important is that the user is able to activate it by using the pointer without having to click.) Here is a sample command to start mousetweaks in dwell mode: mousetweaks --enable-dwell --dwell-mode window --show-ctw --ctw-x 50 --ctw-y 20. With software clicks enabled, these users become pointer only users able to click as in the category "1." here above.

  3. Switch users: I guess they need an item (checkbox) to start gok in switch mode
  4. Keyboard only users: I guess the usual keyboard navigation and activation methods
  5. Other types of accessibility users? Please fill in...

Automatic activation of accessibility tools in GDM

What about a boolean configuration option for GDM to make the "Remember the GDM AT settings for the next login" option appear in the Accessibility Preferences dialog? This option would have to be set to 'false' by default.

Passing of accessibility tools between the GDM session and the Desktop session

1. From GDM session to Desktop session

Imagine a pointer only user that is not able to click. GDM gives him the means to activate dwelling and an onscreen keyboard; he is then able to work with the computer during GDM. He arrives at his GNOME session where no accessibility tools are enabled and, since he is not able to click, he cannot work in the desktop session. (unless there is also a way for him to activate the accessibility tools in the GNOME session)

A "Save these settings also in your GNOME session" option in the Accessibility Preferences dialog would:

The "Save these settings also in your GNOME session" does not remain active across GDM sessions. Moreover, this option cannot be a button, because GDM does not know for what user to save the settings until the user has authenticated himself.

2. From Desktop session to GDM session

Conclusion: items required in the Accessibility Preferences dialog of GDM

Login Screen Interaction Model Specification

WDW: work in progress. This draws from the work of Jon McCann and others and is meant to read more like a specification.

Goal: Provide a mechanism for the user to enable accessibility features for the login screen. As such, full blown customization of features may not be as important as it is on the regular desktop. The following represents the "out of the box" behavior for the login screen.

Notes:

Issues:


2024-10-23 11:36