WebAIM - Web Accessibility In Mind

E-mail List Archives

Thread: Default alt attribute for site-logo in a CMS

for

Number of posts in this thread: 7 (In chronological order)

From: E.J. Zufelt
Date: Fri, Sep 09 2011 6:51AM
Subject: Default alt attribute for site-logo in a CMS
No previous message | Next message →

Good morning,

In the Drupal community we are currently discussing what would be the most appropriate default alt attribute for the site-logo: http://drupal.org/node/1270598

When a user first installs Drupal an included theme is enabled, with its default logo. currently the default is for the site-logo to have the alt attribute of "Home" and to link back to the homepage "/" of the site. This can be changed on a site-by-site basis by downloading or creating a new theme. The file used for the logo can be easily swapped through the administrative user interface.

Some have suggested that using the user configured site-name would be a better approach. Others have suggested that using the site-name + site-slogan would be the best approach.

The problem we face is that Drupal is a product, so the default needs to be appropriate in those circumstances where the user chooses not to change the default theme or logo.

Thanks,
Everett Zufelt
http://zufelt.ca

Follow me on Twitter
http://twitter.com/ezufelt

View my LinkedIn Profile
http://www.linkedin.com/in/ezufelt

From: Jared Smith
Date: Fri, Sep 09 2011 8:00AM
Subject: Re: Default alt attribute for site-logo in a CMS
← Previous message | Next message →

The alt attribute should present the content of the image. It seems
this would generally be at least the site-name. If the logo also
presents the site-slogan, then it should be site-name + site-slogan.
If you went with site-name + site-slogan, and site-slogan wasn't
defined, it would just present site-name, correct? If so, then this
would probably be the best default - unless the site-slogan is
typically presented in text separate from the logo, in which case this
would be repetitive and just site-name would be best.

This highlights the difficulty in specifying an accessibility default
for content that is user-specified.

You are correct that "Home" would almost never be appropriate. Having
the site name be the alternative text would be very important for SEO.
A link at the top of the page that presents the site name is a very
common convention - it's not necessary to inform a screen reader user
that it's a link to the home page as this is quite obvious (just as it
is obvious that sighted users can click a linked logo to go to the
home page).

Jared

From: E.J. Zufelt
Date: Fri, Sep 09 2011 8:18AM
Subject: Re: Default alt attribute for site-logo in a CMS
← Previous message | Next message →

Hi Jared,

Thanks for the reply.

Just to clarify, there is no text in the default logo image. It is attached, and is the Druplicon.

You see how this might complicate things a little bit.


Thanks,
Everett Zufelt
http://zufelt.ca

Follow me on Twitter
http://twitter.com/ezufelt

View my LinkedIn Profile
http://www.linkedin.com/in/ezufelt



On 2011-09-09, at 10:00 AM, Jared Smith wrote:

> The alt attribute should present the content of the image. It seems
> this would generally be at least the site-name. If the logo also
> presents the site-slogan, then it should be site-name + site-slogan.
> If you went with site-name + site-slogan, and site-slogan wasn't
> defined, it would just present site-name, correct? If so, then this
> would probably be the best default - unless the site-slogan is
> typically presented in text separate from the logo, in which case this
> would be repetitive and just site-name would be best.
>
> This highlights the difficulty in specifying an accessibility default
> for content that is user-specified.
>
> You are correct that "Home" would almost never be appropriate. Having
> the site name be the alternative text would be very important for SEO.
> A link at the top of the page that presents the site name is a very
> common convention - it's not necessary to inform a screen reader user
> that it's a link to the home page as this is quite obvious (just as it
> is obvious that sighted users can click a linked logo to go to the
> home page).
>
> Jared
>

From: Jared Smith
Date: Fri, Sep 09 2011 8:27AM
Subject: Re: Default alt attribute for site-logo in a CMS
← Previous message | Next message →

