Click the logo!
Screen readers will see text and ignore the logo (with a null
alt
attribute), while clicking the logo in a visual browser will select the parent container so you can copy the hidden text contained.
It's achieved through
user-select: all
on the parent and
pointer-events: none
on the logo image.
The hidden screen-reader text is also achieved in a novel way, with
position: absolute
and
transform: scale(0)
. This even seems to work in Opera Mini though
Can I useā¦
doesn't think it should.
This can be applied creatively in other ways.
Enjoy,
Den McH