Using Heydrun with a screen reader
Heydrun is built to be used with TalkBack and other Android screen readers. This page covers what works differently from a sighted user's description of the app.
If something here doesn't work with your screen reader, please tell us in #heydrun on irc.stormux.org, or report it on GitHub. Say which screen reader and Android version you use.
Messages
Each message is one item, read the way Read messages aloud reads it: your read order, time and bracket settings apply when you swipe through messages too. Your screen reader can also say where you are, such as "37 of 400".
The chat has headings: one for each day (Today, Yesterday, or the date) and one at the unread messages saying how many, so your screen reader's heading navigation moves a day at a time or straight to what's new.
Double-tap a message to open Message actions. Depending on the message and the server, it offers:
- Reactions, on servers that support them: common emoji, Custom reaction, and See who reacted.
- Reply to, followed by the sender's nick.
- Copy, which copies this message.
- Copy messages…, which lets you select several messages to copy at once. While selecting, each message says whether it's selected, and double-tapping it selects or unselects it.
- Delete message, on servers that support it, which removes the message for everyone. It asks first, and the server decides whose messages you may delete.
Some actions are also on the message itself, in your screen reader's actions menu (in TalkBack, swipe up then right, or tap with three fingers):
- Reply to, followed by the sender's nick.
- Copy.
- Custom reaction, on servers that support reactions.
- Delete message, on servers that support it. It asks first.
- Open, followed by the address, once for each link in the message.
- Join, followed by the channel, once for each #channel the message mentions.
- Options for, followed by the sender's nick: whois, private message, ignore and the rest.
Links are real links, so they also appear in TalkBack's Links menu.
A message you've sent that is still on its way says "Sending". One the server refused says "Not delivered", and a notice at the bottom of the screen says so too, with Send again.
Reviewing messages from the message field
You can hear recent messages without leaving the message field. They're read the way Read messages aloud reads them, with your order, time and format settings.
- With a keyboard: Ctrl+Shift+1 reads the newest message, Ctrl+Shift+2 the one before, and so on to Ctrl+Shift+0 for the tenth. Ctrl+Shift+Up and Ctrl+Shift+Down step back and forward from there, Ctrl+Shift+Space reads the same message again, Ctrl+Shift+C copies it, and Ctrl+Shift+N reads the newest again. Ctrl+Space stops speech. None of these clash with TalkBack's or SandFly's keys: they work in the message field, where the screen reader's own keys don't.
- By touch: explore the messages on screen, or use Jump to unread. With Speak with set to Text-to-speech, the message field has a Stop speaking action.
- By command:
/lastreads the newest message,/last 3the third newest, and/last #rust 2one from another channel./catchupreads this buffer's unread messages, oldest first.
Speech commands
These work from the message field, like any command, and say their answer aloud. Most are as in mIRC With Speech, AddiSpeak and the MUD clients made for screen readers.
| Command | What it does |
|---|---|
/ftts | Turn Read messages aloud on or off. /ftts on and /ftts off say which. |
/ftts here | Read every message in this buffer aloud, whatever the app setting. Again, and the buffer follows the app setting once more. |
/tts voice, /tts reader | Speak with Heydrun's own voice, or through your screen reader: the Speak with setting. |
/ttsrate 1.5, /ttspitch 0.8 | Set Heydrun's own voice's speed, from 0.5 to 3, and pitch, from 0.5 to 2; 1 is normal. Your screen reader keeps its own. |
/speak <text> | Say the text aloud. |
/stfu | Stop speaking now, and drop what was waiting to be said. Ctrl+Space does the same. |
/last [#channel] [n] | Read a recent message: the newest, or the one n back, here or in another channel on this network. |
/catchup [n] | Read this buffer's unread messages, oldest first, up to 20, or up to n. |
/unread | Say which buffers have unread messages and mentions, as Ctrl+Shift+S does. |
/speechignore <nick or #channel> | Stop reading that nick, or that channel's messages, aloud. They still show, and connection alerts and command results there are still read. Alone, it lists who's left out. |
/speechunignore <nick or #channel> | Read them aloud again. |
/count | Say how many people are in this channel, and how many are ops and voiced. |
/lag | Say this network's lag, such as "Lag 0.3 seconds". |
/typing | Say who's typing here. |
/spell [word] | Spell a word one character at a time. Alone, it spells the nick of the last person who spoke here, for when a name is hard to make out. |
/speechignore and /ftts here are kept when Heydrun restarts, as settings are.
The Links list
With Collect links on, in Settings, Chat & Messages, Heydrun keeps the links people post on every network in one list, newest first, until it closes. Open it from More actions, Links, or with /urls; /urls alice opens it filtered to alice. The filter field at the top matches part of a link, a nick, a buffer or a network.
Each link reads as one item: the link, who posted it and in which buffer, the network, and the time, such as "https://example.com, from alice in #rust, Libera.Chat, 14:02". A link from an earlier day has its date too. Double-tap to open it. Its actions are Copy link, Share link, Go to message, which opens the buffer at the message it came in, and Remove. The same are behind the More for this link button beside it. Clear all, at the top, asks before emptying the list; the messages stay in their buffers.
From the message field, /url opens the newest link without opening the list, /url 2 the one before, and /url copy copies it.
Jumping
When you jump to your first unread message, to a mention, or to the message a reply answers, your screen reader's focus moves there too. You don't have to find it yourself.
/mentions opens a list of the messages that mention you.
Accessibility settings
Settings, Accessibility has seven groups, each a heading, so heading navigation moves between them.
How messages read
These change what you hear when you swipe to a message, what a braille display shows, and what's read aloud.
- Read order: "Nick, then message" or "Message, then nick".
- Read the time: before or after the message. The time is only read when Settings shows timestamps, under Chat & Messages.
- Strip brackets: leaves out the brackets around the time and nick, in case your screen reader speaks punctuation.
- Custom format (advanced): your own wording, using
{time},{nick}and{message}. For example,{nick} says {message}. Leave it empty to use the choices above. - Brief wording: off by default. Shorter messages for a braille display and for speech: no time, no "37 of 400", and no user@host in joins, parts and quits. The screen still shows them.
- Read units in full: off by default. File transfer sizes, speeds and times are read as the screen shows them, such as "823 KB/s" and "4m 30s"; many speech engines say these in full already. If yours spells them out letter by letter, turn this on to hear "823 kilobytes per second" and "4 minutes, 30 seconds", and "avg" as "average".
- Emoji in messages: as the screen reader reads them, by default, which is every one. Count repeats reads a run of the same emoji once, with how many, such as "3 face with tears of joy", still named by your screen reader in your language; Leave them out skips them.
Messages that mention you are read with "Mentions you", and marked on screen with a bar down the left edge and the sender in bold.
Read aloud
- Read the topic when you join: off by default. A channel's topic, and who set it, are read as you join, even when events aren't read aloud.
- Read messages aloud, on by default: speaks new messages in the buffer on screen, while Heydrun is open. Messages fetched from history aren't read. Once it's on:
- Also read joins, parts, nick changes and other events: off by default. Only events shown in the chat are read. Events read aloud then picks which: joins, parts, quits, nick changes, topics, kicks and modes.
- Also read your own messages and actions.
- Summarise busy buffers: off by default. When lines come faster than they can be read, Heydrun reads a count once it quiets down, such as "12 more messages in #linux", instead of every line. Mentions are always read.
- Each buffer's own choice: in a channel's or query's settings, or with
/chanset speech, Read aloud can follow the app setting, read all messages, read only mentions (channels), or be off. So a busy channel can read only mentions while queries read everything.
Connection alerts, such as a lost or restored connection, are spoken once, not repeated. They're spoken even with reading aloud off, and so are the results of a command you type, such as /find finding nothing.
Spoken alerts
- Speak with: Screen reader uses your screen reader's voice. Text-to-speech uses Android's speech engine at the accessibility volume. Android 16 deprecated the way apps ask a screen reader to speak, so if your screen reader ever stops reading new messages, choose Text-to-speech.
/tts voiceand/tts readerchange it too. - Voice speed and Voice pitch: shown with Speak with set to Text-to-speech. Sliders for Heydrun's own voice, from 0.5 to 3 for speed and 0.5 to 2 for pitch, where 1 is the voice's normal;
/ttsrateand/ttspitchset them by typing. Your screen reader keeps its own speed and pitch. - Scripts can speak: on by default. Lets scripts say things such as "your turn" aloud, through your screen reader or Heydrun's voice, while Heydrun is open and Do not disturb is off, and only a few lines at a time. Turn it off to keep scripts quiet. See Accessible scripts.
- Announce mentions from other buffers: off by default. While Heydrun is open, mentions and private messages from buffers you aren't looking at are read, such as "alice in #rust: hi", with their sound. So are invites, someone on your notify list coming online or going offline, and failed file transfers, when their buffer isn't on screen, and being kicked from a channel, always. Do not disturb holds them back.
- Someone typing: off by default. When someone starts typing to you in a query while Heydrun is open, play a soft sound, say "alice is typing", or both. Only some servers and apps send typing notices. Each buffer, channels included, can choose its own in its settings or with
/chanset typing sound.
Vision
- High contrast: switches to the high-contrast version of your light or dark theme, with full-strength text on pure black or white; every pairing is at least 7:1.
- Easier-to-read font: Atkinson Hyperlegible for the app and the chat, drawn so letters like I, l and 1 look different.
- Bold chat text.
- Don't dim text: descriptions, timestamps and unsent messages in the main text colour rather than a fainter one.
- Shapes before nicks: a shape such as ● or ▲ before each nick, the same for a nick every time, so people can be told apart without relying on colour. Screen readers don't read it.
- Thicker focus outline: a 4 dp outline with a contrasting inner ring round the control you're on, for keyboard and switch users.
Text size, themes and fonts are also in Settings, Appearance; text goes up to 200%. ASCII art can be zoomed by pinching with two fingers, up to four times, and scrolled sideways once zoomed; Zoom in, Zoom out and Reset zoom are also actions.
Hearing
- Captions for sounds: off by default. A short caption at the top of the screen says what each sound is for, such as "Joins: alice"; it shows whether or not sounds are on. Screen readers don't read the captions, as speech and sounds already say these.
- Camera light for mentions: off by default. The camera light blinks twice when you're mentioned or sent a private message while Heydrun is open.
- Flash for mentions: off by default. A coloured frame shows round the screen for a moment when you're mentioned or sent a private message while Heydrun is open.
Interaction
- Swipe to reply, in Settings, Chat: off by default, so scrolling can't start a reply by accident. Turn it on to reply by swiping a message sideways; Reply is always in each message's actions.
- Larger touch targets: off by default. Buttons, switches and other controls take touches over at least 56 dp instead of 48, and reply quotes and grouped joins are taller.
With the phone's Remove animations on (Settings, Accessibility), Heydrun's scrolls jump instead of gliding, the message you jump to is highlighted steadily instead of flashing, and the mention flash appears and goes without fading. Short notices such as "Copied" stay on screen for about four seconds.
Keyboard shortcuts
Each chat action's key can be changed: activate one, press the new keys, and Save; Reset goes back to the default and Turn off leaves it without a key. A key another action had moves to the new one. The modifier held with the number keys, for buffers 1 to 20 and for reading recent messages, can be Alt, Ctrl, Ctrl+Alt, Alt+Shift, Ctrl+Shift or off. Reset all keyboard shortcuts puts every default back. See Keyboards for the defaults.
Sounds and vibration
Heydrun can play a short sound and a vibration for what happens in the buffer on screen: new messages, your own messages, actions, notices, private messages, mentions, highlight words, joins, parts and kicks, quits, someone typing, and connecting and disconnecting. Being kicked, invites, file and chat offers, and people on your notify list coming online or going offline sound wherever you are in Heydrun; nick and topic changes only in the buffer on screen. Turn them on in Settings, Notifications, under While Heydrun is open, with In-app sounds and In-app vibration. Each event has its own sound switch with Play and Change, and its own vibrate switch with Preview, so something can vibrate without a sound or sound without vibrating. Sound volume set to Accessibility volume makes the sounds follow your screen reader's volume, and play even when your phone is on vibrate or silent.
A mention of your nick has irssi-sound's hilight sound; a highlight word has its own, two quick rising chirps, so you can tell which it was. While Heydrun is open, mentions and private messages in other buffers play the app's own sounds at the same volume too. While it isn't, their notifications follow Android's ringer and Do Not Disturb by default, as other apps' do; set Notification sounds in the background, under Notifications, to At Heydrun's sound volume to hear them at your screen reader's volume through silent mode and Do Not Disturb. Losing a connection, a failed login, being kicked or invited, your notify list and failed transfers notify while Heydrun isn't open. The sounds Android plays for notifications are separate from the in-app ones, and are changed in Notification categories, network by network; Changing sounds walks through it. The settings reference explains it all.
The vibrations use textures TalkBack doesn't, so they stand out from its taps: a message is a knock, a mention two strong knocks and a thud, a highlight word two knocks and a rise, a private message a swirl and two knocks, a join a thud that settles, a part or kick a swell into a thud, and a quit a fall between two thuds. With a screen reader on, Preview waits for its own tap to finish first.
Do not disturb
Heydrun has a Do not disturb of its own, for when you want IRC quiet but your phone and screen reader as usual: in a meeting, at night, or while you read something else. It's separate from Android's Do not disturb, which still applies as well.
While it's on, Heydrun holds back:
- reading new messages aloud, and announcing mentions from other buffers,
- its sounds and vibrations, and someone typing,
- the flash and the camera light,
- repeat alerts.
Mention and private message notifications still appear, without sound or vibration, so you can catch up later; push notifications follow it too.
These still get through:
- connection alerts, such as a lost connection, and their sounds,
- errors,
- the results of commands you type, such as
/dnditself, - private messages, if Let private messages through is on,
- anyone on your list of nicks let through.
Notifications from the nicks you let through are marked important, so if you add Heydrun's conversations with them to Android's priority conversations, they can come through Android's Do not disturb as well.
Turn it on and off:
- By command:
/dndturns it on until you turn it off, or off if it's on./dnd 30is for 30 minutes,/dnd 2htwo hours,/dnd 1da day, and/dnd until 14:30until the clock next reads 14:30./dnd offends it. Add-a, as in/dnd 30 -a, to be marked away while it lasts. - From More actions: Turn on Do not disturb, or Turn off Do not disturb, which works as
/dndalone. - In Settings, Notifications, Do not disturb: the switch, read with when it ends.
Choose who gets through:
/dnd allow alicelets alice through, and/dnd deny alicestops letting her./dnd listsays who's let through.- In the nicklist, or by double-tapping a nick in the chat, Let through Do not disturb, or Stop letting through Do not disturb.
- In Settings, Notifications, Do not disturb, Let these nicks through, separated by commas.
Saying it's on or off is read aloud, and so is its ending at the time you chose: "Do not disturb is off." While it's on, the top bar says Do not disturb under the buffer's name. It stays on if Heydrun restarts, until it ends.
With Set away while on, in the same section, Heydrun marks you away on every network with the message "Do not disturb", and back when it ends. A network that connects meanwhile is marked away too. If you were already away, your own away message is left alone.
Lists and buttons
- Every button and icon has a spoken name. Unread counts, mentions, nick modes such as op and voice, and away status are read in words.
- Screens and sheets announce their names when they open, and screen titles are headings, so you can move by heading.
- Lists say which item is selected. Sections say whether they're expanded or collapsed. Buttons that can't be used right now say they're disabled.
- Connection status is announced as it changes.
- Drop-down fields say whether they're expanded or collapsed, and the current choice in their list is read as selected.
- Settings switches are read with their description, as one item.
- Each buffer in the buffer list, and each tab in the buffer bar, has Close in its actions menu, rather than a separate button after it.
- Each person in the nicklist has Open query, Whois and Mention in its actions menu; double-tap for everything else.
- When a sheet or menu closes, focus goes back to what opened it: the message, the person in the nicklist, the channel tools button, or the message field after choosing a colour or emoji.
- Fields with a length limit say how much is used, such as "37 of 200 characters". Password fields have a Show button, and follow Android's Show passwords setting.
- Each file transfer, and each file or chat offer, is one item, saying whether it's incoming or outgoing.
Reordering
Networks can be dragged into a different order. With a screen reader, use the Move up and Move down actions instead. They're on each network on the Networks screen, and on the drag handles in the buffer list.
The floating chat window has Smaller and Larger actions to resize it.
The dividers beside the side panes, in landscape and with the side nicklist in portrait, are named Resize buffer list and Resize nicklist. They adjust like a slider (in TalkBack, swipe up or down, or use the volume keys), and have Wider and Narrower actions.
Typing
Text fields have labels, and open the right keyboard: a number pad for ports, and a web address keyboard for hosts. The keyboard's Next key moves to the next field, and Done finishes.
Keyboards
With a Bluetooth or USB keyboard, Heydrun's keys are irssi-style: the same ideas as irssi, held with Ctrl rather than Alt. Screen readers keep Alt for themselves (TalkBack's and SandFly's shortcut key is Alt unless you change it), so keys with Alt would never reach Heydrun; none of them claims Ctrl without its own key held.
| Key | What it does |
|---|---|
| Enter | Send the message |
| Shift+Enter | Start a new line in the message |
| Tab | Complete the nick you're typing. Press again for the next match. With no match, Tab moves to the next control |
| Shift+Tab | Go back to the previous nick match |
| Escape | Cancel a reply, or leave the message field |
| Up arrow | Bring back the message you sent before |
| Down arrow | Go forward again through the messages you sent |
| Ctrl+1 to Ctrl+0 | Go to buffer 1 to 10, in the order of the buffer list |
| Ctrl+Alt+1 to Ctrl+Alt+0 | Go to buffer 11 to 20 |
| Ctrl+N, Ctrl+Page Down, Ctrl+Tab | Next buffer |
| Ctrl+P, Ctrl+Page Up, Ctrl+Shift+Tab | Previous buffer |
| Ctrl+Shift+A | Next buffer with unread messages, mentions first |
| Ctrl+X | First buffer of the next network. With text selected, cuts it instead |
| Ctrl+G | Go to a buffer by name |
| Ctrl+Shift+1 to Ctrl+Shift+0 | Read the newest message, or the one 2 to 10 back |
| Ctrl+Shift+Up, Ctrl+Shift+Down | Read the previous or next message |
| Ctrl+Shift+Space | Read the same message again |
| Ctrl+Shift+C | Copy it, as "<nick> text" |
| Ctrl+Shift+N | Read the newest message |
| Ctrl+Space | Stop speaking |
| Ctrl+Shift+S | Say how many buffers are unread, and how many have mentions |
| Ctrl+J | Jump to the first unread message |
| Ctrl+Shift+J | Jump to the newest message |
| Page Up, Page Down | Scroll long screens, and the messages a screen at a time |
| Ctrl+A, Ctrl+E | Move to the start or end of the message. Ctrl+A twice quickly selects all of it |
| Ctrl+U | Delete from the cursor back to the start |
| Ctrl+W | Delete the word before the cursor |
| Ctrl+B, Ctrl+K, Ctrl+-, Ctrl+O | Put in bold, a colour code, underline, or reset formatting |
Every key that isn't line editing can be changed in Settings, Accessibility, under Keyboard shortcuts, and Previous buffer with activity can be given a key there too. For irssi's own layout, set the number keys for buffers to Alt: Alt+1 to Alt+0, and Alt+Q to Alt+O for 11 to 19. That works best with your screen reader's key set to something other than Alt, such as Meta or Insert. irssi-style commands work too: /window 3, /window goto rust, /window next, /window prev, /window list and /window close, and the short forms /w, /wc, /j and /q.
The keys that can be changed are also in Android's keyboard shortcuts list: press Meta+/ (Search+/ on a Chromebook) to hear them, under Heydrun.
Up and Down only recall messages when the cursor is on the first line, so they still move the cursor in a message with several lines.
Links can be reached with the keyboard.
Editing scripts
The script editor, in Settings under IRC, then Scripts, is a normal text field, so your screen reader's reading controls move through it by character, word or line. The keyboard doesn't autocorrect or capitalise, so code stays as you type it. Tools in the toolbar has the rest, and each has a keyboard shortcut:
| Tool | Shortcut | What it does |
|---|---|---|
| Where am I | Ctrl+L | Says the line, the number of lines and the column |
| Read line | Reads the line the cursor is on | |
| Go to line | Ctrl+G | Moves to a line by number and reads it |
| Find | Ctrl+F | Opens Find. Next and Previous, or F3 and Shift+F3, move to each match, say "Match 2 of 5" and read its line |
| Undo, Redo | Ctrl+Z, Ctrl+Y | Undo and redo, a word or a line at a time |
| Wrap long lines | On by default, so nothing hides off the edge |
Save, or Ctrl+S, keeps the editor open and says "Saved". If the script then fails to load, the error appears at the top with Go to error, which moves to the line it names. Leaving with unsaved changes asks first.
On the Scripts screen, a script that's a game has a Game badge, read as part of its row. To write scripts and screens that work well with a screen reader, see Accessible scripts.
Commands instead of menus
Almost everything in Heydrun's menus is also a slash command, which can be quicker than finding a button. For example /join #channel, /whois nick, /find text or /close. See Commands.
The intro tour
The intro tour goes through the main screens one step at a time, as SandFly's tutorial does. Some steps ask you to do something in the app itself: open the buffer list and close it, type in the message field, and open More actions and close it. The step waits until you have, says "Done", and goes on. Each step is read out as it starts, such as "Step 3 of 13: Buffer list. Open the list…", and a step you haven't done yet is read again after 25 seconds, three times at most. The screen stays usable while the tour runs. The step's card, read first, has Back, Next (or Skip step for a step that asks for something) and End tour. With a keyboard, Page Down goes on, Page Up goes back, and Escape ends the tour. Start it again from Settings, with Start tour.