< Back to Demos | Learn more at PaulJAdam.com >

Using role=alert on Static Warning Messages

Before:

Travel Alert: Winter Storm Juno, Mid-Atlantic and Northeast United States. See Details

After:

This role=alert demo is trying to convey semantics and importance of this static travel alert example that is already in the DOM on page load and never disappears from view. It's very visually prominent at the top of the page.