Eric Liu
43511e09ec
fix(text-area): allow visually hidden label ( #2137 )
...
This fixes an accessibility issue with `TextArea`.
Currently, if `hideLabel` is `true`, the label is not rendered at all.
The expected behavior is that it should be visually hidden while
still being available to screen readers.
2025-03-23 10:42:47 -07:00
Eric Liu
ca9beebaea
fix(radio-tile): allow standalone RadioTile
usage ( #2136 )
...
Although `RadioTile` is meant to be used inside a `TileGroup`, it feels
unpolished for standalone usage to crash due to a missing parent context.
This fixes `RadioTile` to fail open by providing a no-op `add: () => {}`
when `TileGroup` context is not found.
2025-03-22 13:03:20 -07:00
Eric Liu
1462e300d6
fix(radio-button): forward focus
, blur
events ( #2135 )
...
As identified in #2131 , `focus` and `blur` events should be
forwarded to the underlying `RadioButton` element.
2025-03-22 13:02:28 -07:00
Eric Liu
dd1338ffc4
fix(list-box-selection): fix aria-label
for clear button ( #2134 )
...
`ListBoxSelection`, used by `MultiSelect` and `ComboBox`, currently
applies the wrong `aria-label` for the clear selection button. It uses
the `translateId` (e.g., `"clearAll"`) instead of the user-friendly copy.
2025-03-22 12:59:16 -07:00
Eric Liu
c6c80d35a9
test: remove CSS import from set-up file
2025-03-20 17:34:20 -07:00
Eric Liu
95f6c97a57
test: remove old files
2025-03-20 17:34:20 -07:00
Eric Liu
d45409c7f3
test(grid): add unit tests
2025-03-20 17:34:20 -07:00
Eric Liu
f7ac0e3f22
test(progress-indicator): add unit tests
2025-03-20 17:34:20 -07:00
Eric Liu
1478486d8f
test(password-input): add unit tests
2025-03-20 17:34:20 -07:00
Eric Liu
f200dadb97
test(multi-select): more unit tests
2025-03-20 17:34:20 -07:00
Eric Liu
0b799d64b7
test(dropdown): add unit tests
2025-03-20 17:34:20 -07:00
Eric Liu
3607c70070
test(skeleton-placeholder): add unit tests
2025-03-20 17:34:20 -07:00
Eric Liu
a4b10500a3
test(skeleton-text): add unit tests
2025-03-20 17:34:20 -07:00
Eric Liu
f5342d4b96
test(structured-list): add unit tests
2025-03-20 17:34:20 -07:00
Eric Liu
f89e9df8f0
test(expandable-tile): add unit tests
2025-03-20 17:34:20 -07:00
Eric Liu
490d3b42ea
test(radio-tile): add unit tests
2025-03-20 17:34:20 -07:00
Eric Liu
6e62ce5416
test(time-picker): add unit tests
2025-03-20 17:34:20 -07:00
Eric Liu
ec7d798783
test(radio-button): add unit tests
2025-03-20 17:34:20 -07:00
Eric Liu
6dccd5cbe2
test(number-input): add unit tests
2025-03-20 17:34:20 -07:00
Eric Liu
eb413a1fba
test(text-input): add unit tests
2025-03-20 17:34:20 -07:00
Eric Liu
e35a25de81
test(text-area): add unit tests
2025-03-20 17:34:20 -07:00
Eric Liu
7c436bd747
test(toast-notification): add unit tests
2025-03-20 17:34:20 -07:00
Eric Liu
7317192e90
test(inline-notification): add unit tests
2025-03-20 17:34:20 -07:00
Eric Liu
199bb0eb8e
Revert "fix(list-box): use aria-disabled
instead of invalid disabled
attribute" ( #2130 )
...
This reverts commit e1b3ef22c9
.
2025-03-19 13:05:28 -07:00
Eric Liu
5987b61a55
fix(theme): remove invalid themes
prop from markup ( #2127 )
2025-03-19 12:43:33 -07:00
Eric Liu
e1b3ef22c9
fix(list-box): use aria-disabled
instead of invalid disabled
attribute ( #2125 )
2025-03-19 12:43:05 -07:00
Eric Liu
c67e095eaf
test(combo-box): more unit tests
2025-03-19 10:42:54 -07:00
Brian West
9e3d83031e
fix(combo-box): fix typing when refocusing input
...
Fixes a bug where the input `value` is immediately reset
when re-focusing the input. The `value` resetting is necessary
to support programmatically clearing the value, but it should
only execute if the input is not currently focused.
2025-03-19 10:29:13 -07:00
Eric Liu
0e1177f398
test(combo-box): add unit tests
2025-03-17 21:19:24 -07:00
Eric Liu
d25a85c825
test(popover): add unit tests
2025-03-17 19:27:40 -07:00
Eric Liu
8142c71307
test(slider): add unit tests
2025-03-17 19:27:40 -07:00
Eric Liu
a73000ffbe
test(pagination): add unit tests
2025-03-17 19:27:40 -07:00
Eric Liu
6eda673aaf
test(pagination-nav): add unit tests
2025-03-17 19:27:40 -07:00
Eric Liu
79d50b1a83
test(ordered-list): add unit tests
2025-03-17 19:27:40 -07:00
Eric Liu
b6b5579f67
test(unordered-list): add unit tests
2025-03-17 19:27:40 -07:00
Eric Liu
d64465e774
test(truncate): add unit tests
2025-03-17 19:27:40 -07:00
Eric Liu
19a6c65313
test(tooltip-icon): add unit tests
2025-03-17 19:27:40 -07:00
Eric Liu
5caa9c90b3
test(tooltip-definition): add unit tests
2025-03-17 19:27:40 -07:00
Eric Liu
0c6a171a24
test(tabs): add unit tests
2025-03-16 14:19:44 -07:00
Eric Liu
150e03e1fd
test(theme): add unit tests
2025-03-16 14:19:44 -07:00
Eric Liu
f28bfe307e
test(local-storage): add unit tests
2025-03-16 14:19:44 -07:00
Eric Liu
f23e7282b5
test(link): add unit tests
2025-03-16 14:19:44 -07:00
Eric Liu
12a9b08f80
test(loading): add unit tests
2025-03-16 14:19:44 -07:00
Eric Liu
884f5e5966
test(inline-loading): add unit tests
2025-03-16 14:19:44 -07:00
Eric Liu
d685091447
test(image-loader): add unit tests
2025-03-16 14:19:44 -07:00
Eric Liu
481f121f77
test(toggle): add unit tests
2025-03-16 14:19:44 -07:00
Eric Liu
9b3f2e0919
test(copy-button): add unit tests
2025-03-16 14:19:44 -07:00
Eric Liu
e876553790
test(search): add unit tests
2025-03-16 14:19:44 -07:00
Eric Liu
cbe0634f61
test(progress-bar): add unit tests
2025-03-11 12:52:52 -07:00
Eric Liu
fc04ad31f3
test(tile): add unit tests
2025-03-11 12:52:52 -07:00