Successful Blog

  • Home
  • Community
  • About
  • Author Guidelines
  • Liz’s Book
  • Stay Tuned

How to Code Accessible Links–Part 3

January 18, 2006 by Liz

How to Code an Accessible Embedded Hyperlink
by Cas of Brightmeadow

An embedded hyperlink is when the image is the hyperlink. An example of this is the feed button found in the ‘Subscribe’ section of Successful Blog’s sidebar.

These types of links can be problematic if you can’t view the images for whatever reason and you haven’t included ALT and TITLE attributes. To all intents and purposes, these links simply cease to exist. (Both screenshots that follow were trimmed at the top and side for fit).

View this screenshot of Successful Blog’s front page with images turned off,

CAS 3 without

and compare it to this one with images back on.
Cas 3 with images

The first thing you notice is that in the top image there is no banner, and then that there is no way to subscribe.

Ooops.

Basic code

An embedded hyperlink consists of a hyperlink tag and an image tag:

<a href=”http://www.foo.com/”> <img src=”image.jpg” /> <a href=”http://www.foo.com” title=”description of link destination”> <img src=”image.jpg” alt=”description text” />
Note how the TITLE is attached to the hyperlink, whilst the ALT is attached to the image.

When to use a full ALT description

Use a full ALT description when the image forms the entirety of the hyperlink, i.e., the image is the only anchor text.

When to use a null ALT description

Once again, think carefully about using the null ALT description (<alt=””>) when the hyperlink has a text component. For example:

<a href=”contactus.html” title=”contact page”> <img src=”contact.gif” alt=”contact us” /> Contact us </a></code> will render without images as <contact us contact us>
(The first from the alt attribute, the second from the anchor text).

In this case the image was purely decorative, and would have been better coded as <a href=”contactus.html” title=”contact page”> <img src=”contact.gif” alt=”” /> Contact us </a>.

A few notes

  • In this case, the ALT description should reflect the link destination as well as the image description. For example, in the case of a feed button, ALT text such as “feed for Successful Blog” might be be appropriate
  • It is also worth bearing in mind that, if you use external hosting for your images (like Flickr and Photobucket), you are at the mercy of their servers. If they go down and you haven’t thought to use ALT or TITLE, you are stuck. If you have made your links and images accessible, then you can keep going that much better till things return to normal,

And that is it. If you are already manually coding your hyperlinks, then making them accessible will just take a few seconds longer. If you aren’t yet manually coding your hypertext links, now is a good time to start. Those extra few moments pay huge dividends in terms of usability, SEO, and the general happiness of your readers. Whilst most of them won’t consciously notice a difference, the few that do will thank you for it, and we as bloggers are nothing without our readers.

If you are interested in learning more about this subject, the W3C has Web Accessibility Guidelines, and Webcredible have some very good white papers describing all aspects of accessibility and usability in more depth.

Sources for this article: The W3C, Webcredible, general common sense, and diverse other sources.

Thanks to Cas for the obvious work this took, and apologies in advance for any errors I might have introduced. We leave you now the links to the series. –ME “Liz” Strauss

The Complete Series
How to Code Accessible Links
This one: How to Code Accessible Links–Part 1
How to Code Accessible Links–Part 2
This one: How to Code Accessible Links–Part 3

Filed Under: Links, SEO, Successful Blog, Tech/Stats Tagged With: accessibility, bc, blog-promotion, colding-links, personal-branding

How to Code Accessible Links–Part 2

January 17, 2006 by Liz

How to Code an Accessible Image
by Cas of Brightmeadow

Basic code

Just to remind you what the basic image code looks like:
<img src=”http://www.foo.com/image.jpg” />

The ALT description–how it works

The ALT description works in much the same way that the TITLE attribute works for a link. It is inserted after the URL but before the tag is closed and contains descriptive text. Instead of previewing the image when you mouse over though, the ALT attribute is what is read out when someone is using a screen reader. It should describe the content of the image. It is also the ALT text that is displayed by your browser when, for whatever reason, an image fails to load.

Accessible code

<img src=”http://foo.com/image.jpg” alt=”descriptive text” />

When to use

Use descriptive text in the ALT attribute when the image imparts information to the viewer, for example if it contains text like many header images and buttons do.

When to use a null value

There are certain instances when the image being used imparts no information to the reader – for example a spacer.gif (though the practice of using spacer images is now frowned upon). In these instances, consider using the null attribute to make the screen readers ignore the image. To use the null value, simple use alt="" without a space between the quotation marks. Putting a space, or just ignoring the ALT description will result in non-visual readers being told that there is an image, but not being given a description. Highly frustrating!