On Fri, Sep 9, 2011 at 8:15 AM, E.J. Zufelt < = EMAIL ADDRESS REMOVED = > wrote:
> Just to clarify, there is no text in the default logo image. It is attached, and is the Druplicon.

It doesn't have to be text to convey content. If the icon represents
and presents "Drupal", then the alternative text should still be
"Drupal". You'd do the same for the McDonald's "M" or the Nike swoosh,
etc. And if the logo is linked, it *MUST* present alternative text.

Jared

From: E.J. Zufelt
Date: Fri, Sep 09 2011 8:36AM
Subject: Re: Default alt attribute for site-logo in a CMS
← Previous message | Next message →

Hi Jared,

Thanks again for the reply.

And I guess this is where your point about sensible defaults for such things comes in.

If A user sets up a blog with Drupal's defaults, a screen-reader user would hear:

Link: Drupal

For a link that takes them to the homepage of Joe's Blog.

Thanks again,
Everett Zufelt
http://zufelt.ca

Follow me on Twitter
http://twitter.com/ezufelt

View my LinkedIn Profile
http://www.linkedin.com/in/ezufelt



On 2011-09-09, at 10:25 AM, Jared Smith wrote:

> On Fri, Sep 9, 2011 at 8:15 AM, E.J. Zufelt < = EMAIL ADDRESS REMOVED = > wrote:
>> Just to clarify, there is no text in the default logo image. It is attached, and is the Druplicon.
>
> It doesn't have to be text to convey content. If the icon represents
> and presents "Drupal", then the alternative text should still be
> "Drupal". You'd do the same for the McDonald's "M" or the Nike swoosh,
> etc. And if the logo is linked, it *MUST* present alternative text.
>
> Jared
>

From: Jared Smith
Date: Fri, Sep 09 2011 8:45AM
Subject: Re: Default alt attribute for site-logo in a CMS
← Previous message | Next message →

On Fri, Sep 9, 2011 at 8:32 AM, E.J. Zufelt < = EMAIL ADDRESS REMOVED = > wrote:

> If A user sets up a blog with Drupal's defaults, a screen-reader user would hear:
>
> Link: Drupal
>
> For a link that takes them to the homepage of Joe's Blog.

If they maintain the defaults and the logo is the Drupal logo and the
site name is "Drupal", this is perfectly accurate. If they change the
logo and site name, then it's still accurate. If they change one, but
not the other, then they've introduced an accessibility issue that you
can't and shouldn't need to account for.

Jared

From: John E Brandt
Date: Fri, Sep 09 2011 9:15AM
Subject: Re: Default alt attribute for site-logo in a CMS
← Previous message | No next message

Why can't is say both? Quoting from VoiceOver (on a Drupal site that is not
using a graphic main heading, but rather text).

"[Heading level 1, Visited Link]Maine-AIM - Home"

If you are using the Drupal logo on "Joe's website," the alt could simply
say "Drupal logo - home"

~j

John E. Brandt
www.jebswebs.com
= EMAIL ADDRESS REMOVED =
207-622-7937
Augusta, Maine, USA

-----Original Message-----
From: = EMAIL ADDRESS REMOVED =
[mailto: = EMAIL ADDRESS REMOVED = ] On Behalf Of Jared Smith
Sent: Friday, September 09, 2011 10:44 AM
To: WebAIM Discussion List
Subject: Re: [WebAIM] Default alt attribute for site-logo in a CMS

On Fri, Sep 9, 2011 at 8:32 AM, E.J. Zufelt < = EMAIL ADDRESS REMOVED = > wrote:

> If A user sets up a blog with Drupal's defaults, a screen-reader user
would hear:
>
> Link: Drupal
>
> For a link that takes them to the homepage of Joe's Blog.

If they maintain the defaults and the logo is the Drupal logo and the site
name is "Drupal", this is perfectly accurate. If they change the logo and
site name, then it's still accurate. If they change one, but not the other,
then they've introduced an accessibility issue that you can't and shouldn't
need to account for.

Jared