You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change the text to the full word "Previous".
Alternatively, provide an accessible name for screen readers using aria-label="previous" or visually hidden element (e.g., add the class .sr-only) and wrap "Prev" in a with aria-hidden="true".
The text was updated successfully, but these errors were encountered:
Fixes#5310
Add `aria-label="previous"` attribute to the 'Prev' button in the Prompts Panel.
* Modify `client/src/components/Chat/Prompts.tsx` to include `aria-label="previous"` attribute for the button.
Issue Description
Screen readers will read the word "prev", instead of the full word "previous". This creates confusion for users relying on assistive technologies.
WCAG Criteria
1.1.1 Non-text Content (Level A)
Screenshot or Screen Recording
No screenshot provided.
Snippet:
Suggested Action:
Change the text to the full word "Previous".
Alternatively, provide an accessible name for screen readers using aria-label="previous" or visually hidden element (e.g., add the class .sr-only) and wrap "Prev" in a with aria-hidden="true".
The text was updated successfully, but these errors were encountered: