Skip to content

A platform for community discussion. Free, open, simple.

A11Y: increase contrast of elements in wcag scheme (#21025)

Krisba119555fe69
diff --git a/app/assets/stylesheets/wcag.scss b/app/assets/stylesheets/wcag.scss
index a54ad3df530..5f7c981b0c2 100644
--- a/app/assets/stylesheets/wcag.scss
+++ b/app/assets/stylesheets/wcag.scss
@@ -147,6 +147,10 @@ html {
color: var(--primary-high);
}
+ .topic-list .posters a:first-child .avatar.latest:not(.single) {
+ box-shadow: 0 0 0 2px var(--tertiary);
+ }
+
// Posts
.discourse-no-touch .topic-body .actions .fade-out {
@@ -302,3 +306,23 @@ html {
background-color: yellow; // resets to browser default
}
}
+
+// chat
+
+.no-touch
+ .chat-messages-container
+ .chat-message:hover
+ .chat-message-react-btn:hover {
+ .d-icon {
+ color: var(--primary) !important;
+ }
+}
+
+// sidebar
+
+.sidebar-wrapper
+ .sidebar-sections
+ .sidebar-section-link-suffix.icon.unread
+ svg {
+ color: var(--tertiary);
+}