Great article on inclusive design. What I did expect from you, Heydon. ;-)
A sidenote on what I did not expect: “Naming things is hard. […] CSS class names”
There’s no such thing as ‘CSS classes’—at least there shouldn’t be. Classes are a construct in HTML to further describe the content when element types are not enough. Classes have nothing to do with styling in the first place.
HTML classes can later be used for styling, of course.
When you say “CSS classes” you mean classes solely for the purpose of styling, i.e. you mean inline styles, you mean presentational markup.
Yes, naming things is hard. Please don’t use the term “CSS classes” when you’re on the light side of separation of concerns.
Great article on inclusive design. What I did expect from you, Heydon. ;-)
A sidenote on what I did not expect: “Naming things is hard. […] CSS class names”
There’s no such thing as ‘CSS classes’—at least there shouldn’t be. Classes are a construct in HTML to further describe the content when element types are not enough. Classes have nothing to do with styling in the first place.
HTML classes can later be used for styling, of course.
When you say “CSS classes” you mean classes solely for the purpose of styling, i.e. you mean inline styles, you mean presentational markup.
Yes, naming things is hard. Please don’t use the term “CSS classes” when you’re on the light side of separation of concerns.