What to do:
- Use native HTML elements (<button>, <nav>) over generic <div> 's.
-
Add ARIA attributes when semantics aren't enough:
html
<div role="alert" aria-live="assertive"> Error message! </div>