Skip to content

Conversation

@mark-tate
Copy link
Contributor

…nouncements, but it could create overlapping announcements. We have deprecated delay, although it is still supported. Instead, we have added a new options API.

  • duration: provides a sequential delay between announcements, ensuring they do not overlap.
  • ariaLive determines the importance and urgency of the announcement.

…nouncements, but it could create overlapping announcements. We have deprecated `delay`, although it is still supported. Instead, we have added a new options API.

- `duration`: provides a sequential delay between announcements, ensuring they do not overlap.
- `ariaLive` determines the importance and urgency of the announcement.
@changeset-bot
Copy link

changeset-bot bot commented Sep 19, 2025

🦋 Changeset detected

Latest commit: 4f317ba

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@salt-ds/core Minor
@salt-ds/countries Patch
@salt-ds/data-grid Patch
@salt-ds/embla-carousel Patch
@salt-ds/lab Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Sep 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
saltdesignsystem Ready Ready Preview Comment Sep 29, 2025 9:41am

@mark-tate
Copy link
Contributor Author

/release-pr

@github-actions
Copy link
Contributor

🫰✨ Thanks @mark-tate! Your snapshot has been published to npm.

Test the snapshot by updating your package.json with the newly published version:

yarn add @salt-ds/[email protected]

@BharateshPoojary
Copy link

Hi,

I tested the snapshot @salt-ds/[email protected] with our Cypress component tests. The tests fail immediately with:
image
It looks like Cypress is trying to import raw .css from @salt-ds/icons/src, which isn’t compatible in this setup. Previous versions didn’t show this issue.

Should the snapshot be exporting prebuilt CSS instead of raw src for tests, or should we add custom Cypress config to stub CSS imports?

Thanks!

@mark-tate
Copy link
Contributor Author

Hi,

I tested the snapshot @salt-ds/[email protected] with our Cypress component tests. The tests fail immediately with: image It looks like Cypress is trying to import raw .css from @salt-ds/icons/src, which isn’t compatible in this setup. Previous versions didn’t show this issue.

Should the snapshot be exporting prebuilt CSS instead of raw src for tests, or should we add custom Cypress config to stub CSS imports?

Thanks!

this snapshot is to review the audio/behaviour of the aria-announcer, what are you trying to test with this snapshot ?

You may have version issues, you would need to ensure the other Salt packages used with the snapshot are from the same version.

Also you could compare with our cypress.config.ts

@jake-costa
Copy link
Contributor

@mark-tate, Just wanted to add while we can and should still support Delay/Duration I do not believe we should apply values to either of these by default.

If using polite (which should set by default), I would also highly recommend adding ~300ms to debounce, like for the carousel.

Ideally, in most cases, we should allow the screen reader to handle any queue/interruptions of messages. We could also add information to the docs to indicate that it is accessibility best practice to avoid, where possible, creating situations where multiple aria live messages are added in rapid succession.

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.

4 participants