haxeui / haxeui-core

The core library of the HaxeUI framework
http://haxeui.org
MIT License
341 stars 71 forks source link

TAB and ALT navigation #479

Open EliteMasterEric opened 2 years ago

EliteMasterEric commented 2 years ago

Applications that have met the Microsoft Windows accessibility standards follow a standard menu scheme with headings like File, Edit, View, and so on. Pressing the Alt key will highlight the menu bar. enabling navigation by pressing appropriate keys (corresponding to underlined letters) or by pressing the arrow keys. Most modern applications include this feature.

Also available in many applications is the ability to press the TAB key to set the next available input as active, which allows for full keyboard interaction in the main view as well. I am not sure to the extent which this particular functionality has been considered or implemented.

Possible Solution

A possible solution may be to include some functionality in the action manager to help applications implement this.

Media

image image This screenshot depicts the menu bar for VSCode, before and after pressing ALT. Note how each option includes an underlined character; the user can press ALT along with the associated letter to open the menu; the menu then contains underlines for each menu item. Note also the highlight cursor; the user can use the arrow keys or ENTER to select menu items as well.

Context

I am looking to make my application fully accessible, and adding keyboard navigation in a similar vein to modern programs like Firefox and Chrome is one step in that process.

Shallowmallow commented 9 months ago

If you use the wxwidgets backend, it is accessible out of the box. ( also works with speech synthesis, etc)