Failure example: including a search results message without a status
role
This demonstrates a failure of Status Messages, where messages about search results are returned without being surfaced via the aria status
role. After a user presses a Search button, the page content does a mock search for words that rhyme with "orange". None are returned, which results in a change to content: the message "0 results returned". This text is not given an appropriate role for a status message, and so a screen reader will not announce "Zero results returned" unless a user manually navigates to it.