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

Activate / focus block with choices automatically #22

Open
BITS-Editor opened this issue Feb 17, 2022 · 2 comments
Open

Activate / focus block with choices automatically #22

BITS-Editor opened this issue Feb 17, 2022 · 2 comments

Comments

@BITS-Editor
Copy link

Is it possible to activate or focus the block with the choices when opening a quiz page automatically - or at least when going to the next page with the next question?

The demo https://bonartm.github.io/quizdown-live-editor/ seemingly (?) does not support keyboard navigation.

@bonartm
Copy link
Owner

bonartm commented Mar 20, 2022

I can navigate through the page with Tab (next focus) Shift+Tab (previous focus) and space (select item, click button). When clicking the "next" button with the keyboad I'm still inside the quiz and I can go back to the choices section by pressing Shift+Tab repeatedly.

With the demo, because of the text editor, there can be problems because of "tab trapping". It's a known issue but can be solved by pressing Str+M when inside the text editor (https://github.com/microsoft/monaco-editor/wiki/Monaco-Editor-Accessibility-Guide#tab-trapping).

@bonartm bonartm closed this as completed Mar 20, 2022
@BITS-Editor
Copy link
Author

BITS-Editor commented Mar 23, 2022

I can navigate through the page with Tab (next focus) Shift+Tab (previous focus) and space (select item, click button). When clicking the "next" button with the keyboad I'm still inside the quiz and I can go back to the choices section by pressing Shift+Tab repeatedly.

True, but navigating by Shift+Tab backwards on the subsequent pages of the quiz to the answer block is a bit annoying. I would be grateful if you could check a remedy!

@BITS-Editor BITS-Editor mentioned this issue Jun 21, 2022
@bonartm bonartm reopened this Jun 23, 2022
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

2 participants