<!DOCTYPE html>
<html lang="en-US">
<title>Media Controls: overflow button accessibility tests</title>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../media-controls.js"></script>
<video controls></video>
<script>
async_test(t => {
var video = document.querySelector('video');
video.src = '../content/test.ogv';
video.oncanplaythrough = t.step_func_done(_ => {
var overflow_button = overflowButton(video);
assert_equals(overflow_button.getAttribute('aria-label'),
'show more media controls');
assert_equals(overflow_button.getAttribute('title'), 'more options');
});
});
</script>
</html>