Skip to content
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

fix: a11y: 'tablist' role for gallery / chat view #4675

Merged
merged 1 commit into from
Feb 20, 2025
Merged

Conversation

WofWca
Copy link
Collaborator

@WofWca WofWca commented Feb 18, 2025

if you listen to the screen-reader, it's not clear
what the buttons do, and how to change the active view.
This should fix it.

@WofWca WofWca marked this pull request as ready for review February 18, 2025 10:29
Comment on lines 438 to 439
// Yes, this is not marked as `role='tab'`.
// I'm not sure if this is alright.
Copy link
Member

@Simon-Laux Simon-Laux Feb 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it should tell that it opens a new window with the map. but the map is an experimental feature and not accessible (just tested it with voiceover).

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been researching aria-haspopup="dialog". It applies to many buttons in our app, not just this one. But I am not sure yet whether it's good. I suggest to wait for the report, and see if they have concrete suggestions for this.

if you listen to the screen-reader, it's not clear
what the buttons do, and how to change the active view.
This should fix it.
@WofWca WofWca merged commit 00c7e69 into main Feb 20, 2025
8 of 9 checks passed
@WofWca WofWca deleted the wofwca/a11y-tabs branch February 20, 2025 08:57
@Simon-Laux Simon-Laux mentioned this pull request Mar 5, 2025
43 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants