Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix(a11y): meet WCAG 2.5.5 touch-target size on metrics buttons (#3928)

LearningCircuit53fff0e07213
diff --git a/src/local_deep_research/web/static/css/context_overflow.css b/src/local_deep_research/web/static/css/context_overflow.css
index b512c7ae32..4bc9417831 100644
--- a/src/local_deep_research/web/static/css/context_overflow.css
+++ b/src/local_deep_research/web/static/css/context_overflow.css
@@ -159,6 +159,13 @@
transition: all 0.2s;
font-size: 0.875rem;
font-weight: 500;
+ /* WCAG 2.5.5 — see metrics.css for the rationale; duplicated here
+ because the rule is page-scoped per the existing CSS layout. */
+ min-height: 44px;
+ min-width: 44px;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
}
.ldr-time-range-btn:hover {
@@ -302,6 +309,12 @@
cursor: pointer;
font-size: 0.875rem;
transition: all 0.2s;
+ /* WCAG 2.5.5 touch target. */
+ min-height: 44px;
+ min-width: 44px;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
}
.ldr-pagination-btn:hover:not(:disabled) {
diff --git a/src/local_deep_research/web/static/css/cost_analytics.css b/src/local_deep_research/web/static/css/cost_analytics.css
index 232b0f03e2..429a9d4a19 100644
--- a/src/local_deep_research/web/static/css/cost_analytics.css
+++ b/src/local_deep_research/web/static/css/cost_analytics.css
@@ -60,6 +60,13 @@
cursor: pointer;
font-size: 0.875rem;
transition: all 0.2s;
+ /* WCAG 2.5.5 — see metrics.css for the rationale; duplicated here
+ because the rule is page-scoped per the existing CSS layout. */
+ min-height: 44px;
+ min-width: 44px;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
}
.ldr-time-range-btn:hover,
diff --git a/src/local_deep_research/web/static/css/metrics.css b/src/local_deep_research/web/static/css/metrics.css
index a1039280ca..bd4ca51808 100644
--- a/src/local_deep_research/web/static/css/metrics.css
+++ b/src/local_deep_research/web/static/css/metrics.css
@@ -285,6 +285,14 @@ details[open] summary {
transition: all 0.2s;
font-size: 0.875rem;
font-weight: 500;
+ /* WCAG 2.5.5: ensure a 44x44 CSS-pixel touch target. inline-flex
+ centers the (shorter) text content vertically inside the
+ enforced height. */
+ min-height: 44px;
+ min-width: 44px;
+ display: inline-flex;
+ align-items: center;
+ justify-content: center;
}
.ldr-time-range-btn:hover {