I tested this on Firefox, the latest WebKit nightly, Safari 4.0.4 and a Chrome preview.
1. Go to the attached URL
2. Hit the TAB key to access a video element
3. Try to use the spacebar to play/pause a video/audio
Shouldn't this work ? Especially because once you launch the full-screen mode you can use the spacebar to play/pause.
It works as described in Firefox.
Also the W3C Draft categorizes video and audio in "Interactive Content" : http://www.w3.org/TR/html5/embedded-content-0.html#interactive-content
Looks like there are two separate issues in this test case:
1) A <video> without tabindex cannot be selected with keyboard or mouse.
2) Even when a <video> element is selected, space bar doesn't start/pause.
This bug report is specifically about #2. Is there a bug filed for #1?
Both are linked by the specification of Interactive Content, having only one of these functionalities wouldn't be sticking to the spec.
Perhaps we should rename the bug either than splitting into two different entries ?
However it would be great if somebody could work on this problems.
It's likely that fixes will be in different code areas, and written by different people. Please file a separate bug.
- [Keyboard] Can't focus and play/pause on HTML5 video & audio element
- [Keyboard] Can not play/pause on HTML5 video & audio element
The "Can't focus on video & audio element" part is being covered by bug 67190.
Related to bug 117857
Duping out to 117857 since there is a proposed fix and the scope of the other includes this issue.
*** This bug has been marked as a duplicate of bug 117857 ***