Skip to content

webui : improve accessibility for visually impaired people #13551

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ngxson
Copy link
Collaborator

@ngxson ngxson commented May 14, 2025

Fix #13531

NOTE: we don't aim to be WCAG compliant because we're currently lack of time & efforts to do that. However, what we can do is to make the UI usable with a screen reader

I used MacOS VoiceOver to test this, still not very happy about it because I don't know if it works well on all browsers.

At least on Firefox, I can select every button now (using tab) and their labels are being read correctly.

On safari, it just tells that there is a button without a label, which is quite annoying. Also, safari skip entirely the "upload file" button next to the "send message" button

Also, maybe because I don't know how to use a screen reader, but toast messages don't seem to be picked up (even though they use correct aria-live ; the toast notification function is provided by react-hot-toast package) - A simple test case is to click on the "send" button without entering any message, it should read an error "Please enter a message"

@domasofan can you check if this is now usable?

@isaac-mcfadyen
Copy link
Contributor

toast messages don't seem to be picked up (even though they use correct aria-live ; the toast notification function is provided by react-hot-toast package)

Likely related Issue on the react-hot-toast GitHub: timolins/react-hot-toast#335

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

webui: Make the Web UI more accessible for blind users
2 participants