Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
left_sidebar: Correctly handle focus on views controls.
Karl Stolley8e7265fbb43c
diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.cssindex f406ffb1442..dac8bcfd90f 100644--- a/web/styles/left_sidebar.css+++ b/web/styles/left_sidebar.css@@ -307,6 +307,17 @@ li.show-more-topics {&:hover {opacity: 1;}++ &:focus {+ outline: 0;+ }++ /* This renders an outline when the caret is reached+ with the keyboard, although that is not at present+ easily accomplished. */+ &:focus-visible {+ outline: 2px solid var(--color-outline-focus);+ }}.active_private_messages_section {@@ -496,7 +507,11 @@ li.active-sub-filter {position: absolute;}- &:hover {+ /* Show the same styles when each item is+ hovered or, via the keyboard, the `<a>`+ element within receives focus. */+ &:hover,+ &:focus-within {background: var(--color-background-hover-narrow-filter);.unread_count {