Typing help for wxDragon text boxes, built so screen reader users get as much from it as anyone.
An editor-style completion list for whatever follows a trigger character, such as @ for people or # for hashtags:
- Typing the trigger opens the list, and typing on narrows it. After a short pause, an optional search runs on a worker thread and adds what it finds.
- Up and Down pick a suggestion, Enter or Tab insert it with a space after, Escape dismisses the list, and Ctrl+Space brings it back.
- Focus never leaves the text box, so typing is never interrupted. The highlighted suggestion is spoken through a callback, so the app keeps its own speech. The visible list is for sighted users, who can also click a suggestion.
Each trigger sets which characters a query can hold, whether the trigger can repeat inside a query (as in @user@domain), and whether a suggestion's detail is its name (shown first and searchable, like a display name) or a note (shown after, like a hashtag's usage count).
See the completion module docs for an example.
MIT