~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.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix(a11y): improve accessibility of auth pages (#3156)
LearningCircuitce8bcf995596
diff --git a/src/local_deep_research/web/templates/auth/change_password.html b/src/local_deep_research/web/templates/auth/change_password.htmlindex 1d9847f146..5c40f2efd3 100644--- a/src/local_deep_research/web/templates/auth/change_password.html+++ b/src/local_deep_research/web/templates/auth/change_password.html@@ -97,14 +97,14 @@</style></head><body>- <div class="ldr-change-password-container">+ <main class="ldr-change-password-container"><div class="ldr-change-password-header">- <h1><i class="fas fa-key"></i> Change Password</h1>+ <h1><i class="fas fa-key" aria-hidden="true"></i> Change Password</h1><p>Update your encryption password</p></div><div class="ldr-warning-box">- <i class="fas fa-info-circle"></i>+ <i class="fas fa-info-circle" aria-hidden="true"></i><strong>What happens when you change your password:</strong><br>Your entire database will be re-encrypted with the new password. This process may take a few moments.</div>@@ -139,7 +139,7 @@id="current_password"name="current_password"placeholder="Current Password"- autocomplete="off"+ autocomplete="current-password"requiredautofocus><label for="current_password">Current Password</label>@@ -164,7 +164,7 @@id="new_password"name="new_password"placeholder="New Password"- autocomplete="off"+ autocomplete="new-password"requiredminlength="8"><label for="new_password">New Password</label>@@ -177,27 +177,27 @@id="confirm_password"name="confirm_password"placeholder="Confirm New Password"- autocomplete="off"+ autocomplete="new-password"requiredminlength="8"><label for="confirm_password">Confirm New Password</label></div><button type="submit" class="btn btn-primary ldr-btn-change">- <i class="fas fa-sync-alt"></i> Change Password+ <i class="fas fa-sync-alt" aria-hidden="true"></i> Change Password</button></form><div class="ldr-auth-links"><a href="{{ url_for('index') }}">- <i class="fas fa-arrow-left"></i> Back to Dashboard+ <i class="fas fa-arrow-left" aria-hidden="true"></i> Back to Dashboard</a><p class="text-muted small mt-3">- <i class="fas fa-shield-alt"></i>+ <i class="fas fa-shield-alt" aria-hidden="true"></i>Your data remains encrypted during the password change</p></div>- </div>+ </main><script>const csrfToken = document.querySelector('input[name="csrf_token"]').value;diff --git a/src/local_deep_research/web/templates/auth/login.html b/src/local_deep_research/web/templates/auth/login.htmlindex 1e8d151e7e..8c6ecb67f3 100644--- a/src/local_deep_research/web/templates/auth/login.html+++ b/src/local_deep_research/web/templates/auth/login.html@@ -311,17 +311,17 @@</style></head><body>- <div class="ldr-auth-wrapper">+ <main class="ldr-auth-wrapper"><div class="ldr-auth-container"><div class="ldr-auth-header">- <h1><i class="fas fa-flask"></i> Local Deep Research</h1>+ <h1><i class="fas fa-flask" aria-hidden="true"></i> Local Deep Research</h1><p>Secure Research Platform</p></div><div class="ldr-card"><div class="ldr-card-content"><div class="ldr-encryption-banner">- <i class="fas fa-shield-alt"></i>+ <i class="fas fa-shield-alt" aria-hidden="true"></i><div class="ldr-encryption-banner-content"><strong>Your data is encrypted</strong><span>Each user has their own encrypted database protected by their password</span>@@ -329,8 +329,8 @@</div>{% if not has_encryption %}- <div class="ldr-security-warning">- <i class="fas fa-exclamation-triangle"></i>+ <div class="ldr-security-warning" role="alert">+ <i class="fas fa-exclamation-triangle" aria-hidden="true"></i><strong>Security Warning:</strong>Database encryption is not available. Your data will be stored unencrypted.<br><small>Install SQLCipher for secure storage.</small>@@ -341,14 +341,14 @@{% if messages %}{% for category, message in messages %}{% if category == 'success' %}- <div class="alert alert-success alert-dismissible">+ <div class="alert alert-success alert-dismissible" role="alert">{% elif category == 'info' %}- <div class="alert alert-info alert-dismissible">+ <div class="alert alert-info alert-dismissible" role="alert">{% else %}- <div class="alert alert-warning alert-dismissible">+ <div class="alert alert-warning alert-dismissible" role="alert">{% endif %}{{ message }}- <button type="button" class="btn-close" onclick="this.parentElement.style.display='none'">×</button>+ <button type="button" class="btn-close" aria-label="Dismiss alert" onclick="this.parentElement.style.display='none'">×</button></div>{% endfor %}{% endif %}@@ -389,7 +389,7 @@</label><button type="submit" class="btn">- <i class="fas fa-sign-in-alt"></i>+ <i class="fas fa-sign-in-alt" aria-hidden="true"></i>Login</button></form>@@ -399,14 +399,14 @@<p>Don't have an account? <a href="{{ url_for('auth.register') }}">Register here</a></p>{% endif %}<div class="ldr-browser-hint">- <i class="fas fa-info-circle"></i>+ <i class="fas fa-info-circle" aria-hidden="true"></i><span>Your browser can save your password for easy login</span></div></div></div></div>- </div>+ </main><!-- Clear theme localStorage on logout to prevent cross-user theme bleeding --><script>diff --git a/src/local_deep_research/web/templates/auth/register.html b/src/local_deep_research/web/templates/auth/register.htmlindex 92ea9a6419..5a33cf1830 100644--- a/src/local_deep_research/web/templates/auth/register.html+++ b/src/local_deep_research/web/templates/auth/register.html@@ -381,9 +381,9 @@</style></head><body>- <div class="ldr-auth-container">+ <main class="ldr-auth-container"><div class="ldr-auth-header">- <h1><i class="fas fa-user-plus"></i> Create Account</h1>+ <h1><i class="fas fa-user-plus" aria-hidden="true"></i> Create Account</h1><p>Join Local Deep Research</p></div>@@ -392,15 +392,15 @@{% if has_encryption %}<div class="ldr-warning-banner">- <i class="fas fa-exclamation-triangle"></i>+ <i class="fas fa-exclamation-triangle" aria-hidden="true"></i><div class="ldr-warning-banner-content"><strong>Important Security Notice</strong><span>Your database will be encrypted with your password. There is NO way to recover your data if you forget your password. Please use a password manager.</span></div></div>{% else %}- <div class="ldr-danger-alert">- <i class="fas fa-shield-alt"></i>+ <div class="ldr-danger-alert" role="alert">+ <i class="fas fa-shield-alt" aria-hidden="true"></i><strong>Security Alert: No Encryption Available</strong>SQLCipher is not installed. Your database will be created WITHOUT encryption.Your API keys and data will be stored in plain text.@@ -414,9 +414,9 @@{% with messages = get_flashed_messages(with_categories=true) %}{% if messages %}{% for category, message in messages %}- <div class="alert alert-dismissible">+ <div class="alert alert-dismissible" role="alert">{{ message }}- <button type="button" class="btn-close" onclick="this.parentElement.style.display='none'">×</button>+ <button type="button" class="btn-close" aria-label="Dismiss alert" onclick="this.parentElement.style.display='none'">×</button></div>{% endfor %}{% endif %}@@ -442,7 +442,7 @@pattern="[a-zA-Z0-9_\-]+"aria-describedby="username-error"><small>At least 3 characters. Letters, numbers, underscores, and hyphens only.</small>- <div class="ldr-error-message" id="username-error"></div>+ <div class="ldr-error-message" id="username-error" aria-live="polite"></div></div><div class="form-group ldr-password-field">@@ -457,7 +457,8 @@minlength="8"aria-describedby="password-error"><div id="password-strength" class="ldr-password-strength" style="display: none;"></div>- <div class="ldr-error-message" id="password-error"></div>+ <div id="password-strength-text" class="sr-only" aria-live="polite" aria-atomic="true"></div>+ <div class="ldr-error-message" id="password-error" aria-live="polite"></div></div><div class="ldr-password-requirements">@@ -481,7 +482,7 @@requiredminlength="8"aria-describedby="confirm-password-error">- <div class="ldr-error-message" id="confirm-password-error"></div>+ <div class="ldr-error-message" id="confirm-password-error" aria-live="polite"></div></div><div class="ldr-acknowledge-box">@@ -492,14 +493,14 @@value="true"required><span>- <i class="fas fa-lock"></i> I understand that <strong>if I forget my password,+ <i class="fas fa-lock" aria-hidden="true"></i> I understand that <strong>if I forget my password,I will permanently lose access to all my data</strong>. There is no password recovery.</span></label></div><button type="submit" class="btn">- <i class="fas fa-shield-alt"></i>+ <i class="fas fa-shield-alt" aria-hidden="true"></i>Create Encrypted Account</button></form>@@ -507,13 +508,13 @@<div class="ldr-auth-links"><p>Already have an account? <a href="{{ url_for('auth.login') }}">Login here</a></p><div class="ldr-browser-hint">- <i class="fas fa-info-circle"></i>+ <i class="fas fa-info-circle" aria-hidden="true"></i><span>Your browser will offer to save your password</span></div></div></div></div>- </div>+ </main><script>// Validation helpersfunction setFieldValid(input, errorEl) {