Source code

Revision control

Copy as Markdown

Other Tools

<!doctype html>
<title>fieldset accessibility test: legend child display: none</title>
<style>
legend > span { display: none; }
</style>
<fieldset id=fieldset>
<legend>Foo<span>Bar</span></legend>
<input>
</fieldset>
<p>Expected accessible name for id=fieldset: "Foo"