SwayNotificationCenter icon indicating copy to clipboard operation
SwayNotificationCenter copied to clipboard

Improve accessibiity

Open nightly-brew opened this issue 3 years ago • 6 comments

Although swaync is already a great program, both in configurability and usability, I think it needs a little bit of improvement when it comes to accessibility.

I admit I haven't dug into the code to see if it works good with any screen reader or something like that, nor I have tried setting one up as I don't need them, but I think it could help a lot of people with visual impairments. My apologies if it's already "compliant" and I haven't noticed.

I don't know how much work it's needed, nor I'm fluent in Vala, but I could try to help somewhat when I get a hang of the language.

edit: my apologies, swaync is already navigable with the keyboard, but through shortcuts. I was trying to toggle the dnd button by getting to it with the arrow keys. Lovely that it already works!

nightly-brew avatar Jan 03 '22 11:01 nightly-brew

I actually haven't checked if it's "compliant" or not. Do you know of any software that'll do tts?

ErikReider avatar Jan 03 '22 12:01 ErikReider

Orca should be one of the most well-known. It says in the gnome wiki that it works with applications supporting the at-spi toolkit. Link to the wiki for more info

edit: it says in the wiki that GTK+ includes support for at-spi, but I don't know if it works by default or if it requires the dev's intervention.

nightly-brew avatar Jan 03 '22 12:01 nightly-brew

I'm trying to use orca, but it seems the latest release is really intended only for gnome 42, which is a deal breaker if it starts using gnome-shell code only. Did you happen to come across other screen reader softwares? Cause I didn't, unfortunately.

nightly-brew avatar Jan 06 '22 12:01 nightly-brew

I also tried orca but couldn't get it to run properly :/

ErikReider avatar Jan 06 '22 13:01 ErikReider

I managed to get it working! Apparently, the output modules were not installed. I installed festival, festival-freebsoft-utils and laungage packs, then configured speech dispatcher with spd-conf to use festival.

swaync kind of works out of the box with the reader, but it lacks some info.

I cannot hear notifications when they pop up, but I can hear them when I open the control center. It will state that there's a framelist with $number item(s) and proceed to state the first notification.

At the moment it will only say "not selected: $notification-title push button", completely ignoging the content of the notification ($notification-title is a placeholder) and then read each button's label.

Orca will only speak a notification if selected with the keyboard, while with easyeffects for example it will announce panel names when opened with a mouse click.

For not even thinking about accessibility, swaync is a great span ahead of other programs! :D

nightly-brew avatar Jan 06 '22 16:01 nightly-brew

Good to hear! I have no clue what made it work 😅

ErikReider avatar Jan 08 '22 01:01 ErikReider