-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
More duplicate HTML IDs #8761
Closed
boris-petrov opened this issue
Jun 8, 2024
· 0 comments
· Fixed by #8762 · 4 remaining pull requests
Closed
More duplicate HTML IDs #8761
boris-petrov opened this issue
Jun 8, 2024
· 0 comments
· Fixed by #8762 · 4 remaining pull requests
Comments
9 tasks
mister-ben
added a commit
that referenced
this issue
Jun 10, 2024
The fix for the previous issue with the new text track settings introduced that ids would be re-used across players as there was no prefix for the settings that don't have a `<label>` for their `<select>`. This change uses a generated guid for items without that label. Fixes #8761 ## Requirements Checklist - [x] Feature implemented / Bug fixed - [ ] If necessary, more likely in a feature request than a bug fix - [x] Change has been verified in an actual browser (Chrome, Firefox, IE) - [ ] Unit Tests updated or fixed - [ ] Docs/guides updated - [ ] Example created ([starter template on JSBin](https://codepen.io/gkatsev/pen/GwZegv?editors=1000#0)) - [x] Has no DOM changes which impact accessiblilty or trigger warnings (e.g. Chrome issues tab) - [x] Has no changes to JSDoc which cause `npm run docs:api` to error - [ ] Reviewed by Two Core Contributors
This was referenced Aug 1, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
After updating from
8.12.0
to8.15.0
I started getting more duplicate ID errors from my HTML validator.Reduced test case
N/A
Steps to reproduce
The duplicate IDs that the validator gives are:
-50
,-75
,-100
,-125
,-150
,-175
,-200
,-300
,-400
,-None
,-Raised
,-Depressed
,-Uniform
,-Dropshadow
,-ProportionalSansSerif
,-MonospaceSansSerif
,-ProportionalSerif
,-MonospaceSerif
,-Casual
,-Script
,-SmallCaps
. The first one, for example, I see here:I have a second video in the page so I guess that's why there are two of these.
Errors
No response
What version of Video.js are you using?
8.15.0
Video.js plugins used.
No response
What browser(s) including version(s) does this occur with?
Chromium
What OS(es) and version(s) does this occur with?
Linux
The text was updated successfully, but these errors were encountered: