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.

a11y: dropdown ARIA, table scopes, page titles, sidebar labels, external link rels (#3164)

LearningCircuit25dd55231498
diff --git a/src/local_deep_research/web/templates/components/sidebar.html b/src/local_deep_research/web/templates/components/sidebar.html
index 58eef4e554..ab16abc4a1 100644
--- a/src/local_deep_research/web/templates/components/sidebar.html
+++ b/src/local_deep_research/web/templates/components/sidebar.html
@@ -1,8 +1,8 @@
-<aside class="ldr-sidebar">
+<aside class="ldr-sidebar" aria-label="Site navigation sidebar">
<div class="ldr-sidebar-header">
<h2 id="logo-link" style="cursor: pointer;"><i aria-hidden="true" class="fas fa-atom"></i> Deep Research</h2>
</div>
- <nav class="ldr-sidebar-nav">
+ <nav class="ldr-sidebar-nav" aria-label="Primary">
<!-- Research Section -->
<div class="ldr-sidebar-section" role="group" aria-labelledby="sidebar-research-label">
<div class="ldr-sidebar-section-label" id="sidebar-research-label" role="heading" aria-level="2">Research</div>
diff --git a/src/local_deep_research/web/templates/pages/collections.html b/src/local_deep_research/web/templates/pages/collections.html
index e2e25352d7..eec857c7af 100644
--- a/src/local_deep_research/web/templates/pages/collections.html
+++ b/src/local_deep_research/web/templates/pages/collections.html
@@ -1,6 +1,8 @@
{% extends "base.html" %}
{% from "components/help_macros.html" import tooltip, help_panel, help_step, help_tip %}
+{% block title %}Document Collections - Deep Research System{% endblock %}
+
{% block extra_head %}
<link rel="stylesheet" href="/static/css/collections.css">
{% endblock %}
diff --git a/src/local_deep_research/web/templates/pages/context_overflow.html b/src/local_deep_research/web/templates/pages/context_overflow.html
index 16aefd3e58..e0bb06012b 100644
--- a/src/local_deep_research/web/templates/pages/context_overflow.html
+++ b/src/local_deep_research/web/templates/pages/context_overflow.html
@@ -164,18 +164,18 @@
<table id="requests-table" class="ldr-data-table" style="width: 100%; font-size: 0.9rem;">
<thead>
<tr>
- <th class="ldr-sortable" data-sort="timestamp">Timestamp</th>
- <th class="ldr-sortable" data-sort="research_id">Research ID</th>
- <th class="ldr-sortable" data-sort="model">Model</th>
- <th class="ldr-sortable" data-sort="provider">Provider</th>
- <th class="ldr-sortable" data-sort="research_phase">Phase</th>
- <th class="ldr-sortable" data-sort="prompt_tokens">Prompt Tokens</th>
- <th class="ldr-sortable" data-sort="completion_tokens">Completion Tokens</th>
- <th class="ldr-sortable" data-sort="total_tokens">Total Tokens</th>
- <th class="ldr-sortable" data-sort="context_limit">Context Limit</th>
- <th class="ldr-sortable" data-sort="context_truncated">Truncated</th>
- <th class="ldr-sortable" data-sort="tokens_truncated">Tokens Lost</th>
- <th>Query</th>
+ <th scope="col" class="ldr-sortable" data-sort="timestamp">Timestamp</th>
+ <th scope="col" class="ldr-sortable" data-sort="research_id">Research ID</th>
+ <th scope="col" class="ldr-sortable" data-sort="model">Model</th>
+ <th scope="col" class="ldr-sortable" data-sort="provider">Provider</th>
+ <th scope="col" class="ldr-sortable" data-sort="research_phase">Phase</th>
+ <th scope="col" class="ldr-sortable" data-sort="prompt_tokens">Prompt Tokens</th>
+ <th scope="col" class="ldr-sortable" data-sort="completion_tokens">Completion Tokens</th>
+ <th scope="col" class="ldr-sortable" data-sort="total_tokens">Total Tokens</th>
+ <th scope="col" class="ldr-sortable" data-sort="context_limit">Context Limit</th>
+ <th scope="col" class="ldr-sortable" data-sort="context_truncated">Truncated</th>
+ <th scope="col" class="ldr-sortable" data-sort="tokens_truncated">Tokens Lost</th>
+ <th scope="col">Query</th>
</tr>
</thead>
<tbody id="requests-tbody">
diff --git a/src/local_deep_research/web/templates/pages/details.html b/src/local_deep_research/web/templates/pages/details.html
index 0c9b975a31..e7ed9bfde3 100644
--- a/src/local_deep_research/web/templates/pages/details.html
+++ b/src/local_deep_research/web/templates/pages/details.html
@@ -256,15 +256,15 @@
<table class="ldr-data-table">
<thead>
<tr>
- <th>Time</th>
- <th>Phase</th>
- <th>Function</th>
- <th style="text-align: right;">Prompt</th>
- <th style="text-align: right;">Completion</th>
- <th style="text-align: right;">Total</th>
- <th style="text-align: right;">Context Limit</th>
- <th style="text-align: center;">Truncated</th>
- <th>Response Time</th>
+ <th scope="col">Time</th>
+ <th scope="col">Phase</th>
+ <th scope="col">Function</th>
+ <th scope="col" style="text-align: right;">Prompt</th>
+ <th scope="col" style="text-align: right;">Completion</th>
+ <th scope="col" style="text-align: right;">Total</th>
+ <th scope="col" style="text-align: right;">Context Limit</th>
+ <th scope="col" style="text-align: center;">Truncated</th>
+ <th scope="col">Response Time</th>
</tr>
</thead>
<tbody id="co-requests-table">
diff --git a/src/local_deep_research/web/templates/pages/document_chunks.html b/src/local_deep_research/web/templates/pages/document_chunks.html
index 7b2035686f..8f9d7b7fbc 100644
--- a/src/local_deep_research/web/templates/pages/document_chunks.html
+++ b/src/local_deep_research/web/templates/pages/document_chunks.html
@@ -1,5 +1,7 @@
{% extends "base.html" %}
+{% block title %}Document Chunks - Deep Research System{% endblock %}
+
{% block extra_head %}
<link rel="stylesheet" href="/static/css/document_details.css">
{% endblock %}
diff --git a/src/local_deep_research/web/templates/pages/document_text.html b/src/local_deep_research/web/templates/pages/document_text.html
index cdacea3406..839cb67751 100644
--- a/src/local_deep_research/web/templates/pages/document_text.html
+++ b/src/local_deep_research/web/templates/pages/document_text.html
@@ -1,5 +1,7 @@
{% extends "base.html" %}
+{% block title %}Document Text - Deep Research System{% endblock %}
+
{% block extra_head %}
<link rel="stylesheet" href="/static/css/document_details.css">
{% endblock %}
diff --git a/src/local_deep_research/web/templates/pages/library.html b/src/local_deep_research/web/templates/pages/library.html
index 25de9aa278..9d1121ce94 100644
--- a/src/local_deep_research/web/templates/pages/library.html
+++ b/src/local_deep_research/web/templates/pages/library.html
@@ -227,12 +227,12 @@
<!-- Large action buttons -->
<div class="ldr-action-buttons" onclick="event.stopPropagation()">
{% if doc.has_pdf %}
- <a href="/library/document/{{ doc.id }}/pdf" target="_blank" class="ldr-action-btn ldr-action-btn-pdf">
+ <a href="/library/document/{{ doc.id }}/pdf" target="_blank" rel="noopener noreferrer" class="ldr-action-btn ldr-action-btn-pdf">
<i class="fas fa-file-pdf"></i> View PDF
</a>
{% endif %}
{% if doc.has_text_db %}
- <a href="/library/document/{{ doc.id }}/txt" target="_blank" class="ldr-action-btn ldr-action-btn-txt">
+ <a href="/library/document/{{ doc.id }}/txt" target="_blank" rel="noopener noreferrer" class="ldr-action-btn ldr-action-btn-txt">
<i class="fas fa-file-alt"></i> View Text
</a>
{% endif %}