Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
netghost
on Dec 14, 2015
|
parent
|
context
|
favorite
| on:
A Collection of CSS Tips
I'm curious if this helps screen readers.
.no-svg .icon-only:after { content: attr(aria-label); }
I would think the `:after` would make the aria attribute apply to a new pseudo element, which may or may not do much good.
AllThingsSmitty
on Dec 14, 2015
[–]
That's a good point. I'll need to dig into it a bit more.
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: