4 ms·
Normally, I would make an argument that the amount of use without Javascript is very low. However, given the ecommerce nature, I can understand the desire to re
by nantes 15y ago
Normally, I would make an argument that the amount of use without Javascript is very low. However, given the ecommerce nature, I can understand the desire to reduce Javascript dependencies.
You might give <http://reference.sitepoint.com/css/pseudoclass-focus> http://reference.sitepoint.com/css/pseudoclass-focus> a try. It's CSS2 and appears to work on IE>=8 and all other major browsers.
I could see a scenario where :focus and Javascript could be the default behavior, falling back to just :focus, then falling back again to just two buttons, could work.
Good luck!