One should always avoid using generated content for any content that requires structural data for #a11y and UX. Full stop. @johnfoliot

Jul 17, 2012 · 6:09 PM UTC

1
1
3
Replying to @StuRobson
@sturobson and just write <div class="important">
Replying to @StuRobson
@sturobson this is @mollydotcom 's argument - teach devs not to do stupid stuff. I agree that this = the best strategy, but when that fails?
Replying to @StuRobson
@sturobson I've always been a "Plan B" kind of guy (for when Plan A fails)
Replying to @StuRobson
@sturobson but that laziness is also the route of my proposal: add the semantics once when you create the CSS class and you're done
Replying to @StuRobson
@sturobson as opposed to using the class 30 times and being too lazy to also add the aria-label="foo" 30 times
@ppatel When GC is text it is conveyed to AT, but when it is an image? Too bad, so sad? I disagree. @jared_w_smith @mollydotcom
@ppatel no worries. I see a problem and am looking for a solution. I made a suggestion, but open to other techniques.