Skip to content

Add provisions for accessibility systems. - #599

Draft
trigg wants to merge 16 commits into
masterfrom
a11y
Draft

trigg wants to merge 16 commits into
masterfrom
a11y

Conversation

@trigg

@trigg trigg commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

(a11y is shorthand for accessibility, for those who don't know)

This is a draft currently.

The wf-shell shortcut key has been co-opted and used as an accessibility toggle.

Once the user presses the shortcut, the panel is exclusive keyboard focus until ESC or the shortcut is pressed again.
Labels, Descriptions have been liberally strewn throughout the code so that navigating with Tab, Shift-Tab, Menu, and Enter and using a screen reader results in an interface that is close to as usable as current usage.

To assist in debugging, when in exclusive focus mode the currently focused widget is shown with an outline.

I have pushed this branch earlier than planned in hope to get more eyes on it and its short comings.

Of note:

  • window buttons interactions are still a bit janky, and the labels can be very verbose, some window titles are difficult on the screen reader
  • mixer messages can be quite verbose
  • closing a popover (mouse or esc) prematurely ends focus mode
  • while navigating focus mode, if a timed popover shows itself it steals focus and then closes focus mode moments later
  • several labels are written only with English in mind.

After these are fixed, we then need to decide how (also if) we add a proper shortcut to toggle this mode.

For one option, we could add one more shortcut key to wf shell unstable protocol, and keep the panel much as it is in this PR. This will work fine, but leaves other panels with no way to follow suit.

The second option requires a bit more effort. For this one I propose we create an accessibility plugin for wayfire which has a user configurable shortcut. When pressed, this cycles through layer-shell layers with ON_DEMAND keyboard focus set, bringing it into focus, and cycling back to window focus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant