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: Reinstate Assistant a11y message groups #275

Merged
merged 4 commits into from
Jun 19, 2024

Conversation

dcalhoun
Copy link
Member

@dcalhoun dcalhoun commented Jun 19, 2024

Relates to #232 (review).

Proposed Changes

Reinstate ARIA labels for message groups. Update component types to avoid future
accidental removals. Expand message groups to include welcome messages.

Testing Instructions

See testing instructions in #248.

Pre-merge Checklist

  • Have you checked for TypeScript, React or other console errors?

dcalhoun added 4 commits June 19, 2024 12:43
This inclusion was presumably an oversight.
Pass ID to ensure the correct ARIA label is applied to the message
group.
Without a unique ID, the message group is not appropriately labeled.
Group and label welcome messages to simplify navigation for users
relying upon assistive technologies.
@dcalhoun dcalhoun added [Type] Bug Something isn't working Studio AI Assistant labels Jun 19, 2024
@dcalhoun dcalhoun self-assigned this Jun 19, 2024
@dcalhoun dcalhoun marked this pull request as ready for review June 19, 2024 17:03
@dcalhoun dcalhoun requested a review from katinthehatsite June 19, 2024 17:03
@dcalhoun dcalhoun requested a review from katinthehatsite June 19, 2024 18:08
Copy link
Contributor

@katinthehatsite katinthehatsite left a comment

Choose a reason for hiding this comment

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

The changes look good. I tested the messages and the welcome component and everything is 👍

@dcalhoun dcalhoun merged commit 9ac970f into trunk Jun 19, 2024
12 checks passed
@dcalhoun dcalhoun deleted the fix/reinstate-assistant-a11y-message-groups branch June 19, 2024 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Studio AI Assistant [Type] Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants