Commit 0a25aa9
fix(Select): announce result count with the active option for improvedA11y combobox
The improvedA11y combobox echoed the active option into the result-count live
region and overwrote the count, so screen readers stopped hearing it. Announce
the count together with the highlighted option in one polite region (option only
on arrow navigation), debounced on open/filter so per-keystroke updates coalesce
and do not race the combobox input's own typing echo.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0127ZbvzW5a888TLW3jTJXWJ1 parent fe124ee commit 0a25aa9
3 files changed
Lines changed: 30 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1514 | 1514 | | |
1515 | 1515 | | |
1516 | 1516 | | |
1517 | | - | |
| 1517 | + | |
1518 | 1518 | | |
1519 | 1519 | | |
1520 | 1520 | | |
| |||
1528 | 1528 | | |
1529 | 1529 | | |
1530 | 1530 | | |
1531 | | - | |
1532 | 1531 | | |
1533 | | - | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
1534 | 1535 | | |
1535 | 1536 | | |
1536 | 1537 | | |
1537 | 1538 | | |
1538 | 1539 | | |
1539 | 1540 | | |
| 1541 | + | |
1540 | 1542 | | |
1541 | 1543 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
342 | 343 | | |
343 | 344 | | |
344 | 345 | | |
| 346 | + | |
| 347 | + | |
345 | 348 | | |
346 | 349 | | |
347 | 350 | | |
| |||
382 | 385 | | |
383 | 386 | | |
384 | 387 | | |
385 | | - | |
| 388 | + | |
386 | 389 | | |
387 | 390 | | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
388 | 395 | | |
389 | 396 | | |
390 | 397 | | |
| |||
399 | 406 | | |
400 | 407 | | |
401 | 408 | | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
402 | 421 | | |
403 | 422 | | |
404 | 423 | | |
| |||
934 | 953 | | |
935 | 954 | | |
936 | 955 | | |
| 956 | + | |
937 | 957 | | |
938 | 958 | | |
939 | 959 | | |
| |||
1149 | 1169 | | |
1150 | 1170 | | |
1151 | 1171 | | |
| 1172 | + | |
1152 | 1173 | | |
1153 | 1174 | | |
1154 | 1175 | | |
| |||
1192 | 1213 | | |
1193 | 1214 | | |
1194 | 1215 | | |
1195 | | - | |
| 1216 | + | |
1196 | 1217 | | |
1197 | 1218 | | |
1198 | 1219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
0 commit comments