Patch Changes
-
#3308
76af82fThanks
@github-actions! - Fixed issues with screen reader announcements.- Fixed issue where the region was rebuilt on every
announce(), so screen readers missed it — VoiceOver in
particular. - Fixed issue where announcements were never cleared and stayed in the accessibility tree. Added a
timeoutoption
and aclear()method. - Fixed issue where combobox and select left a stale announcement in place when nothing was highlighted.
- Added
aria-atomic="true"and a separate region per level, so a polite announcer cannot inherit an assertive one.
- Fixed issue where the region was rebuilt on every
-
Updated dependencies [
f832098,
76af82f,
f2f2900,
5a6c68f]:- @zag-js/focus-visible@2.0.0-next.3
- @zag-js/live-region@2.0.0-next.3
- @zag-js/dismissable@2.0.0-next.3
- @zag-js/popper@2.0.0-next.3
- @zag-js/anatomy@2.0.0-next.3
- @zag-js/core@2.0.0-next.3
- @zag-js/types@2.0.0-next.3
- @zag-js/collection@2.0.0-next.3
- @zag-js/utils@2.0.0-next.3
- @zag-js/dom-query@2.0.0-next.3