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