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(slash): repalced aria-describedby with aria-label. #918

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

Conversation

damanV5
Copy link

@damanV5 damanV5 commented Feb 25, 2025

Replaced aria-describedby with aria-label for modal.
Fixes #908

@damanV5 damanV5 changed the title fix(slash): repalced aria-describedby with aria-label. fixed #908 fix(slash): repalced aria-describedby with aria-label. Feb 25, 2025
fffan64
fffan64 previously approved these changes Feb 26, 2025
@fffan64 fffan64 added agent-slash Component for the agent theme look'n feel (Espace Client) labels Feb 26, 2025
@JLou
Copy link
Contributor

JLou commented Feb 27, 2025

can you add a test checking accessibility of the title ?
Something like this maybe:

const dialog = screen.getByRole("dialog", {name: /the name/i});
expect(dialog).toBeInTheDocument();

@damanV5
Copy link
Author

damanV5 commented Feb 27, 2025

@JLou I have added a test case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agent-slash Component for the agent theme look'n feel (Espace Client)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modal doesn't have an accessibility label
4 participants