SpinTheMic
Pro

Interview practice question

Focused links disappear behind a sticky header

Frontend Engineering · Accessibility · Intermediate

Keyboard users report that when tabbing backwards up a page, focused links disappear behind the sticky header. How would you fix it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Violates focus not obscured.
  • scroll-padding-top equal to header height.
  • Reduce header height on scroll.
  • Test both directions.
  • Consider non-sticky on small screens.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics