LibreChat/client/src/routes
Daniel Lew ffcca3254e
📢 fix: Remove Side Panel Elements from Screen Reader when Hidden (#10648)
* fix: remove side panel elements from screen reader when hidden

There's both left & right side panels; elements of both of them
are hidden when dismissed. However, currently they are being hidden
by using classes to hide their UI (such as making the sidebar
zero width).

That works for visually dismissing these elements, but they can still
be viewed by a screen reader (using the tab key to jump between
interactable elements). That can be a rather confusing experience
for anyone visually impaired (such as duplicate buttons, or buttons
that do nothing).

--------

I've changed it so hidden elements are fully removed from the render.
This prevents them from being interactable via keyboard.

I leveraged Motion to duplicate the animations as they happened before.
I subtly cleaned up the animations while I was at it.

* Implemented reasonable suggestions from Copilot review
2025-11-25 13:56:32 -05:00
..
__tests__ 🧭 fix: Add Base Path Support for Login/Register and Image Paths (#10116) 2025-11-21 11:25:14 -05:00
Layouts 📦 feat: Move Shared Components to @librechat/client (#8685) 2025-07-27 12:19:01 -04:00
ChatRoute.tsx 🎪 refactor: Allow Last Model Spec Selection without Prioritizing (#10258) 2025-10-26 21:37:55 -04:00
Dashboard.tsx 🗨️ feat: Prompts (#3131) 2024-06-20 20:24:32 -04:00
index.tsx 🔖 fix: Agent Marketplace Bookmark and New Chat buttons (#9549) 2025-09-10 19:01:34 -04:00
Root.tsx 📢 fix: Remove Side Panel Elements from Screen Reader when Hidden (#10648) 2025-11-25 13:56:32 -05:00
RouteErrorBoundary.tsx fix: Address Accessibility Issues (#10260) 2025-10-27 19:46:43 -04:00
Search.tsx 🕵️ refactor: Optimize Message Search Performance (#9818) 2025-09-24 16:27:34 -04:00
ShareRoute.tsx 🚀 feat: Shared Links (#2772) 2024-05-17 18:13:32 -04:00
useAuthRedirect.ts 🤖 feat: Model Specs & Save Tools per Convo/Preset (#2578) 2024-04-30 22:11:48 -04:00