fix(ui): add aria-label to STT button and aria-expanded to pinned tog… · openclaw/openclaw@b686f56
akinshaywai
·
2026-04-24
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -572,6 +572,7 @@ function renderPinnedSection(
|
572 | 572 | <div class="agent-chat__pinned"> |
573 | 573 | <button |
574 | 574 | class="agent-chat__pinned-toggle" |
| 575 | + aria-expanded=${vs.pinnedExpanded} |
575 | 576 | @click=${() => { |
576 | 577 | vs.pinnedExpanded = !vs.pinnedExpanded; |
577 | 578 | requestUpdate(); |
@@ -1251,6 +1252,7 @@ export function renderChat(props: ChatProps) {
|
1251 | 1252 | } |
1252 | 1253 | }} |
1253 | 1254 | title=${vs.sttRecording ? "Stop recording" : "Voice input"} |
| 1255 | + aria-label=${vs.sttRecording ? "Stop recording" : "Voice input"} |
1254 | 1256 | ?disabled=${!props.connected} |
1255 | 1257 | > |
1256 | 1258 | ${vs.sttRecording ? icons.micOff : icons.mic} |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。