Posted on Leave a comment

Alternate text for images; what to include and how to add alt text in WordPress

The purpose of alternative text for images (the alt tag in your page’s code) is to ensure that images on your website can be understood by visitors with disabilities. Your alternative text will be utilized by assistive technologies such as screen readers that output text, braille or speech to help visitors with visual impairments understand the information the image provides.

In addition to this original intended purpose of alt text, it has also become an important consideration for search engine optimization (SEO). Search engines can’t see images the way humans can, but they can use the alternative text to index images. Strategic alternative text can help your website rank higher in search results, however, it is important to consider the people who are using your website. Packing your alt tags full of keywords that don’t help a visitor with a visual impairment, but instead detract from the flow of the page, is not a good practice.

When to Include ALT text

Think of accessibility first; decide if your image is informative or decorative:

  • If your image is informative there should be text in the image’s alt tag that explains what the visitor needs to know if they cannot see the image, with exceptions (see next section).
  • For images that are decorative, the alt tag should be included and left blank so that the image can be ignored by assistive technologies.

Some exceptions for informative images:

  • If the text in the image is complex information, such as a chart that cannot be conveyed with a sentence, the same information should be included in text format as well.
  • If the information in the image is repetitive of nearby text, such as a quote from your article intended to make the quote visually stand out, then the image should be considered decorative.

Need more help?

Use the Decision Tree on the W3C Web Accessibility Initiative website to help determine when and what alternative text is appropriate.

Informative vs. Decorative Example

If your website design includes a phone icon, your alternate text should be the word the icon represents. If your design includes both an icon and text, then the alt text should be blank to avoid repetition.

Informative

Telephone:

123-456-7890

vs.

Decorative

Phone: 123-456-7890

What to include in your alt text

Determine how to make your content accessible. The alt text should convey the meaning of any non-decorative image, while being as concise as possible. It may help to imagine that you’re reading the web page out loud to someone who needs to understand the meaning of the image within the context of the page.

For more advice on what to include, see the Images Tutorial Tips and Tricks page on W3C Web Accessibility Initiative.

Implementation in WordPress

Adding alt text in WordPress is quick and easy

Any time you add an image to a page or post, look in the right sidebar for the “alternative text” section of the image block and add your alt text.

If you leave this box empty for decorative images, WordPress will automatically include an empty alt tag in your page’s code.

A note about the WordPress Media Library

If you have already added many images to your website and not added your alt text, you may have noticed the Media Library section of your admin area includes an alternative text option on each image. Be aware that filling this in does NOT retroactively update the alt text on any existing posts or pages! It will however be included if you use the image in the future.

I hope this guide was helpful for you. Please let me know in the comments if you have any additional questions or what other topics you would like me to cover.

Posted on Leave a comment

The limitations of a platform like Wix or Weebly compared to a self-hosted WordPress website

While hosts such as SquareSpace, Wix and Weebly are common options considered for quickly and easily launching a website, I am going to argue that you should choose to build your website with WordPress over a drag-and-drop website builder, even for a very simple site. The reason is because these proprietary platforms have major limitations compared to a self-hosted WordPress setup, which are going to impact your website’s reach and more.

Top Three Limitations

Below are the top three limitations of drag-and-drop website builders that I think you should consider when choosing your platform. I’ve also included how WordPress overcomes these limitations.

#1 Lack of Ownership

You don’t own or control your site’s infrastructure or, in many cases, even your data. You’re a tenant on their platform, subject to pricing changes, feature removals, and service shutdowns. Migrating your site away is notoriously difficult and often requires a full manual recreation of the original site. I have done this for several clients and it’s a time-consuming hassle for sure!

If you instead create a self-hosted WordPress website, you own all of your content. You can move your entire website to any hosting provider in the world within minutes, guaranteeing ultimate sovereignty of your digital property.

#2 Search Ranking

Drag and drop website builders serve millions of sites from shared, generic infrastructure. Your site’s speed is limited by their one-size-fits-all architecture and bloated codebase, which you cannot optimize. This imposes a cap on your website scores that directly and negatively impact your search rankings.

In contrast, a self-hosted WordPress site can be carefully adjusted to achieve a significant advantage in search engine optimization for better search ranking.

#3 Inflexibility

You are confined to the template styles and functionality features the platform offers. For example, if you need a custom members area, a unique checkout or shipping process or integration with another business tool you want to use, you’ll likely hit a wall. You are limited by whichever features the company decides to offer.

Self-hosted WordPress on the other hand, is open source software that anyone can build on. Currently, there are over 13,000 free styling themes and over 60,000 free plugins, plus many excellent paid options. WordPress is endlessly customizable and extensible and you can likely do the work to create your website without hiring anyone almost as easily as a drag-and-drop. If your website has unique needs you need help with, you can hire a developer to build off of the foundation laid by WordPress to write custom code, limited only by your imagination and budget.

My Personal Experience

In my personal experience, each client that I have helped move to WordPress has come up against at least one of these limitations with their previous platform. For example, one client was given about 30 days notice that in order to continue using the features she was using on her site, her hosting cost was going to go up to about $1,600 per year, a four times increase!

Another client wanted to make an online course and wasn’t able to do that with the first platform she chose. Because there was no way to automatically export her website content from that platform, I had to manually recreate her website one page at a time, and make sure to transfer over all the important details like customer reviews on her products. Once all of that was completed, she and her husband were able to take over maintaining their own website and adding the additional features they wanted.

I hope this has helped you see that even though starting with a drag-and-drop builder may seem like a good idea for the novice, in the long run you’re likely going to be much happier with WordPress. Check out my step by step guide to creating a website with WordPress to see how simple it can be to get started on the right foot.