Skip to content

Commit d4b225d

Browse files
Remove aria-current from session items
Rely on aria-pressed to convey selection state for chat list items. This simplifies semantics for non-page navigation without affecting keyboard or screen reader behavior. Validated via prettier, lint, and build.
1 parent dd8075b commit d4b225d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/pages/IndependentPanel/App.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ function App() {
253253
role="button"
254254
tabIndex={0}
255255
aria-pressed={sessionId === session.sessionId}
256-
aria-current={sessionId === session.sessionId ? 'true' : undefined}
257256
className={`normal-button chat-list-item ${
258257
sessionId === session.sessionId ? 'active' : ''
259258
}`}

0 commit comments

Comments
 (0)