Compare commits
1 Commits
fix/94-saf
...
fix/69-ini
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
16c66e14a6 |
@@ -808,6 +808,7 @@ Sovereignty and service always.`;
|
||||
var crisisPanel = document.getElementById('crisis-panel');
|
||||
var crisisOverlay = document.getElementById('crisis-overlay');
|
||||
var overlayDismissBtn = document.getElementById('overlay-dismiss-btn');
|
||||
var overlayCallLink = document.querySelector('#crisis-overlay .overlay-call');
|
||||
var statusDot = document.querySelector('.status-dot');
|
||||
var statusText = document.getElementById('status-text');
|
||||
|
||||
@@ -1002,7 +1003,11 @@ Sovereignty and service always.`;
|
||||
}
|
||||
}, 1000);
|
||||
|
||||
overlayDismissBtn.focus();
|
||||
// Focus the Call 988 link — the first actionable (non-disabled) element.
|
||||
// Disabled buttons are not valid focus targets (WCAG 2.4.3).
|
||||
if (overlayCallLink) {
|
||||
overlayCallLink.focus();
|
||||
}
|
||||
}
|
||||
|
||||
overlayDismissBtn.addEventListener('click', function() {
|
||||
|
||||
Reference in New Issue
Block a user