UX: use default browser focus styling for checkbox and radio inputs (#12173)

UX: use default browser focus styling for checkbox and radio inputs (#12173)

diff --git a/app/assets/stylesheets/common/base/discourse.scss b/app/assets/stylesheets/common/base/discourse.scss
index 8896291..d1adb3b 100644
--- a/app/assets/stylesheets/common/base/discourse.scss
+++ b/app/assets/stylesheets/common/base/discourse.scss
@@ -186,7 +186,7 @@ textarea {
     border-color: var(--primary-low);
   }
 
-  &:focus {
+  &:not([type="checkbox"]):not([type="radio"]):focus {
     @include default-focus;
   }
 

GitHub sha: 76967ee7

1 Like

This commit appears in #12173 which was approved by CvX. It was merged by pmusaraj.