Add #PB_Shortcut_TabNavigation flag to ShortcutGadget()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Quin
Addict
Addict
Posts: 1122
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Add #PB_Shortcut_TabNavigation flag to ShortcutGadget()

Post by Quin »

Currently, the ShortcutGadget() captures tab and shift+tab as valid keyboard shortcuts, making it very difficult for a screen reader user to get out of a ShortcutGadget if they happen to land on one. You have to use advanced screen reader commands that not everyone knows about and it's really janky. For this reason, I propose adding a Flags parameter to ShortcutGadget(), with the #PB_Shortcut_TabNavigation flag. It's function will be very similar to #PB_Editor_TabNavigation for the EditorGadget(), but handling both tab and shift+tab.
nsstudios
Enthusiast
Enthusiast
Posts: 309
Joined: Wed Aug 28, 2019 1:01 pm
Location: Serbia
Contact:

Re: Add #PB_Shortcut_TabNavigation flag to ShortcutGadget()

Post by nsstudios »

Omg yes!
+1
This would make using shortcut fields like IDE's own a looot easier.
Post Reply