Frames allow different web pages to be put together on the same visual space.
Users without disabilities can easily scan the contents of all frames at once.
But visually impaired users using screen readers hear the page content linearly.
The title attribute is used to list all the page's frames, enabling those users to easily navigate between them.
Therefore, the <frame> and <iframe> tags should always have a title attribute.
The following code:
<frame src="index.php?p=menu"> <-- Non-Compliant --> <frame src="index.php?p=home" name="contents"> <-- Non-Compliant -->
should be refactored into:
<frame src="index.php?p=menu" title="Navigation menu"> <-- Compliant --> <frame src="index.php?p=home" title="Main content" name="contents"> <-- Compliant -->