-
Notifications
You must be signed in to change notification settings - Fork 207
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
New features: Add accessibility improvements #233
Conversation
src/scripts/interactive-video.js
Outdated
var $listSignLanguage = $(''); | ||
if (htmlSignLanguage !== '') { | ||
var classesSignLanguage = 'h5p-interactive-video-menu-title'; | ||
if (html !== 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Condition should be html !== ''
like this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was in fact a little strange. Not sure how that found its way in there.
src/scripts/interactive-video.js
Outdated
var classesSignLanguage = 'h5p-interactive-video-menu-title'; | ||
if (html !== 0) { | ||
// Only secondary title | ||
classesSignLanguage += ' h5p-interactive-video-menu-title-secondary'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When will this execute? Just related to above comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was a remnant of my previous implementation that could have sign language versions separately from the "qualities". Thanks for finding that.
Rejected despite pre-qualification |
When merged in, will allow to ...
Requires changes to
H5P Editor core
andH5P.Video
to take effect.pre-qualified by and implemented according to requests from @falcon-git
Bonus for H5P.Video: Stop calling pause() before play promise resolved