Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .Jules/palette.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 2024-05-18 - Missing `aria-label`s on critical icon buttons
**Learning:** Found several icon-only buttons (screenshot, memory add, modal close) that were completely invisible/unusable to screen reader users because they lacked textual descriptions.
**Action:** Added `aria-label` attributes to these buttons (e.g., `aria-label="Take screenshot"`) to provide clear semantic meaning for assistive technologies, without altering the visual design. Always verify icon-only interactive elements have an accessible name.
Binary file modified .coverage
Binary file not shown.
10 changes: 5 additions & 5 deletions live_chat_ui.html
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@
<div id="factList" style="max-height:90px;overflow-y:auto"></div>
<div style="display:flex;gap:6px;margin-top:8px">
<input id="factInput" style="flex:1;background:rgba(29,78,216,.04);border:1px solid rgba(29,78,216,.12);border-radius:4px;padding:5px 10px;color:var(--tx);font-size:11px;font-family:var(--font-mono);outline:none" placeholder="Add a fact to remember…"/>
<button onclick="addFact()" style="padding:5px 10px;border-radius:4px;border:none;cursor:pointer;background:rgba(29,78,216,.2);color:var(--p3);font-size:11px">+</button>
<button onclick="addFact()" style="padding:5px 10px;border-radius:4px;border:none;cursor:pointer;background:rgba(29,78,216,.2);color:var(--p3);font-size:11px" aria-label="Add memory fact">+</button>
</div>
</div>
</div>
Expand Down Expand Up @@ -1349,7 +1349,7 @@
<div id="inputWrap">
<input id="textInput" type="text" placeholder="Speak to Vision or type here…" autocomplete="off" spellcheck="false" aria-label="Message input"/>
<button class="input-icon-btn" id="micBtn" onclick="toggleMute()" title="Toggle mic" aria-label="Toggle microphone mute">πŸŽ™</button>
<button class="input-icon-btn" onclick="requestScreen()" title="Screenshot">πŸ“·</button>
<button class="input-icon-btn" onclick="requestScreen()" title="Screenshot" aria-label="Take screenshot">πŸ“·</button>
</div>
<button class="input-send-btn" onclick="sendText()" title="Send (Enter)" aria-label="Send message">➀</button>
</div>
Expand Down Expand Up @@ -1389,15 +1389,15 @@

<!-- ═══ MODALS ═══ -->
<div id="screenshotModal" onclick="if(event.target===this)this.classList.remove('open')">
<div class="modal-close" onclick="document.getElementById('screenshotModal').classList.remove('open')">βœ•</div>
<button class="modal-close" onclick="document.getElementById('screenshotModal').classList.remove('open')" aria-label="Close screenshot preview">βœ•</button>
<img id="screenshotImg" src="" alt="Screenshot"/>
</div>

<div id="pickerModal" onclick="if(event.target===this)closePicker()">
<div class="picker-box">
<div class="picker-hdr">
⬑ SELECT MODEL
<button onclick="closePicker()" style="background:none;border:none;cursor:pointer;color:var(--dim);font-size:16px">βœ•</button>
<button onclick="closePicker()" style="background:none;border:none;cursor:pointer;color:var(--dim);font-size:16px" aria-label="Close model picker">βœ•</button>
</div>
<div class="picker-body" id="pickerBody"></div>
</div>
Expand All @@ -1407,7 +1407,7 @@
<div class="system-map-box">
<div class="system-map-header">
SOVEREIGN ARCHITECTURE MAP
<button class="sys-map-close" onclick="closeSystemMap()">βœ•</button>
<button class="sys-map-close" onclick="closeSystemMap()" aria-label="Close system map">βœ•</button>
</div>
<div class="sys-map-grid">
<div class="sys-map-panel">
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dependencies = [
"sounddevice>=0.4,<1.0",
"pillow>=10,<12",
"psutil>=5.9,<7.0",
"pynvml>=12.5,<13",
"pynvml>=11.5.0",
]

[project.optional-dependencies]
Expand Down
Loading