mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +00:00
a11y: show tab focus on images #730
This commit is contained in:
parent
0d51f64dfd
commit
b19ca89f44
1 changed files with 5 additions and 0 deletions
|
@ -413,6 +413,11 @@ article a:focus .copy-to-clipboard {
|
||||||
outline: none;
|
outline: none;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
article a:hover:has(img),
|
||||||
|
article a:active:has(img),
|
||||||
|
article a:focus:has(img){
|
||||||
|
outline: auto;
|
||||||
|
}
|
||||||
|
|
||||||
#R-body-inner:focus-visible{
|
#R-body-inner:focus-visible{
|
||||||
/* remove focus indicator for programatically set focus */
|
/* remove focus indicator for programatically set focus */
|
||||||
|
|
Loading…
Reference in a new issue