Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<html>
<head>
<title>Audio Test: audio_controls_present.html</title>
<meta name="flags" content="" />
<meta name="assert" content="Check if the controls attribute is present in the audio element that expecting the user agent exposes a controller user interface" />
</head>
<body>
<p>Test passes if a controller user interface appears below and the text 'The user agent doesn't support media element.' does not appear anywhere on this page</p>
<audio id="m" controls>The user agent doesn't support media element.</audio>
</body>
</html>