Frontend developers are expected to have an intermediate understanding of WCAG 2.0 Level AA and apply accessibility best practices in daily development.
Use semantic elements like <button>, <nav>, <header>, <main>, <section>, and <label>.
Why it matters:
Rule: Prefer semantic HTML over <div> and <span>.
Ensure your app works without a mouse.
Checklist:
Tip: Test using only the keyboard.
WCAG Level AA contrast requirements:
Tools: DevTools, Lighthouse, contrast checkers Good contrast improves usability for everyone.
ARIA enhances accessibility only when HTML isn’t enough.
Golden rule:
Use native HTML first. ARIA second.
Common uses:
aria-expanded, aria-disabled)Alt text explains purpose, not appearance.
Guidelines:
alt=""