A few notes

  • The description should not contain the word ‘image’. An image coded as
    <img src=”penguin.jpg” alt=”an image of penguins plotting” />
    will be read out as “IMAGE, an image of penguins plotting” by a screen reader.
    Repetitive. Rather, the text should be something like “penguins plotting another evil plan”.
  • Think carefully about when to use the null attribute. Users who can’t see your decorative or blank images don’t need to hear a description of them.

Meanwhile Cas and I are off to plot a plan of our own, until tomorrow.
–ME “Liz” Strauss

The Complete Series
How to Code Accessible Links
This one: How to Code Accessible Links–Part 1
This one: How to Code Accessible Links–Part 2
How to Code Accessible Links–Part 3

Filed Under: Links, SEO, Successful Blog, Tech/Stats Tagged With: accessibility, bc, blog-promotion, colding-links, personal-branding

How to Code Accessible Links–Part 1

January 16, 2006 by Liz

Cas read my article on how to code hyperlinks and in the comments shared some discussion about the importance of accessible links–a topic which had come up earlier in Successful-Blog conversations. In my usual fashion I invited Cas to write on the subject and she took up the challenge. Her response was to do a series of articles on accessible hyperlinks. I, for one, am so glad she did. She really does know so much more about such things than I do. In fact, she knows so much more that I asked her to start by just clarifying for me what is it that makes an Accessible link. –ME “Liz” Strauss

How to Code Accessible Links–Part One: The Basics
by Cas of Brightmeadow

Liz has already written a great article on how to code hyperlinks. I’d like to take this one further and show you how to code accessible hyperlinks. If you are happy with how to manually code hyperlinks, then we can continue. If you aren’t, or feel like you need a bit of a refresher, I do recommend you read the article. We’ll wait.

Ok, ready?

What is an accessible link?

Web accessibility is about making your website accessible to all Internet users (both disabled and non-disabled), regardless of what browsing technology they’re using. An “accessible link” therefore, is simply a link that imparts as much information to as many users as possible. It enables the reader to preview the link, making an informed decision about whether to follow it or not, and helps to differentiate between links that may share link text but refer to different targets

So why should I worry about accessibility?

Not everyone views the Web in the same way that you do – accessibility is not just for disabled users. It is for the many potential readers who might be browsing your site on a dial-up connection, using a screen-reader, using a mobile device with a small screen, or using a text-only browser such as Lynx. By making your website accessible you are opening it up to a much wider potential audience. Making something accessible for humans also has the side effect of making it more accessible for search engines. If you make a living through your site, happy readers, and happy search engines just make good sense.

Not convinced?

Not convinced that this is necessary? Turn off the images in your browser, and then the stylesheet, and see if you can still successfully navigate your website and get meaning from your content. What you see now is roughly how someone with visual impairment, or a text-only browser, views your website.

  • Internet Explorer: Tools > Internet Options > Advanced > Multimedia > Show pictures (uncheck)
  • Firefox: Tools > Options > Web features > Load images (uncheck)
  • Opera: Tools > Preferences > Multimedia > Show no images
  • Stylesheets: View > Page Styles > No style

So how do I go about making my links accessible?

It really isn’t that hard. If you’re already manually coding your links, making them accessible is just a case of putting in a few extra bits of text.
This how-to is in three parts, and will walk you through what you need to know:

  1. How to code an accessible hyperlink
  2. How to code an accessible image
  3. How to code an accessible embedded hyperlink

Throughout this article I will be using http://www.foo.com as an demonstration. Simply replace this, and any other exemplar text with the particulars for what you are doing.

How to code an accessible text hyperlink

Basic code

Just to remind you what the basic hyperlink code looks like:
<a href=”http://www.foo.com”>Descriptive Link Anchor Text </a>

The TITLE description – how it works

It is the TITLE attribute that makes a link accessible. It is inserted after the URL but before the first closing angled bracket and contains descriptive text, enabling the reader to ‘preview’ the link. This in turn allows users to more accurately guess where the link will take them, and make a more informed decision about whether or not they should follow it. Roll your mouse over this example link and you will see what I mean. The text that appears by your mouse cursor is the preview.
Example link

Accessible code

<a href=”http://www.foo.com” title=”Descriptive text” >
Link anchor text will render like this: Link anchor text

When to use

Every hyperlink should have a TITLE attribute.

A few notes

The descriptive title can be any text you want, though to make it as accessible as possible, follow these simple rules:

  • It should say something about the destination of the link.
  • It needs to be between 3 and 80 characters long. A single sentence is normally sufficient.

–Cas and Liz

The Complete Series
How to Code Accessible Links
This one: How to Code Accessible Links–Part 1
How to Code Accessible Links–Part 2
How to Code Accessible Links–Part 3

