Skip to content

Improve keyboard accessibility in create_variable_dialog #221

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

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

dylanmccall
Copy link
Contributor

When the dialog is focused, we need to focus the custom dialog's own controls instead of the dialog's buttons. In addition, set focus_next and focus_previous properties so focus flows between child widgets and the dialog's ok / cancel buttons. The focus loops around within the dialog, as is conventional with other dialogs in the Godot editor.

When the dialog is focused, we need to focus the custom dialog's own
controls instead of the dialog's buttons. In addition, set focus_next
and focus_previous properties so focus flows between child widgets and
the dialog's ok / cancel buttons. The focus loops around within the
dialog, as is conventional with other dialogs in the Godot editor.
Copy link
Contributor

@starnight starnight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thanks!

@starnight starnight merged commit df6c8ce into main Sep 13, 2024
3 checks passed
@starnight starnight deleted the create-variable-keynav branch September 13, 2024 04:15
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

Successfully merging this pull request may close these issues.

2 participants