nvaccess / nvda

NVDA, the free and open source Screen Reader for Microsoft Windows
https://www.nvaccess.org/
Other
2.12k stars 638 forks source link

Feature request: search in settings #16500

Open ABuffEr opened 6 months ago

ABuffEr commented 6 months ago

Is your feature request related to a problem? Please describe.

NVDA has a lot of options nowadays, in many sections. Even with shortcuts, finding the wanted setting could be slow, if it's not frequently used (e.g.: Bookmarks checkbox in Document formatting)..

Describe the solution you'd like

NVDA should provide a search field, like in Symbols dialog, to rapidly find the desired option. When found, the option should be auto-focused. There should be also a shortcut to find another results.

I'll provide an experimental PR around this idea.

Describe alternatives you've considered

An alternative could be what happens in Windows settings, where typing in search field popups a list with some results, and pressing enter over one of them brings to the option in correct section.

Additional context

None.

Adriani90 commented 6 months ago

@ABuffEr I will comment here as well, summarizing points from #872 as well as my thoughts.

Some UX points to consider:

Approach ideas on the table sofar in addition to what you described:

  1. All panels / options remain available to receive focus / be changed
  2. Panels with matching options are visually highlighted, options that match are visually highlighted. it might be challenging to visually highlight options with WX python. Is it possible?
  3. Pressing f6 or shift+f6 jumps between the currently visible category and the search field
  4. I propose when using f3 or shift+f3 to jump focus to the matching options, the profile, the group and the pannel name the control is located in, is reported in speech and Braille, along with the control label and its state / value. e.g. a. searching for "UIA" and pressing f3, NVDA would report something like "Profile: Firefox, Advanced settings, Microsoft UIA grouping / Register for UIA events combo box colapsed automatic (prefer selective)." This verbose reporting should happen only when entering the settings category, the grouping name should be reported only when entering a new grouping. b. Pressing again f3 reports only the next matching setting name and its value / state and if needed the grouping name, until the setting category changes. c. When the setting category changes upon pressing f3, NVDA reports the whole stuff again as proposed in a.

Drawbacks:

Second alternative approach, more consistent with what other software do:

Seems most promising in my view, maybe even in combination with the first alternative. The only drawback I see is that the dropdown menu might be a bit confusing. Advantages:

Third alternative approach