Source code
Revision control
Copy as Markdown
Other Tools
<!doctype html>
<title>fieldset accessibility test: legend visibility: hidden</title>
<style>
legend > span { visibility: hidden; }
</style>
<fieldset id=fieldset>
<legend>Foo<span>Bar</span></legend>
<input>
</fieldset>
<p>Expected accessible name for id=fieldset: "Foo"