fix(desktop): use <output> for the auto-resume status text so Lint passes on main
Closed
SA
21d ago+2+2+0123456789-3-3-0123456789
Summary
mainhas failed the CI Lint job since #6572: biomelint/a11y/useSemanticElementsflags<span role="status">inTerminalAgentAutoResume.tsxand asks for the semantic element. Swap it for<output>, which carries thestatusrole implicitly. Same classes, samearia-live, no behaviour change.- Because CI lints each PR's merge ref, this one line is currently turning every open PR's Lint check red.
Testing
bunx @biomejs/biome@2.4.2 check <file>(the CI-pinned version) — clean.
Summary by cubic
Fixes the failing CI Lint on main by replacing the auto-resume status text element. Previously used <span role="status">; now uses <output> which implies role="status". No UI or behavior change.
- Updates
TerminalAgentAutoResume.tsxto satisfy Biomelint/a11y/useSemanticElements. - Keeps
aria-live="polite"and classes; status announcements remain the same. - Verified clean with
@biomejs/biome@2.4.2; unblocks red Lint checks on merge refs for all PRs.
Summary by CodeRabbit
- Accessibility
- Updated the terminal agent resume status message to use a semantic output element while preserving its live updates, styling, and displayed text.