The accessibility guide · Getting around the page
The cookie banner that keyboard focus can't reach
A cookie banner painted on top but built last in the page order forces keyboard users to tab through the whole page before they can dismiss it.
The choice you’re proud of
A cookie banner that covers the page but sits dead-last in its order
What it actually is
The consent box is painted on top of everything visually, but in the page's actual order it's the very last thing — so keyboard focus won't reach it until you've tabbed through the entire page first.
Who it shuts out
A keyboard or screen-reader user sees the banner blocking the page and reaches for “Accept” — but focus won't land there. They have to tab through every link on the whole page first, sometimes twenty-plus presses, before the two buttons right in front of their face become reachable, and the page stays covered the entire time. What your eyes see and what the keyboard reaches have to be the same order.