Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Security & accessibilitySeniorOccasionalTroubleshooting

Which failure modes would you investigate first in keyboard navigation after authentication state changes?

Answer

Make the investigation reproducible by mapping assets, actors, trust boundaries and assistive-technology interactions. Focus on keyboard navigation after authentication state changes. Use explicit authorization rules, secure defaults and WCAG success criteria as the oracle. Cover misuse, privilege changes, data leakage, keyboard flow and perceivable feedback. Keep data and dependencies controlled enough to reproduce failures. Release only when unauthorized actions fail safely and critical tasks remain operable without a mouse or visual cues.

Strong answer includes

  • explicit risk and test oracle for keyboard navigation
  • tests server-side authorization
  • uses accessibility criteria rather than visual opinion
  • measurable evidence and residual-risk statement

Practical example

After a step-up authentication modal closed, keyboard focus was thrown back to the very top of the page instead of the element that triggered the challenge, forcing keyboard users to tab through the entire page again to resume what they were doing. The investigation traced it to the modal's close handler not restoring the previously stored focus reference, a common regression whenever modals are added to an authenticated flow.

#security#accessibility#keyboard-navigation

Sources

OWASP Web Security Testing GuideOWASP · Web application security test coverageOWASP API Security Top 10 — 2023OWASP · Authorization, authentication, resource consumption and API-specific risksWeb Content Accessibility Guidelines 2.2W3C · Accessibility requirements and conformance