Accessibility Focus Snippit

Submitted about 2 years Ago

/* - - - - - any link on the page that's an a tag - - - - - */ a:focus, button:focus, input.submit:focus, .bs3 a[href^="tel:"]:not(.preserve-styles):focus { outline: none !important; border: 2px solid #2c6cb1 !important; background-color: #2c6cb1 !important; color:#ffffff !important; } /* - - - - - Focus CSS for Forms - - - - - */ input:focus, textarea:focus { outline: none !important; border: 2px solid #2c6cb1 !important; } input[type=checkbox]:focus+label, input[type=radio]:focus+label, select:focus { outline: none !important; border: 2px solid #2c6cb1 !important; }

0 Comments