Autogeneration of shortcut keys or html accesskeys from field captions
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 717
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 3
Description
Originally by @mstahv
After some discussions with Magi I'm confident that Toolkit should have special syntax in field captions for automatic generation of shortcut keys.
A good example of a similar functionality can be found in QT:
QPushButton p( "&Exit", parent );
(E is used as access key)
See more detailed info http://www.mathematik.uni-ulm.de/help/qt-2.3.1/qaccel.html
This could simplify usage of shortcuts in many places and allow localization of access keys.
Implementation could either use html:s accesskey system or it could be built as a wrapper around current server side ShortcutActions.
Imported from https://dev.vaadin.com/ issue #1962
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names field captions, HTML accesskey support, and the existing server-side ShortcutActions approach, but no files or tests. Start by locating those implementations and reviewing the linked Qt access-key behavior. Done requires an agreed caption syntax, localization behavior, and a chosen implementation path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- accessibility, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100