Question: why *CAN'T* we add ARIA directly to CSS? I haz use-cases | @glazou @mollydotcom @fantasai @tabatkins
1
1
@thierrykoblentz @johnfoliot @vick08 @glazou @fantasai @tabatkins ARIA is document layer, full stop. CSS is pres layer. GC is pres layer.
2
1
@mollydotcom When you "present" information visually, you need to encode it semantically as well
1
So @johnfoliot, 1. Presentation is not just visual. 2. Semantics are the duty of the structural layer. Mixing the two is a step backwards
1
1
1
@mollydotcom @johnfoliot surely the argument is flawed. Anything worth making accessible should be in the semantic HTML, not CSS generated.
2
@benmacgowan @mollydotcom consider: .important:before {content:url(exclamation.png);aria-label:"Important";} - now we have attached meaning
2
@johnfoliot @benmacgowan What you have in that example is horrific for so many reasons, John, don't make me cry!
2
@mollydotcom I have seen too many examples of first example to sit still. It is a problem. We can't forbid authors from doing that
1
Replying to @johnfoliot
We can't forbid it - that's the democratic web. We can't forbid people from slitting their own wrists if they want to either @johnfoliot :P

Jul 17, 2012 路 6:12 PM UTC

1