diff --git a/index.html b/index.html index 4efb66c..651fb45 100644 --- a/index.html +++ b/index.html @@ -25,6 +25,7 @@ + @@ -96,7 +97,7 @@
- Nikolaj Gade, a very handsome (and extremely hireable) person. + Nikolaj Gade, a very handsome (and extremely hireable) person.
diff --git a/style.css b/style.css index 4990d4d..bf2637d 100644 --- a/style.css +++ b/style.css @@ -309,7 +309,12 @@ main { position: relative; z-index: 1; } border-radius: 50%; overflow: hidden; } -.avatar-placeholder img { width: 100%; height: 100%; object-fit: cover; } +.avatar-placeholder img { + width: 100%; height: 100%; object-fit: cover; + /* Hide the alt text the browser paints into the ring while the JPEG + is still on its way; screen readers still get it. */ + color: transparent; +} /* Spin the image inside the ring, not the ring itself: the ring's hard offset shadow would visibly orbit if the shadowed element rotated.