elementary / gala

Gala Window Manager for elementary OS and Pantheon
https://elementary.io
GNU General Public License v3.0
272 stars 76 forks source link

Make Window Switcher accessible #1301

Closed aral closed 2 weeks ago

aral commented 2 years ago

What Happened?

Last week Catts was brought in-tree to gala as the default Window Switcher.

However, it is entirely inaccessible.

(e.g., for a person who uses a screen-reader, it does not exist at all)

I was able to cobble together some basic accessibility for Catts from whatever scant documentation and code I could find on the subject in the GNOME/Gtk/Vala/elementary OS worlds and, while it is better than nothing, it should be possible to improve it.

I hope that someone with the necesary knowledge can help with this and also share their knowledge to teach other developers both on the elementary OS core team and those making apps for the operating system how to create accessible widgets by default.

I’m opening this issue as per @cassidyjames’s request that making the widget accessible should be tracked in a separate issue.

Related: https://github.com/elementary/hig/discussions/51

Steps to Reproduce

  1. Use the Window Switcher with the screen reader

Nothing is heard.

Expected Behavior

The Window Switcher should be accessible.

OS Version

6.x (Odin)

Software Version

Latest release (I have run all updates)

Log Output

n/a

Hardware Info

n/a

danirabbit commented 3 months ago

I wonder if we should make this UI element into a GTK subprocess like we've done with some other shell elements. That would give us a11y for basically free and we could remove a lot of custom drawing