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

chore(demo): player captions settings focus #138

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

amtins
Copy link
Member

@amtins amtins commented Dec 14, 2023

Description

When navigating with the keyboard, the focus is not correctly set on the select html elements of the captions settings.

This is caused by two css rules in two different files:

  1. player.scss, select set to all:unset
  2. index.scss, select set to outline:none

Changes made

  • Set outline to solid during focus-within. This solution was preferred while waiting for the end of the transition to Lit.

@amtins amtins added this to the Demo milestone Dec 14, 2023
Copy link

github-actions bot commented Dec 14, 2023

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 98.37% 482/490
🟢 Branches 93.44% 228/244
🟢 Functions 100% 136/136
🟢 Lines 99.15% 466/470

Test suite run success

146 tests passing in 9 suites.

Report generated by 🧪jest coverage report action from 494bf47

When navigating with the keyboard, the focus is not correctly set on the `select`
html elements of the captions settings.

This is caused by two css rules in two different files:

1. **player.scss**, `select` set to `all:unset`
2. **index.scss**, `select` set to `outline:none`

Set `outline` to `solid` during `focus-within`. This solution was preferred
while waiting for the end of the transition to Lit.
@amtins amtins force-pushed the chore/captions-settings-focus branch from 7970bc2 to 494bf47 Compare December 14, 2023 15:37
@jboix jboix added this pull request to the merge queue Dec 20, 2023
Merged via the queue into main with commit 39904a8 Dec 20, 2023
3 checks passed
@jboix jboix deleted the chore/captions-settings-focus branch December 20, 2023 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants