This example requires Firefox 3 or later to work with screen readers -- it uses ARIA properties without namespaces, which is now the correct markup.
Buttons to create different alerts
Some text after the alert to help with selection in order to view alert source