Skip to content

Commit c3d6a48

Browse files
committed
chore: add changeset
1 parent bc64d9a commit c3d6a48

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.changeset/seven-nails-wave.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
'@spectrum-web-components/button': patch
3+
'@spectrum-web-components/reactive-controllers': patch
4+
---
5+
6+
**Fixed** aria-label handling in button components and pending state controller.
7+
8+
**Button component changes:**
9+
10+
- Fixed timing of aria-label updates to occur after slot content changes are processed
11+
- Added `label` property support for programmatic aria-label control
12+
- Added comprehensive tests for aria-label behavior during content changes
13+
14+
**PendingState controller changes:**
15+
16+
- Improved aria-label caching logic to better handle dynamic label changes
17+
- Changed progress circle from `aria-valuetext` to `aria-label` for better accessibility
18+
- Enhanced caching mechanism to preserve user-set aria-labels during pending states
19+
20+
These changes ensure that aria-labels are properly managed and preserved across component state changes, improving accessibility for screen reader users.

0 commit comments

Comments
 (0)