Skip to content

Commit 5b67b9d

Browse files
Remove redundant aria-pressed on sidebar toggle
Use aria-expanded to convey the collapse/expand state of the sidebar toggle. Dropping aria-pressed avoids mixed semantics and improves screen reader clarity.
1 parent 119b3da commit 5b67b9d

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
@@ -233,7 +233,6 @@ function App() {
233233
<button
234234
type="button"
235235
className="normal-button"
236-
aria-pressed={!collapsed}
237236
aria-expanded={!collapsed}
238237
onClick={toggleSidebar}
239238
>

0 commit comments

Comments
 (0)