buy-button-js
buy-button-js copied to clipboard
Remove focus outline on cart close button
On chrome whenever the cart is toggled open it auto-focuses on the close button which renders the ugly grey outline. Can someone please add "outline: none;" to that button so it removes that? Or just don't auto-focus the close button.
Actually, can we get an option to disable this accessibility feature site-wide? I'm experiencing this as well as a thin blue outline on my product, after exiting the modal (which also has an auto-focused close button).
+1 for not autofocusing the button
might try focusing on something in an event handler.
Solved.
In:
"cart": { "styles": { } }
Add: "close": { "outline": "0" }