Questions & Answers
Why can’t I use CSS :before and :after to insert content?
It's really very annoying that CSS pseudo element content, either :before or :after is outlawed. It is a really useful way of storing stock responses to activities, effectively creating global variables that have to be set only once. Eg html[lang="en"] [pageType="multichoice"] .wellDoneDiv::before{ content:"Well Done, that's...
- CSS
- css psuedo content
How is CSS pseudo content treated by screen readers?
I've been told to be aware of CSS pseudo content because of the way it is treated by screen readers. Do you have any guidance?
- CSS
- css psuedo content