Commit 8866e95
fix: Remove tabIndex and focus CSS from AttachmentRow to avoid test failures
Reverted tabIndex={-1} on AttachmentRow and focus CSS on
StackedLayout since they could interfere with existing focus traps
and cause test failures. The core fix (aria-label derivation from
text content in useRoleModEffect) is sufficient for screen readers
to announce Adaptive Card content via browse mode.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 2a1926d commit 8866e95
File tree
4 files changed
+11
-37
lines changed- __tests__/html2/accessibility/adaptiveCard
- packages/component/src/Activity
4 files changed
+11
-37
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
| 366 | + | |
| 367 | + | |
370 | 368 | | |
371 | 369 | | |
372 | 370 | | |
| |||
Lines changed: 8 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | 63 | | |
68 | 64 | | |
69 | 65 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
78 | 69 | | |
79 | | - | |
80 | | - | |
| 70 | + | |
| 71 | + | |
81 | 72 | | |
82 | | - | |
83 | | - | |
| 73 | + | |
| 74 | + | |
84 | 75 | | |
85 | 76 | | |
86 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 38 | + | |
44 | 39 | | |
45 | 40 | | |
46 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | 55 | | |
66 | 56 | | |
67 | 57 | | |
| |||
0 commit comments