Here's a generated list item from a block display using views:
<li class="views-row views-row-1 views-row-odd views-row-first">
<div class="views-field-title">
<span class="field-content">
<a alt="test tool 1" title="test tool 1" href="/test-tool-1">Test tool 1</a>
</span>
</div>
</li>

Why??? I don't understand why anyone anywhere would need a views-row views-row-1, views-field-title, field-content css? Just for a LI? You could have used on single class once. Wouldn't field-content be enough?

a alt="" ??? What is this?? A tags are for links, they are NOT images. Why is there an alt attribute here?

This is not XHTML or CSS compliant module... Search engines may decide that websites with heavy loads of useless, malformed Views-driven websites, should not be indexed often because of the resources required to index them.

At least I can say, congratz on making 0 queries by using the cache system, that's at least optimized. Great work to developers.

Comments

merlinofchaos’s picture

Status: Active » Closed (won't fix)
executex’s picture

Why not?

esmerel’s picture

Because this is an old argument. Just because you can't see a use case for the CSS, doesn't mean there isn't one. Views' purpose is not to be the super awesome creates your perfect pages with the leanest CSS and HTML. Views' purpose is to be a powerful, flexible tool. If you don't like what it puts out, clean it up or write your own queries.

Also, the a alt tag issue is a duplicate, and already fixed: #489888.

executex’s picture

Adding a simple check box for "css styled" and "default list" really wouldn't hurt. Producing basic xhtml compliant code in the minimalist fashion would help websites become more lightweight. For those who need those "RARE CSS cases" where they need those views css classes (which is usually in most cases , unlikely, since most people use views just to make small lists or unformatted teaser displays) they can check the "css styled" box and there you go, more resource intensive processing.

merlinofchaos’s picture

1) You don't get to have this argument with me if you can't search.
2) I've had this conversation half a dozen times. I'm done with it. My answers are findable. Find them if you want them. If you just want to yell at me, please direct that at /dev/null.