Commit 95dc5f5
committed
fix(ui5-li): remove redundant "Is Active" accessibility announcement
The type="Active" property indicates the item's interactive behavior (clickable),
not its state. Screen readers were repeatedly announcing "Is Active" on every
list item with type="Active", which was confusing and non-specific.
Selected/not-selected state is already properly announced separately via
aria-selected and ariaSelectedText in aria-describedby.
Changes:
- Remove LIST_ITEM_ACTIVE from ariaLabelledByText getter
- Remove unused LIST_ITEM_ACTIVE import from ListItem.ts
- Update accessibility test to verify "Is Active" is not announced
- Remove LIST_ITEM_ACTIVE from default messagebundle.properties
Fixes: #132651 parent 0b16434 commit 95dc5f5
3 files changed
Lines changed: 3 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
| 363 | + | |
| 364 | + | |
364 | 365 | | |
365 | 366 | | |
366 | 367 | | |
367 | 368 | | |
368 | | - | |
| 369 | + | |
369 | 370 | | |
370 | 371 | | |
371 | 372 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
475 | 474 | | |
476 | 475 | | |
477 | 476 | | |
478 | | - | |
479 | 477 | | |
480 | 478 | | |
481 | 479 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
364 | | - | |
365 | | - | |
366 | 363 | | |
367 | 364 | | |
368 | 365 | | |
| |||
0 commit comments