Re: Images in topic titles
- From: Shaun McCance <shaunm gnome org>
- To: Milo Casagrande <miloc gnome org>
- Cc: Gnome Doc List <gnome-doc-list gnome org>
- Subject: Re: Images in topic titles
- Date: Sun, 24 Jan 2010 19:49:50 -0600
On Sun, 2010-01-24 at 19:16 +0100, Milo Casagrande wrote:
> There is a small (fixable) problem though: when you use the alt text
> in the image inside the title, that alt text will be shown in the
> window title bar. So, you will have something like:
> Empathy Instant Messenger logo Empathy Instant Messenger
>
> We can ditch the alt text, but that's there for a11y reasons, and in
> my opinion it needs to stay there.
Hey Milo,
Thanks for bringing this up for discussion on the list.
I want to mention to everybody the possibly solution to
this issue we discussed on IRC.
If you've played a lot with Mallard, you may have run
into link titles or sort titles. These are variations
on the title that get used for different purposes. You
provide these with extra title elements in the info.
Mallard allows you to provide all sorts of info titles,
for basically any purpose you want. So we can just add
text-only titles by agreeing on what to call the title
type and implementing it in Yelp.
I had two proposals. The first was to use "window" as
the title type, and define it very narrowly to be the
title as it would appear in a window title bar. The
second was to use "text" as the title type, and define
it very broadly to be a title to be used whenever you
need plain text. This includes e.g. menus.
I like the broader definition better. Nothing prevents
others from doing narrower definitions as extensions if
there's a need. So we would do this:
<page id="index">
<info>
<title type="link">Empathy Instant Messenger</title>
<title type="text">Empathy Instant Messenger</title>
</info>
<title><media ../>Empathy Instant Messenger</title>
</page>
Thoughts?
--
Shaun McCance
http://syllogist.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]