Test with a screen reader¶
Every pull request is checked automatically in a browser: axe-core against WCAG 2.2 AA, keyboard only, visible focus, reading order, large text on a narrow screen (see packages/wall/e2e). A machine cannot hear how DomusVox sounds, though. Before each release, one person runs the short test below with a real screen reader and notes the result.
It takes about 15 minutes. Use the online demo (?demo=still keeps the house still, so nothing changes while you listen).
Screen readers¶
| Device | Screen reader | Turn on |
|---|---|---|
| Android tablet (the hallway tablet) | TalkBack | Settings → Accessibility → TalkBack, or hold both volume keys for 3 seconds |
| iPhone or iPad | VoiceOver | Settings → Accessibility → VoiceOver, or triple-click the side button if set up |
| Android with switches or a keyboard | Switch Access | Settings → Accessibility → Switch Access |
The test¶
Do every step in German and in English (the language switch is at the top). Each step passes when you can do it without looking at the screen.
| # | Step | Passes when |
|---|---|---|
| 1 | Open the page and listen | The title "Flurblick" or "Hallway View" is read, then the status line as a whole sentence |
| 2 | Find out whether you can leave | The status line names each open window, open door and light that is on, with the room |
| 3 | Switch to the list | The button says "List" and that it is selected; floors and rooms are read as headings |
| 4 | Jump from room to room by headings | Every room is reachable, in the order floor by floor |
| 5 | Switch the kitchen light on | The button says the device, the room and "On" or "Off"; after the double tap the new state is read |
| 6 | Hear the change in the status line | Within a few seconds the status line is announced again with the new light |
| 7 | Lower the bedroom shutter | The shutter says its state and "Tap to lower"; "Going down" is read, later "Down" |
| 8 | Floor plan | Every room is read as a group with its name; the devices inside give the same information as the list |
| 9 | Text size and high contrast | In the "Display" menu at the top right, as rows that say which one is chosen; on the wall also as two buttons in the bar |
| 10 | Switch Access | With Switch Access scanning, every button can be selected; nothing needs a swipe or a time limit |
Record the result¶
Add a line to the table below in your pull request, or open an issue with what did not work (which step, which screen reader, what you heard).
| Date | Version | Device and screen reader | Language | Result | Notes |
|---|---|---|---|---|---|
| not run yet |