Search GimmeJob

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

Which risks and test oracles matter most for input handling using only a keyboard and screen reader?

Answer

Prioritize the risks that could invalidate the user or business outcome before mapping assets, actors, trust boundaries and assistive-technology interactions. Focus on input handling using only a keyboard and screen reader. 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 input handling
  • tests server-side authorization
  • uses accessibility criteria rather than visual opinion
  • measurable evidence and residual-risk statement

Practical example

When a required field was left blank and submitted via keyboard only, the inline error appeared visually next to the field but was never announced by the screen reader, so a blind user had no idea the form had failed to submit. The team treated silent validation failures as the top risk for this flow and made 'every input error is both visible and announced' the test oracle.

#security#accessibility#input-handling

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