Commit cd5ccf3
Add comments explaining magic numbers in accessibility announcement
Clarify why timeRemaining === 1 (not 0) is used for expiration check
and why timeRemaining % 10 === 1 triggers announcements every 10s.
Co-authored-by: Situ Chandra Shil <situchan@users.noreply.github.com>1 parent 3b6145e commit cd5ccf3
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
0 commit comments