Skip to content

Commit b34b5ed

Browse files
fix: add missing aria-label on unresolve button
Parity port from crit local: add aria-label="Unresolve thread" to unresolve button. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4e58e69 commit b34b5ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

assets/js/document-renderer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2913,6 +2913,7 @@ function createResolvedElement(comment, ctx) {
29132913
const unresolveBtn = document.createElement('button')
29142914
unresolveBtn.className = 'resolve-btn resolve-btn--active'
29152915
unresolveBtn.title = 'Unresolve'
2916+
unresolveBtn.setAttribute('aria-label', 'Unresolve thread')
29162917
unresolveBtn.innerHTML = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3 12a9 9 0 0 1 9-9 9 9 0 0 1 6.36 2.64M21 12a9 9 0 0 1-9 9 9 9 0 0 1-6.36-2.64"/><polyline points="21 3 21 8 16 8"/><polyline points="3 21 3 16 8 16"/></svg><span>Unresolve</span>'
29172918
unresolveBtn.addEventListener('click', function() {
29182919
ctx.pushEvent("resolve_comment", { id: comment.id, resolved: false })

0 commit comments

Comments
 (0)