Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve keyboard-based play by defaulting focus to story rather than buttons #108

Open
ronjouch opened this issue Aug 14, 2015 · 2 comments

Comments

@ronjouch
Copy link

Hi.

I'm discovering choicescript by playing Choice of Robots. Great experience so far, except a little thing due to preferring playing with the keyboard (using the Tab, Arrows, and Enter keys).

The nit is that each screen sets the focus to right before the top buttons (Show stats, Restart, Achievements, Menu), which means that to reach the first option I have to Tab five times. At each screen.

It would be great if, instead, choicescript defaulted the caret focus to the story element of the current screen (or the first choice, but then ensuring this doesn't result into scrolling to it, potentially scrolling past the start of the current page's story)

Or am I missing something? Any other suggestion for keyboard players like me?

@ghost
Copy link

ghost commented Aug 15, 2015

+1

@ghost
Copy link

ghost commented Jan 3, 2018

This could probably be fixed with the tabindex HTML attribute

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant