-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add the undo button to cancel video removal. #99
Conversation
This also fixes #96 – marking in the description. @derekherman, could you please share what issues you encountered when you first merged this? Or – if we decide to not go with this update – please let me know and I'll cherry pick the changes necessary to fix #96 into a new PR. |
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.
- Removes invalid
<button>
markup. Buttons may not contain interactive content, which among others means<img>
elements.
This is valid markup (check the usemap
part).
And to just confirm with W3C:
<button><img usemap="#map" alt="..." src="..." /></button>
=
<button><img alt="..." src="..." /></button>
= ✅
That change also broke the accessibility (keyboard usage is now broken).
I stand corrected, @merapi, and will revert the unnecessary change. 👍 |
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.
@derekherman I merged the latest develop
in and I'm not seeing any issues. Can you please re-test?
@derekherman Fixed the issues with download buttons. I have not fixed the issue with downloaded videos dimming out incorrectly, because #104 changes the whole system anyway and fixes the issue. If you don't want to deal with the two PRs separately and deal with merge conflicts, I merged the branches together into: Feel free to use it for testing and open a PR from that branch if you don't want to deal with merge conflicts. |
@dero this appears to have had the connection PR merged in, as well. |
Summary
Fixes #86
Fixes #96
<button>
markup. Buttons may not contain interactive content, which among others means<img>
elements.tabindex
attributes androle="button"
to spans instead to keep things accessible.2021-03-12_10-22-20.mp4