LibreChat/client
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
..
public 🌉 feat: Integrate Helicone AI Gateway Provider (#10287) 2025-11-13 08:45:32 -05:00
scripts
src 📢 fix: Remove Side Panel Elements from Screen Reader when Hidden (#10648) 2025-11-25 13:56:32 -05:00
test
babel.config.cjs
check_updates.sh
index.html
jest.config.cjs 📦 chore: Update Packages for Security & Remove Unnecessary (#10620) 2025-11-21 14:53:58 -05:00
nginx.conf
package.json 📦 chore: Update Packages for Security & Remove Unnecessary (#10620) 2025-11-21 14:53:58 -05:00
postcss.config.cjs
tailwind.config.cjs
tsconfig.json
vite.config.ts 🌐 feat: Configurable Domain and Port for Vite Dev Server (#10180) 2025-10-22 22:04:49 +02:00