Zen makes certain clickable links distinguishable by giving them a different hue and underlining them while the user's mouse pointer hovers over them.

However, there's a little flaw in the CSS code. Zen does this for all <a ...> tags, for example also for <a name="..."> tags, which are not clickable.

This is a slight usability flaw that can easily be corrected, and I ask for this correction to be applied, so all users benefit from it (and I don't have to make the same changes over and over again after every update).

In all relevant CSS files replace all a selectors with a[href], for example also change a:hover into a[href]:hover.

I've done this in zen.css and all override.css files in sub-themes, and it seems to work very well.

Comments

johnalbin’s picture

Component: Code » Subtheme: Zen Classic
Status: Active » Postponed (maintainer needs more info)

I assume you are talking about the Zen Classic theme? The main Zen theme does not change the color of links from the browser defaults.

The Zen Classic theme contains the old Zen CSS (before 5.x-0.7) and was made a sub-theme of Zen because everyone was tired of undoing the CSS that was in there.

The Zen Classic theme is left as-is for historical purposes and as a reference for people who used Zen before 5.x-0.7 was released. It is no longer supported.

Having said that, I haven't heard of a browser that applies background colors to <a name="…"> tags. If the CSS uses a:link { background-color: #ccc; } does that grey background get applied to <a name="…"> tags as well?

hgmichna’s picture

Version: 5.x-1.x-dev » 5.x-0.7
Status: Postponed (maintainer needs more info) » Closed (won't fix)

Oops, of course you're right. Thanks for setting me straight! I missed Zen 5.x-0.8 by a week or two.

Have set the status to "won't fix", because I assume that nobody will put extra work into an obsolete version, just because of a minor flaw that can barely be called a bug.

The problem was still in 5.x-0.7.

Hans-Georg