Skip to content
fa
Search Frontend Atlas
Search questions and concepts across the handbook.

5 curated questions

Accessibility, Security & Testing

Inclusive interfaces, browser security, and dependable verification.

  1. 01

    Why does semantic HTML matter beyond screen readers?

    Connect native semantics to accessibility APIs, keyboard behavior, browser defaults, and automated tooling.

    foundation · 8 min
  2. 02

    What belongs in unit, integration, and end-to-end tests?

    Choose test boundaries based on risk and behavior rather than maximizing one test category.

    intermediate · 10 min
  3. 03

    How do cookie attributes and CSRF defenses work together?

    Explain ambient cookie credentials, SameSite, origin checks, anti-CSRF tokens, and secure session handling.

    advanced · 11 min
  4. 04

    How do you test async UI behavior and race conditions deterministically?

    Control time and response ordering rather than relying on arbitrary sleeps.

    advanced · 11 min
  5. 05

    How does cross-site scripting happen, and how should frontend code prevent it?

    Understand injection contexts, safe DOM APIs, output encoding, sanitization, and defense in depth.

    advanced · 12 min