Menu

User Interfaces and Desktops

Step 3 of 3 LPIC-1 106.3weight 1

Accessibility

“Themes, screen readers, braille, magnifiers and keyboard helpers that make a Linux desktop usable for everyone.”

View .md

Not everyone sees a screen clearly, hears a beep, or can press two keys at once. Accessibility (often shortened to a11y: an “a”, 11 letters, a “y”) is the set of features that lets people with low vision, blindness, hearing loss or limited movement use a computer anyway.

On Linux, these features live in the desktop: GNOME has an Accessibility page in Settings, and KDE Plasma has one in System Settings. The exam asks for basic knowledge of what each tool does, so this byte goes through every one by name and shows where to switch it on.

Visual settings and themes#

The simplest help is a clearer screen:

  • High contrast theme: strong black and white colors with clear borders, so buttons and text stand out.
  • Large print (large text): bigger fonts everywhere. GNOME’s “Large Text” switch sets the text scaling to 1.25.
  • Cursor size: a large mouse pointer is easier to find.
  • Reduce animation: turns off zooms and slides that can cause dizziness.
  • Visual alerts: flash the screen or window instead of beeping, for users who can’t hear the bell.

On GNOME you can flip them from a terminal with gsettings, which is handy to try and to script:

bash
gsettings set org.gnome.desktop.a11y.interface high-contrast true
gsettings set org.gnome.desktop.interface text-scaling-factor 1.25
gsettings set org.gnome.desktop.interface cursor-size 48
gsettings set org.gnome.desktop.wm.preferences visual-bell true

Check a value with get, and go back to the default with reset:

bash
gsettings get org.gnome.desktop.interface text-scaling-factor
gsettings reset org.gnome.desktop.interface text-scaling-factor
console
1.25

Older GNOME versions did high contrast by switching the GTK theme to one called HighContrast. KDE Plasma offers high-contrast color schemes and font scaling in System Settings, under Colors and Fonts.

Assistive technology#

Assistive technology means tools that sit between the user and the apps: they read the screen, enlarge it or replace the keyboard and mouse. On Linux desktops, apps describe their buttons and text to these tools through AT-SPI (Assistive Technology Service Provider Interface), a shared message bus that GTK and Qt both support.

Screen reader#

A screen reader speaks what’s on the screen: the focused button, the menu item, the text under the cursor. Blind users drive the whole desktop with the keyboard and listen. The standard Linux screen reader is Orca:

  • Turn it on in Settings, or with Super+Alt+S in GNOME.
  • Run orca --setup to open its preferences (voice, speed, how much punctuation it reads).
  • Orca talks through speech-dispatcher, which drives a voice engine like eSpeak NG.

You can test the speech layer by itself:

bash
spd-say "Hello from speech dispatcher"

On a text console without a desktop, tools like espeakup read the console aloud. Firefox, LibreOffice and most GTK and Qt apps work well with Orca because they speak AT-SPI.

Braille display#

A braille display (refreshable braille display) is a device that sits under the keyboard. It has a row of cells, often 40 or 80, and in each cell small pins rise and fall to form braille characters. As the cursor moves, the line of text under it shows up in braille under the user’s fingers.

On Linux, BRLTTY drives braille displays. It runs as a system service, works on the text console even before anyone logs in, and shares the display with Orca on the desktop through its BrlAPI interface.

bash
sudo apt install brltty        # Debian / Ubuntu
sudo dnf install brltty        # RHEL / Fedora
sudo systemctl enable --now brltty

Its settings live in /etc/brltty.conf, where you can set the display’s driver and port if auto-detection misses it.

BRLTTY claims some USB serial chips because cheap braille displays use them too. On a few distros that made Arduino boards “disappear” until people removed or disabled the brltty package.

Screen magnifier#

A screen magnifier enlarges part of the screen for users with low vision. It can follow the mouse, the keyboard focus or the text cursor.

DesktopMagnifierShortcuts
GNOMEBuilt-in ZoomSuper+Alt+8 on/off, Super+Alt+= and Super+Alt+- zoom
KDE PlasmaKWin Zoom effect, or the KMag appMeta+= and Meta+-
bash
gsettings set org.gnome.desktop.a11y.applications screen-magnifier-enabled true
gsettings set org.gnome.desktop.a11y.magnifier mag-factor 2.0

On-screen keyboard#

An on-screen keyboard draws a keyboard on the screen. Users who can move a mouse, a head pointer or a joystick, but can’t type on a physical keyboard, click the keys instead. It’s also what you use on a touch screen.

  • GNOME has one built in: turn on “Screen Keyboard” in Accessibility settings.
  • Onboard is a flexible on-screen keyboard for GTK desktops (onboard package on Debian/Ubuntu).
  • KDE Plasma uses its own virtual keyboard on Wayland; xvkbd is a basic one for plain X.
bash
gsettings set org.gnome.desktop.a11y.applications screen-keyboard-enabled true

Keyboard helpers#

