ruffle
ruffle copied to clipboard
Tab key behavior from Adobe Flash Player not present in Ruffle
Describe the feature Provide a clear and concise description of your feature request. Why would this feature be useful? Does the feature involve the desktop build, the web build, or both?
This was a feature the original Flash Player had, if you press the tab key, it cycles through each clickable item, highlighted with a yellow box around the item. pressing enter "clicks" on the item.
Screenshot attached with example of what I'm talking about using a Flash projector:

Would be nice.
I agree
This is vital for finding all the Homestar Runner easter eggs.
Kind of curious how hard this would be to implement. Has anyone looked into this? What does the tab key do now?
This is very important for accecibility
What does the tab key do now?
Nothing, looks like
Any updates on this? This and the zoom functionality are some of the most noticeable pain-points with ruffle compared to native flash.
This is ultra-very important, and maybe even more important than the mouse support. And, this is a bug report, not an enhancement request.
Ok. Does anyone have any idea how to implement this? Where would one poke around to do this?
Implementation status:
- [x] Tab key support
- https://github.com/ruffle-rs/ruffle/pull/15542
- https://github.com/ruffle-rs/ruffle/pull/15737
- [x] Visual highlight around the tabbed element
- https://github.com/ruffle-rs/ruffle/pull/15717
- [ ] AVM1 support
- https://github.com/ruffle-rs/ruffle/pull/15542
- https://github.com/ruffle-rs/ruffle/pull/15580
- https://github.com/ruffle-rs/ruffle/pull/15618
- https://github.com/ruffle-rs/ruffle/pull/15838
- dispatching events on focus
- [ ] Analysis and implementation of a proper automatic order
- https://github.com/ruffle-rs/ruffle/pull/15810
- https://github.com/ruffle-rs/ruffle/pull/15864
- make the order even better?
- [ ] Tabbed element navigation (Space, Enter, Arrows)
- [ ] AVM2 support
- [ ] It seems that focusing elements by Tab triggers some additional events?
- [ ] It seems that FP has some weird logic related to the first focused element
- [ ] Should FocusTracker hold a weak reference to the focused object?
does it work across other OSes?
does it work across other OSes?
This feature is platform-independent. Should work on every OS and on web (although I am not able test it on all OSes).
Note: It works on the browser version (as in the swf file can detect its being pressed)