retrohub-org / retrohub

Retrogaming library frontend, built to be a highly customizable platform.
https://retrohub-org.github.io/
MIT License
110 stars 6 forks source link

Make screen reader toggable and detect default usage #223

Open rsubtil opened 1 year ago

rsubtil commented 1 year ago

With #221 merged, screen reader will always be used if available. This means it will always be present on Windows and macOS.

For starters, this should be toggle-able in the settings.

But the main issue is figuring out whether this should be enabled or not in the first-time setup. There's no standardized method to detect if a screen reader is currently being used, and the API on all systems works by directly interfacing with the software, even if it's launched or not. Here are the solutions founds so far:

rsubtil commented 1 year ago

The most sensible alternative for now is to Enable by default, add option to disable for users.. The first-time wizard speaks a single prompt instructing screen reader users to press a key to enable it.

This will remain open to track if users have issues with the chosen solution.