Filed Under: Audience, Links, SEO, Successful Blog, Tech/Stats Tagged With: accessibility, bc, blog-promotion, colding-links, personal-branding

A Blog Is Born

January 14, 2006 by Liz

Indie and I were talking about whether a sub-domain name gets in the way of Search Engine Rankings–the whole “Google doesn’t like sub-domains” idea. The question was whether that is true if your blog holds court with quality content in a specialty niche. Indie’s comments and his recent blog start-up put forth a compelling argument. We agreed he should share his experience with the community. My hope is that he’ll check in every now and then and let us know how this New Year’s Tucholdky Blog of 2006 is doing. –ME “Liz” Strauss

A Blog Is Born
by Indeterminacy

I have just started a new blog and Liz thought the readers of Successful-Blog might benefit from some of my experiences. So with my own feeling of how to do things, and some of the ideas picked up from Liz, I set out . . .

The Blog’s Purpose

The purpose of the new blog is to present the works of Kurt Tucholsky, a brilliant German journalist, satirist, poet who died in 1935. He was one of the few persons who saw clearly what was going on in German during the 1920’s and gave prescient warnings against him. His works today are just as relevant as they always were, so it seems a good idea to translate them for an English audience. I am also collaborating with the poet David Raphael Israel, who will take my literal translations into formal lyric– that’s quite frankly a task that’s beyond me. We developed a short and specific description, which is the first thing visitors will see:

Title: Kurt Tucholsky

Description: Contains a selection of the works of satirist Kurt Tucholsky (1890–1935), translated into English from the German by Indeterminacy. These translations (along with an impression of the originals) then form the basis for poet David Raphael Israel’s formal verse renderings. All translations copyright 2006.

Domain:

The first step was selecting a domain. I wanted to do the blog in Blogspot, because I’m used to Blogspot and that’s where my other blogs are, plus I believe (whether rightly or wrongly) that this will give a slight advantage in search indexing, at least in Google searches. I checked for the domain http://tucholsky.blogspot.com/, but it was blocked by a blog that never took off. Then I tried reserving http://kurttucholsky.blogspot.com/. That was available. The domain name of course has 100% relevance to the content, so I think it’s the perfect name for the site.

Setting up the Blog:

I selected one of the default template designs, actually the same I’m using at The Synchronicity of Indeterminacy but without all the links and add-ons. I think it’s essential to have some kind of statistic program–to see who visits, and which site referred users. Sometimes that’s the only way to tell if someone has linked to you. I added a minimum of relevant links: The Kurt Tucholsky Society, the German language Tucholsky blog, and the Wikipedia entry on Tucholsky.

After the first two posts I wrote to the Kurt Tucholsky Society in Germany about the project. A member of their board of directors was gracious enough to give his blessing in a lengthy post mentioning the project. I went in and added a blog introduction to lay down the purpose of the blog, and to give some background about why I wanted to do this. The blog is actually a spontaneous spin-off of a post I made at indeterminacy.

Next I added a link section to online collections of Tucholsky texts in the original German and a further link section to be maintained over time containing a chronological list of relevant posts about Tucholsky at other blogs (regardless of language). I also visited a few German language blogs that had posted one of the poems. David has written to poetry forums and friends to gather feedback for the project.

The bloggers at the blogs I visited responded enthusiastically about the project, not because they want to read Tucholsky in English, but because Tucholsky’s works are relatively unknown in that language. His works have been translated, of course, but these translations are out-of-print. So the blog fills a niche by making Tucholsky’s works accessible to a new audience. I intend to add a section of links to Bibliofind.com for each English language edition from which people can call up a list of used books.

The First 100 Hits:

The blog was created on January 4th. Ten days have gone by. Three posts and an introduction. Some of the visitors were of course random referrals from Google. What fascinated me is that some of the visitors at this early stage actually came in via search engine referral. Not many, but still interesting:

A Blog Is Born Stats

I repeated the searches myself and was surprised to see the blog showing up in the top ten already. My assumption is that the blog has two things going for it:

      1) The domain name contains the same terms that would be used to search for the blog content, and
      2) I had a look at the site Google Rankings to find out how high the rankings were for several terms.

This is what I found for the various searches:

Kurt Tucholsky
Google: 14
Yahoo: 20
MSN: 1

Tucholsky
Google: 17
Yahoo: 24
MSN: 1

Tucholsky works
Google: 2
Yahoo: 3
MSN: 1

Tucholsky blog
Google: 4
Yahoo: 12
MSN: 1

Tucholsky English*
Yahoo: 1
MSN: 3
Google: –
*I’ve since added English to the blog description.

I invite comments on what this means, how the search ranks could be so high so early.

