-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Accessibility: Installing NVDA on Linux
← Back to Cockpit Universal Access (Accessibility)
NVDA is Free Software for screen reading that runs on Windows and is currently the most commonly used screen reader. You can install NVDA on Windows in GNOME-Boxes on Linux for no cost, which helps a lot to check Cockpit (and other web apps / web pages) in a screen reader.
Note: If you have a Windows installation on another computer (or VM), you can simply download & install NVDA & perform the optional steps below.
-
Download Windows testing VM from Modern.IE
- select virtual machine:
- Edge on Windows 10 "
MSEdge on Win10 (x64) Stable
" is a 9 GiB download - IE11 on Windows 7 is nearly half the size @ 4.9 GiB, but you won't have Edge and the selection of voices won't be as good — if you download this instead, I strongly recommend installing Firefox for a better NVDA experience
- Edge on Windows 10 "
- select platform: VMware
- Click Download .ZIP
- select virtual machine:
-
Extract .ZIP file
-
Run GNOME Boxes
-
Import VMDK
- navigate to extracted ZIP
- select VMDK file
- wait (get a coffee or tea; this takes a few minutes)
alternatively, to skip step 1 & 2, you can run
gnome-boxes filename.vmdk
and GNOME Boxes will show its import dialog -
Fix audio (related to GNOME-Boxes issue #78 — this will be fixed in Fedora 28 and higher)
- Shutdown Windows
- Run a command to change the soundcard from ac97 (unsupported in Windows 7+) to ich6 (supported in modern versions of Windows) — this requires
libvirt-client
to be installed:EDITOR="sed -ie 's/ac97/ich6/'" virsh edit boxes-unknown
- Start Windows again
Note: Your VM might be called something different. Check
virsh vol-list gnome-boxes
to see if it'sboxes-unknown
or something else.Alternatively, you can use a USB sound card with Windows. This will have better performance and you won't need to run the
virsh
command above. -
Download NVDA from https://www.nvaccess.org/download/ (you can search for "nvaccess")
- It's fine to download the old version. It's not that old and it lets you skip the form.
- For a newer version, you can skip donation, use a bogus email address, and unceck the keep me up to date option. (However, I'd suggest just downloading the old version.)
-
Install & run NVDA
-
Perform optional steps below
-
Take a snapshot.
- In GNOME-Boxes, select the menu icon in the top-right of the window
- Choose "properties"
- Visit the "Snapshots" tab
- Click the "+" icon to create a snapshot
Once you're done with the above (and some or all of the below), read The A11Y Project's getting started with NVDA.
- After NVDA is running, press
Ins
+n
- Choose "Preferences" → "Synthesizer…"
- Select "Microsoft OnceCore"
- Press
Ins
+n
again - Choose "Preferences" → "Voice Settings…"
- Pick a voice that sounds best to you — you're going to hear it a LOT when using the screen reader
NVDA + Firefox on Windows is the #1 combo for people with vision problems, as NVDA is free (and open source), Firefox is the most optimal browser for NVDA, and Windows comes by default on most computers. This is likely the same configuration people using screen readers with Cockpit will use.
- Download Firefox from http://getfirefox.com/
- Run the installer
- Install spice-guest-tools from https://www.spice-space.org/download.html
- Direct link: https://www.spice-space.org/download/windows/spice-guest-tools/spice-guest-tools-latest.exe
- You can search for "spice guest tools" in Edge and scroll halfway down the page until you see the first link under the "Windows binaries" heading
- Restart Windows if your mouse is jittery