live region

This commit is contained in:
mi
2025-11-14 18:42:59 +10:00
parent 7e41401ca3
commit f31383800e
4 changed files with 51 additions and 16 deletions

View File

@@ -65,6 +65,19 @@ body {
background-color: var(--color-background);
}
/* Screen reader only content - visually hidden but accessible to assistive technologies */
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
/* Focus indicators for accessibility */
a:focus,
button:focus,