Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

popover: Make remove button keyboard accessible in popovers.

Pratik Chanda9d18ba8ddeaf
diff --git a/web/styles/popovers.css b/web/styles/popovers.css
index 073ee311c31..3b6b1f50679 100644
--- a/web/styles/popovers.css
+++ b/web/styles/popovers.css
@@ -236,15 +236,11 @@
.hidden-remove-button {
opacity: 0;
- visibility: hidden;
- transition:
- opacity 0.3s ease,
- visibility 0.3s ease;
+ transition: opacity 0.3s ease;
pointer-events: none;
}
.hidden-remove-button:has(.button-loading-indicator) {
- visibility: visible;
cursor: default;
opacity: 1;
}
@@ -252,10 +248,13 @@
.hidden-remove-button-row:hover
.hidden-remove-button:not(:has(.button-loading-indicator)) {
opacity: 1;
- visibility: visible;
pointer-events: auto;
}
+.hidden-remove-button:focus-visible {
+ opacity: 1;
+}
+
#stream-actions-menu-popover,
#stream-card-popover {
.popover-stream-name {