feat(accessibility): add native keyboard dialogs and semantic account links (U08)
This commit is contained in:
@@ -630,3 +630,14 @@ fieldset { min-width: 0; }
|
||||
@keyframes toast-enter { from { transform: translateY(-2rem); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
|
||||
@media (prefers-reduced-motion: reduce) { .app-toast { animation: none; } }
|
||||
.input-rejection:empty { display: none; }
|
||||
|
||||
.app-modal { color: var(--color-text); max-height: calc(100dvh - 2rem); overflow-y: auto; }
|
||||
.app-modal::backdrop { background: #0009; backdrop-filter: blur(3px); }
|
||||
.dialog-actions { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
|
||||
.account-card { display: block; width: 100%; color: inherit; text-decoration: none; }
|
||||
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }
|
||||
fieldset { border: 0; margin: 0; padding: 0; }
|
||||
|
||||
body:has(dialog[open]) .toast-stack:not(.modal-toasts) { display: none; }
|
||||
|
||||
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
|
||||
|
||||
Reference in New Issue
Block a user