Frames
When using frames, it's important that all content contained in them is accessible.
Testing
- Identify all
frame
s /iframe
s on a page. - Using the keyboard, navigate to each frame to ensure content is accessible.
- Check the
title
orname
attribute of each frame for a description of the content.
Examples
Failure
<iframe src="https://usda-fsa.github.io/fsa-design-system/"></iframe>
Fails: This
iframe
doesn’t have a title or name.
<iframe src="https://usda-fsa.github.io/fsa-design-system/" name='Provide an address form'></iframe>
This
name
isn’t correct.
Passes
<iframe src="https://usda-fsa.github.io/fsa-design-system/" title='Provide Name Form'></iframe>
Passes: Correct
title
is provided. This would also pass if this information was in aname
attribute.