Barrier 1 of 3
Slide-out cart drawer focus handling
Representative allegation
Plaintiff, using a screen reader and keyboard only, could not close the slide-out cart or reach the checkout button.
WCAG 2.1.2 No Keyboard Trap, 2.4.3 Focus Order, 4.1.2 Name, Role, Value
Typical location: snippets/cart-drawer.liquid
How a plaintiff tests it
Open the cart with Enter, press Tab repeatedly, and check whether focus stays inside the drawer, whether Escape closes it, and whether focus returns to the cart button.
How we fix it
Give the drawer dialog semantics with an accessible name, move focus in on open, contain Tab inside it, close on Escape, and return focus to the trigger on close.