Seeking Best Accessibility Practices

“Off left” banned by Google?

Hidden text can be a spammer’s haven.

Years ago, when screen readers were at release 4.0, they started to change and actually pay attention to display:none. I ran a series of tests back then and knew exactly how every screen reader behaved. I was one of the earliest advocates of hiding helpful text off to the left of the visible viewport. I’ve used it cautiously for things like skip links, for the real text associated with image replacement headers, and for occassional other situations where the blind could benefit from having text available that wasn’t part of the visual design.

Along the way, people speculated whether search engine owners would eventually scoff at the technique. It is too similar to the nefarious methods of “link stuffing” that many spammers practice. I ignored the issue … until yesterday when I received the following from Google:

Dear site owner or webmaster of access-matters.com,

While we were indexing your webpages, we detected that some of your pages were using techniques that were outside our quality guidelines, which can be found here: http://www.google.com/webmasters/guidelines.html

In order to preserve the quality of our search engine, we have temporarily removed some webpages from our search results. Currently pages from access-matters.com are scheduled to be removed for at least 30 days.

Specifically, we detected the following practices on your webpages:

* The following hidden text on access-matters.com:

e.g.

cation approval card credit instant Low apr interest credit cards Juniper credit card application. Lowest phentermine prices Credit score Apply for a fleet low interest credit card application Zithromax no prescription Zoloft interactions Credit credit card applications? Hoodia information Propecia effectiveness, Reporting and interpreting liabilities Credit scores explained! Zocor lipitor Side effects from fosamax medicati

[…]

Ah gee, has it gotten so bad that they have to crack down on my very simple use of “off left?” Didn’t they look to see that the class is “access,” making it clear that it’s done for accessibility? So, it was off to their guidelines documents, and to their forums. The guidelines were not specific enough to answer my questions. The forums had lots of discussion, but most was speculation by curious people like me … and no answers from anyone with Google credentials. The best information I found was an interview with Google’s Matt Cutts at the StoneTemple Consulting site. In that interview, Matt said:

So, our philosophy has tried to be not to find any false positives, but to try to detect stuff that would qualify as keyword stuffing, or gibberish, or stitching pages, or scraping, especially put together with hidden text.

We use a combination of algorithmic and manual things to find hidden text.

There was little to lead me to believe they had cracked down hard. Yet, I was skeptical that they might no longer be doing the “manual things” and making due consideration. So, lets’ have a look…

I pulled up the site and disabled CSS using Chris Pederick’s excellent Web-Developer toolbar. ARRRRRRRRRRRRRRGHHHH! Just below the header area was a huge block of spam links. What the ??? Where the H___ did they come from?

Long story short, the site had been hacked. The hacker left behind one line of code in the header.php file. That line started with <font style=’position: absolute;overflow: hidden;height: 0;width: 0′> and contained about 150 links for various pharmaceutical products, doubtful financial products, and enhancement products of all types for all genders. Yes, the hosting service confirmed the password thefts. Yes, I cleaned it up and changed my passwords.

Yes, Google was right. Spam was stuffed into hidden text on my site.

They were not complaining about my accessibility technique.


11 Responses to ““Off left” banned by Google?”

  1. Anthony Ettinger Says:

    Can you paste the offending code?

  2. Bob Easton Says:

    The offending code began with:
    <font style=’position: absolute;overflow: hidden;height: 0;width: 0′>

    Then, there were about 150 links and a closing </font>.

    That’s as much as I will offer because the links actually leveraged another “innocent bystander’s” blog and I won’t reveal that address.

  3. Robin Says:

    That title’s scary!

  4. Mike Cherim Says:

    I remember writing/asking/worrying about legitimate uses of the offset class as I lie to call it. That was about a year ago and have since learned that Google didn’t have a problem with the technique itself, rather what it was being used for. Obviously a paragraph of spam links wouldn’t be well-received. Curious, Bob, how’d they get in? Sounds like an FTP or server access crack.

  5. Robin Says:

    It’ll almost certainly be a Wordpress security flaw.

  6. Bob Easton Says:

    Robin: It was not a Wordpress problem. However, the people who did the hack knew exactly what to touch.

    Mike: It was a security breach at the hosting service. A password file for a small segment of their servers was stolen. The hackers then infected a number of sites in various ways. I did get notification from the ISP; they did their part well. I failed to look closely enough at my own site and took no remedial action. In the meantime, the hackers updated that one file a time or two. Google appears to have caught it within 10 days of the most recent update. No other files were touched.

    Lesson: Don’t take the notice from the ISP so casually.

  7. Deborah Says:

    The title had me worried, wondering if the technique I use for providing accessibility on client’s site was now “banned” by Google.

    Sorry to hear about the issues with your site, but glad your host caught it. If I might ask, who is your wonderful host?

  8. Bob Easton Says:

    Deborah, my host is Dreamhost. Good plans, inexpensive, more bandwidth than most of us will ever use, great support.Tell them I sent you by using this url: http://www.dreamhost.com/rewards.cgi?bob-easton

    Disclosure: that’s a “rewards” url which not only gets you low rates, but gets me a reward for bringing in another subscriber.

  9. tedd Says:

    Hi Bob:

    I found it difficult to read Google’s notices — check contrast.

    Cheers,

    tedd

  10. 3c73d4ed6ee9 Says:

    3c73d4ed6ee9…

    3c73d4ed6ee9abf89f5e…

  11. Martina Says:

    You are using Wordpress. Might be that your experience relates to this entry in my blogg.

    As I saw these entries / datas in my database it became obviously to me to change the CMS.

    Just check your database for similar entries; I don’t know if they are still there as I have been using serendipity for more than one year.


Leave me your comments

Enter Your Details:


You may write the following basic XHTML Strict in your comments:
<a href="" title=""></a> <acronym title=""></acronym> <abbr title=""></abbr> <dfn title=""></dfn> <q></q>
<blockquote cite=""></blockquote> <cite></cite> <code></code> <kbd></kbd> <strong></strong> <em></em>

  • Your mature and responsible replies are greatly appreciated by all. Thank you.
Enter Your Comments:


Bad Behavior has blocked 5744 access attempts in the last 7 days.