From 1cb9f4e6d5829accc7f8bfc140e6f6ec053e8ecd Mon Sep 17 00:00:00 2001 From: navya9singh <108360753+navya9singh@users.noreply.github.com> Date: Fri, 27 Sep 2024 12:37:56 -0700 Subject: [PATCH] Fixing accessibility bug (#3237) --- packages/typescriptlang-org/src/templates/pages/css/index.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/typescriptlang-org/src/templates/pages/css/index.scss b/packages/typescriptlang-org/src/templates/pages/css/index.scss index 78b0634460c9..f019ae5d6d5a 100644 --- a/packages/typescriptlang-org/src/templates/pages/css/index.scss +++ b/packages/typescriptlang-org/src/templates/pages/css/index.scss @@ -578,6 +578,7 @@ $headline-foreground-bg: white; &:active { background-color: #156fb4; } + &:focus-visible, &:hover { outline-width: 2px; box-shadow: 0px 4px 20px -2px rgba(0, 0, 0, 0.25); @@ -591,6 +592,7 @@ $headline-foreground-bg: white; height: 342px; margin-bottom: 2px; + &:focus-visible, &:hover { outline-color: $ts-main-blue-color; outline-width: 2px;