|
|
|
|
|
by jholman
1321 days ago
|
|
It feels like you didn't read the article I read. THIS article defines "code smell" exactly as you did. And it says that using aria-* incorrectly is not a smell, but an error, exactly as you did. The claim of the article is that using aria-* at all is a code smell, in exactly the sense you said. They list a number of possible problems, and suggest alternatives. They're not saying that using area-* cannot be correct, just that it's so often incorrect as to be a smell. |
|
But do to accessibility correctly you almost ALWAYS need to use aria-*
So it this is just like saying "writing code is a code smell because you'll have bugs" and it turns "code smell" into a useless tautology.