Bird
0
0

You test a form and find keyboard users cannot reach the submit button. What is the likely cause?

medium📝 Debug Q14 of 15
Testing Fundamentals - Non-Functional Testing
You test a form and find keyboard users cannot reach the submit button. What is the likely cause?
AThe button has <code>tabindex="-1"</code>
BThe button has a visible label
CThe button uses <code>type="submit"</code>
DThe button has a high contrast color
Step-by-Step Solution
Solution:
  1. Step 1: Understand tabindex effect on keyboard navigation

    A tabindex="-1" removes the element from keyboard focus order, so users can't tab to it.
  2. Step 2: Check other options

    Visible label, submit type, and color contrast do not block keyboard focus.
  3. Final Answer:

    The button has tabindex="-1" -> Option A
  4. Quick Check:

    tabindex="-1" blocks keyboard focus [OK]
Quick Trick: Check tabindex for keyboard focus issues [OK]
Common Mistakes:
  • Confusing label visibility with focusability
  • Ignoring tabindex attribute effects
  • Assuming color affects keyboard navigation

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Testing Fundamentals Quizzes