All frame or iframe elements in an HTML document must have a title that describes the contents to screen reader users.
Screen reader users rely on a frame title to understand the contents of a frame. Without a title, engaging with frame and iframe elements quickly becomes difficult for users.
Screen reader users also have the option to pull up a list of titles for all frames on a page, which is where unique titles come in handy. If no title is provided, screen readers will instead provide information such as “frame,” “JavaScript,” the filename, or the URL.
Ensure all frame and iframe elements have valid title attribute values that are brief, clear, and informative.
It’s also best to give the enclosed document a title element that is identical to the title attribute.
For more examples, visit W3C’s GitHub’s ATC Rules library.