mirror of
https://github.com/picocss/pico.git
synced 2025-04-20 08:45:06 -04:00
fix: aria-current links and buttons
This commit is contained in:
parent
3644e4ccb5
commit
e43ed98d29
13 changed files with 104 additions and 69 deletions
|
@ -93,7 +93,7 @@
|
|||
transition: opacity var(#{$✨}transition);
|
||||
}
|
||||
|
||||
&:is([aria-current], :hover, :active, :focus) {
|
||||
&:is([aria-current], :hover, :active, :focus):not([aria-current="false"]) {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
@ -117,6 +117,7 @@
|
|||
|
||||
dialog {
|
||||
pointer-events: auto;
|
||||
touch-action: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
}
|
||||
|
||||
// Minimal support for aria-current
|
||||
& a[aria-current] {
|
||||
& a[aria-current]:not([aria-current="false"]) {
|
||||
background-color: transparent;
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue