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

fix: focus on first element when back to the settings menu #4653

Merged
merged 3 commits into from
Nov 4, 2022
Merged

fix: focus on first element when back to the settings menu #4653

merged 3 commits into from
Nov 4, 2022

Conversation

gonzajet
Copy link
Contributor

@gonzajet gonzajet commented Nov 3, 2022

Going to the configuration menu using the keyboard and entering some menu, when going back the focus is lost because the first element of the HTML tree is hidden. This makes it difficult to use the player using accessibility shortcuts.

Closes #4652

@gonzajet gonzajet changed the title Fix: focus on first element when back to the settings menu fix: focus on first element when back to the settings menu Nov 3, 2022
Copy link
Member

@joeyparrish joeyparrish left a comment

Choose a reason for hiding this comment

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

Looks good, but I will wait for the test run to complete before merging.

@avelad avelad added type: bug Something isn't working correctly type: accessibility An accessibility issue labels Nov 4, 2022
@avelad avelad added this to the v4.3 milestone Nov 4, 2022
@avelad avelad added the priority: P2 Smaller impact or easy workaround label Nov 4, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2022

Incremental code coverage: 27.27%

@joeyparrish joeyparrish merged commit b40b6e7 into shaka-project:main Nov 4, 2022
joeyparrish pushed a commit that referenced this pull request Nov 8, 2022
Going to the configuration menu using the keyboard and entering some
menu, when going back the focus is lost because the first element of the
HTML tree is hidden. This makes it difficult to use the player using
accessibility shortcuts.

Closes #4652

Co-authored-by: Gonzalo Rodriguez <pgonzalorodriguez@gmail.com>
joeyparrish pushed a commit that referenced this pull request Nov 8, 2022
Going to the configuration menu using the keyboard and entering some
menu, when going back the focus is lost because the first element of the
HTML tree is hidden. This makes it difficult to use the player using
accessibility shortcuts.

Closes #4652

Co-authored-by: Gonzalo Rodriguez <pgonzalorodriguez@gmail.com>
joeyparrish pushed a commit that referenced this pull request Nov 8, 2022
Going to the configuration menu using the keyboard and entering some
menu, when going back the focus is lost because the first element of the
HTML tree is hidden. This makes it difficult to use the player using
accessibility shortcuts.

Closes #4652

Co-authored-by: Gonzalo Rodriguez <pgonzalorodriguez@gmail.com>
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: accessibility An accessibility issue type: bug Something isn't working correctly
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Focus is lost on first element when back to the settings menu
3 participants