These features come from the X keyboard extension (AccessX) and are offered by every big desktop, in GNOME under Typing and in KDE under Modifier Keys and Keyboard Filters.

FeatureWhat it doesHelps when
Sticky keysA modifier (Shift, Ctrl, Alt, Super) stays active after you release it, so Ctrl then C works as Ctrl+C.You can only press one key at a time.
Repeat keysSets whether holding a key repeats it, how long before it starts (delay) and how fast (rate).Holding keys too long by accident.
Slow keysA key only counts if you hold it down for a moment. Short accidental taps are ignored.You brush keys by accident.
Bounce keysIgnores a second press of the same key that comes too quickly.Tremors cause doubled letters.
Toggle keysPlays a sound when Caps Lock or Num Lock is turned on or off.You can’t see the keyboard lights.
Mouse keysMoves the pointer and clicks with the numeric keypad.You can’t use a mouse.

In GNOME they’re gsettings keys too:

bash
gsettings set org.gnome.desktop.a11y.keyboard stickykeys-enable true
gsettings set org.gnome.desktop.a11y.keyboard slowkeys-enable true
gsettings set org.gnome.desktop.a11y.keyboard bouncekeys-enable true
gsettings set org.gnome.desktop.a11y.keyboard togglekeys-enable true
gsettings set org.gnome.desktop.a11y.keyboard mousekeys-enable true

Key repeat is a normal keyboard setting, not only an a11y one. On plain X you can read and set it with xset:

bash
xset r rate 500 20     # wait 500 ms, then repeat 20 times per second
xset q | grep 'auto repeat delay'
console
  auto repeat delay:  500    repeat rate:  20
bash
# the same in GNOME (delay and interval in milliseconds)
gsettings set org.gnome.desktop.peripherals.keyboard delay 500
gsettings set org.gnome.desktop.peripherals.keyboard repeat-interval 50

Tip

Press Shift five times to toggle sticky keys, or hold Shift for eight seconds to toggle slow keys. These shortcuts work on most desktops when “enable by keyboard” is on, and explain the surprise dialog when you rest on the Shift key.

Gestures#

“Gestures” means two things in accessibility, and both are good to know:

  • Activation gestures: keyboard patterns like the Shift tricks above that switch a feature on or off without opening any settings. KDE calls its tab exactly that.
  • Mouse and touch gestures: a movement of the pointer or fingers that triggers an action. GNOME’s Hover Click (dwell click) lets you click without pressing a button: you rest the pointer on a spot, then move it in a direction to choose a left, double, right click or drag. Simulated secondary click gives a right click when you hold the main button down. Touchpads and touch screens add swipe and pinch gestures to switch workspaces or zoom.
bash
gsettings set org.gnome.desktop.a11y.mouse dwell-click-enabled true
gsettings set org.gnome.desktop.a11y.mouse dwell-mode 'gesture'
gsettings set org.gnome.desktop.a11y.mouse secondary-click-enabled true

Voice recognition#

Voice recognition (speech recognition) turns spoken words into text or commands, so users who can’t type can dictate and control the computer by voice. This is the weakest area on the Linux desktop: GNOME and KDE don’t ship full voice control the way Windows and macOS do. Separate projects fill the gap, such as nerd-dictation and Speech Note, built on offline engines like Vosk or Whisper, and Talon for voice-driven coding. For the exam, knowing what voice recognition is and that it’s an assistive technology is enough.

Exam checklist#

  • High contrast and large print themes make the screen easier to read; set them in the desktop’s Accessibility settings.
  • Orca is the screen reader (speech through speech-dispatcher); apps expose their UI through AT-SPI.
  • A braille display shows text as raised pins; BRLTTY drives it, even on the text console.
  • A screen magnifier zooms part of the screen (GNOME Zoom, KWin Zoom, KMag).
  • An on-screen keyboard (GNOME’s built-in one, Onboard) lets users type with a pointer.
  • Sticky keys = one key at a time for combos. Slow keys = hold to accept. Bounce keys = ignore fast repeats. Toggle keys = beep on Caps/Num Lock. Repeat keys = repeat delay and rate. Mouse keys = pointer from the keypad.
  • Gestures: keyboard activation gestures (Shift ×5, hold Shift 8 s) and mouse or touch gestures like dwell click.
  • Voice recognition turns speech into text and commands; on Linux it comes from separate projects.

Byte check

0/3

Answer these 3 questions to commit this byte to your learning path.

  1. A user can only press one key at a time and can’t hold Ctrl while pressing C. Which feature helps?
  2. A user with a hand tremor gets doubled letters like hhello. Which feature ignores quick repeated presses of the same key?
  3. What is Orca?
Search posts and bytes

Optional account

Keep your progress everywhere

Everything on AminBytes is free to read, with or without an account. Sign in only if you want your commits, streak and merged topics saved, on every device.

or

We keep only your name, avatar and which bytes you finished, and you can delete it all anytime. Privacy