Plans:

The plan is to just keep blogging. I will do a minimum of promotion, as I think the blog will promote itself. One of the visitors who found the blog via Google already has posted a short entry to his blog about the project. I hope it will grow into an essential reference for anyone wanting to read specific texts of Tucholsky in English. Of course it has a long way to go before reaching anywhere near comprehensiveness. The aaddtional link section that I intend to include in which each of the out-of-print translations of Tucholsky may be automatically searched in Bibliofind.com. This will help interested visitors further on their way to discovering Tucholsky in depth.

The End, that is, The Beginning

Filed Under: Blog Basics, SEO, Successful Blog Tagged With: bc

Google Site Maps–Looking for Lancelot or Guinevere

January 1, 2006 by Liz

Imagine you could know every thing that Google knows about you and your blog. Okay so you can’t. But you can know alot and over this past year Google’s packaged more and more of that information in usable chunks.

New Years Resolution 1 Check Out the Depth and Breadth of Google Site Maps
If you’ve not yet checked out Google Site Maps make an appointment with yourself to spend an hour doing so. This image of my site’s overview page will show what you can without downloading anything. I’ve linked it to the Google Site Maps login page so that you can dig right in.

Googlesitemaps Overview

Once you’re there Google asks you to make a verification file and to place it on your server at the root location of your site.

This leads me to Resolution 2, which applies only to the more experienced of our community.

Resolution 2: Be a Hero. Teach someone with a subdomain. If you know how to do this for a subdomain–such as Blogger–that has

  • no access to the server
  • no separate file for anything, but a flat open template instead,

would you take a subdomain blogger like me or another under your wing and show us how we might get our hands on the information that you can only get after verification?

You might think that since Google owns Blogger, they would offer some sign, some light, signal as to how to do this. But alas and alack, as in many major corporations, such communication is vapor on the wind. We must scratch and scrape. We are left bereft to find our way through the dark relying on the kindness of friends.

Translation: I’m dying to know what else I might find behind that curtain. Especially since the tabs the curtain covers are called stats and errors.

So there’s the quest. Is there a modern-day Lancelot or Guinevere would take up this gauntlet? Is there someone who tell me what Google should have told me? . . . Please.

–Me “Liz” Strauss

Filed Under: Community, SEO, Successful Blog, Tech/Stats Tagged With: bc

Check Google Backlinks Through Yahoo

December 30, 2005 by Liz

I’m not actually sure how I got there. That happens to me in real life too–more than I’d like to admit.

Somehow I ended up on a forum called SEO Guy on a thread about backlinks. The discussion was about that age old question

Why don’t my backlinks show up in Google?

It’s accepted knowledge that Google only reports about 5% of the backlinks it knows about. This practice frustrates folks attempting to see where they stand.

Embedded in the discussion thread that I found was a way to uncover what backlinks Google has by asking Yahoo. The technique set forth below by forum member Brandon is complete with the compelling argument for why you would trust that Google has these same links.

This is an image of Brandon’s post at the SEO Guy Forum.

seo-guy_com forum post

This is an image of the search text in action. It took a few tries to get it right using a blog with a subdomain. Note the space before the hyphen.

Letting me be Yahoo backlink search

Not only did I find out what links Google has, I found out that Yahoo doesn’t show me all of its links when I do a simple link:mydomain.com search either. The link count for both my personal blog and for Successful Blog were both almost 40% higher through this command.

Believe me the entire thread at SEO Guy Forum is worth reading. I just found this particular bit worth highlighting for your attention.

I’m heading back that way. I’ve bookmarked both the SEO Guy Forum and the SEO Guy Blog. This SEO Guy makes SEO interesting. What a concept!

–ME “Liz” Strauss

Related articles:
Google–Do You Have Something to Tell Me?
Google Site Maps–Looking for Lancelot or Guinevere
Google Blogger–403 Forbidden–How Could You Let that Happen!
Google Zeitgeist–Will Make ME Millions

Filed Under: Blog Basics, Links, SEO, Successful Blog Tagged With: bc

  • « Previous Page
  • 1
  • …
  • 9
  • 10
  • 11
  • 12
  • 13
  • …
  • 16
  • Next Page »

Recently Updated Posts

Is Your Brand Fan Friendly?

How to Improve Your Freelancing Productivity

How to Leverage Live Streaming for Content Marketing

10 Key Customer Experience Design Factors to Consider

How to Use a Lead Generation Item on Facebook

How to Become a Better Storyteller



From Liz Strauss & GeniusShared Press

  • What IS an SOB?!
  • SOB A-Z Directory
  • Letting Liz Be

© 2025 ME Strauss & GeniusShared