LibreChat/client/src
Danny Avila cebb3751c1
📣 a11y: Better Screen Reader Announcements (#3693)
* refactor: Improve LiveAnnouncer component

The LiveAnnouncer component in the client/src/a11y/LiveAnnouncer.tsx file has been refactored to improve its functionality. The component now processes text in chunks for better performance and adds a minimum announcement delay to prevent overlapping announcements. Additionally, the component now properly clears the announcement message and ID before setting a new one. These changes enhance the accessibility and user experience of the LiveAnnouncer component.

* refactor: manage only 2 LiveAnnouncer aria-live elements, queue assertive/polite together

* refactor: use localizations for event announcements

* refactor: update minimum announcement delay in LiveAnnouncer component

* refactor: replace *`_

* chore(useContentHandler): typing

* chore: more type fixes and safely announce final message
2024-08-19 03:51:17 -04:00
..
a11y 📣 a11y: Better Screen Reader Announcements (#3693) 2024-08-19 03:51:17 -04:00
common 📣 a11y: Better Screen Reader Announcements (#3693) 2024-08-19 03:51:17 -04:00
components 🗨️ refactor(VariableForm): use InputCombobox, fix Dropdown Variables (#3692) 2024-08-18 22:23:19 -04:00
data-provider 🖼️ style: Conversation Menu and Dialogs update (#3601) 2024-08-16 04:30:14 -04:00
hooks 📣 a11y: Better Screen Reader Announcements (#3693) 2024-08-19 03:51:17 -04:00
localization 📣 a11y: Better Screen Reader Announcements (#3693) 2024-08-19 03:51:17 -04:00
Providers 🎙️ a11y: Screen Reader Support for Dynamic Content Updates (#3625) 2024-08-13 03:04:27 -04:00
routes 🖼️ style: Conversation Menu and Dialogs update (#3601) 2024-08-16 04:30:14 -04:00
store 🖼️ style: Conversation Menu and Dialogs update (#3601) 2024-08-16 04:30:14 -04:00
utils 📱 fix: Resolve Android Device and Accessibility Issues of Sidebar Combobox (#3689) 2024-08-18 19:02:46 -04:00
App.jsx 🎙️ a11y: Screen Reader Support for Dynamic Content Updates (#3625) 2024-08-13 03:04:27 -04:00
main.jsx 🔉 feat: Speech-to-text / Text-to-speech (initial support) (#2836) 2024-05-22 17:19:55 -04:00
mobile.css 🎛️ refactor: Add keyboard command toggles & only trigger for the 1st character (#3566) 2024-08-06 22:18:07 -04:00
style.css 🖼️ style: Conversation Menu and Dialogs update (#3601) 2024-08-16 04:30:14 -04:00
vite-env.d.ts 🌿 feat: Multi-response Streaming (#3191) 2024-06-25 03:02:38 -04:00