You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
a11y: icon-only buttons lack visible text and persistent accessible names #4997
Several toolbar buttons throughout the app (including the sidebar TOC expand/collapse controls) use icon-only SVGs without visible text labels. The title attribute (native tooltip) is unreliable across re-renders and does not satisfy WCAG 2.1 SC 1.1.1 (Non-text Content) or SC 4.1.2 (Name, Role, Value) for interactive controls.
Current behaviour
Buttons show an icon only — no visible text, no persistent tooltip
title attributes disappear after component re-renders (observed with Vue reactivity + Element Plus)
Screen readers may announce the button without a meaningful name
Expected behaviour
Every interactive control has a persistent accessible name (aria-label or visible text)
Icon-only buttons should show a tooltip on hover/focus that does not disappear on re-render
Consider using a custom tooltip component (e.g. el-tooltip) instead of the native title attribute, as title is unreliable with SPA frameworks
Affected areas (non-exhaustive)
TOC sidebar: expand/collapse buttons
Any other icon-only buttons in the sidebar or toolbar
I've opened #5739 for this. It turns the icon-only controls in the editor and Preferences windows into named buttons, labels the Preferences switches and selects, and adds a visible focus ring. I tested it with NVDA on Windows and VoiceOver on macOS; the before and after transcripts are in the PR.
Activity
feat(toc): add expand/collapse toolbar, fix title overflow, e2e test
feat(toc): add expand/collapse toolbar, fix title overflow, e2e test
Pranav435 commentedon Oct 13, 2026
I've opened #5739 for this. It turns the icon-only controls in the editor and Preferences windows into named buttons, labels the Preferences switches and selects, and adds a visible focus ring. I tested it with NVDA on Windows and VoiceOver on macOS; the before and after transcripts are in the PR.
fix: #4997 theme icon tooltips and delay hover hints (#5788)