Source code
Revision control
Copy as Markdown
Other Tools
<!doctype html>
<title>fieldset accessibility test: flexbox</title>
<style>
fieldset { display: flex; }
legend { float: left; flex: auto; }
input { display: block; flex: auto; }
</style>
<fieldset id=fieldset>
<legend>Foo</legend>
<input>
</fieldset>
<p>Expected accessible name for id=fieldset: "Foo"