Add shell accessibility landmarks
This commit is contained in:
@@ -4,6 +4,24 @@
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.skip-link {
|
||||
position: absolute;
|
||||
left: 1rem;
|
||||
top: -3rem;
|
||||
z-index: 80;
|
||||
padding: 0.75rem 1rem;
|
||||
border-radius: 999px;
|
||||
background: var(--accent-5);
|
||||
color: var(--text-on-accent);
|
||||
text-decoration: none;
|
||||
box-shadow: var(--shadow-1);
|
||||
transition: top 140ms ease;
|
||||
}
|
||||
|
||||
.skip-link:focus {
|
||||
top: 1rem;
|
||||
}
|
||||
|
||||
.app-shell-header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
|
||||
Reference in New Issue
Block a user