<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>A Magic Web &#187; a</title>
	<atom:link href="http://www.a-magic-web.com/contents/html/a/feed" rel="self" type="application/rss+xml" />
	<link>http://www.a-magic-web.com</link>
	<description></description>
	<lastBuildDate>Sat, 07 Aug 2010 05:57:45 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>アンカーテキストと title 属性と alt 属性</title>
		<link>http://www.a-magic-web.com/contents/html/a/seo_a_title.html</link>
		<comments>http://www.a-magic-web.com/contents/html/a/seo_a_title.html#comments</comments>
		<pubDate>Thu, 26 Nov 2009 13:10:41 +0000</pubDate>
		<dc:creator>vohedge</dc:creator>
				<category><![CDATA[a]]></category>

		<guid isPermaLink="false">http://www.a-magic-web.com/seo/html-seo/a/seo_a_title.html</guid>
		<description><![CDATA[SEOと title 属性と alt 属性 アンカーテキスト、alt 属性は、ともに SEO の観点から重要なものです。title 属性に関しては、調べる限り SEO に意味がないばかりか、a タグの title 属性と内部の img の alt 属性に同じテキストを指定するとペナルティになる場合すらあるようです。 ふと、本来alt 属性と title 属性はどのように使うものなのか疑問に思い、調べてみました。 alt属性の仕様 W3Cによると、alt 属性は、代替テキストとして定義されています。 For user agents that cannot display images, forms, or applets, this attribute specifies alternate text. The language of the alternate text is specified by the langattribute. HTML 4.01 Specification [...]]]></description>
			<content:encoded><![CDATA[<h3>SEOと title 属性と alt 属性</h3>
<p>アンカーテキスト、alt 属性は、ともに SEO の観点から重要なものです。title 属性に関しては、調べる限り SEO に意味がないばかりか、a タグの title 属性と内部の img の alt 属性に同じテキストを指定するとペナルティになる場合すらあるようです。</p>
<p>ふと、本来alt 属性と title 属性はどのように使うものなのか疑問に思い、調べてみました。</p>
<h3>alt属性の仕様</h3>
<p>W3Cによると、alt 属性は、代替テキストとして定義されています。</p>
<blockquote><p>For user agents that cannot display images, forms, or applets, this attribute specifies alternate text. The language of the alternate text is specified by the <a href="http://www.w3.org/dirlang.html#adef-lang"><samp>lang</samp></a>attribute.</p>
<p><a href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/objects.html#h-13.8">HTML 4.01 Specification : 13.8 How to specify alternate text</a></p>
</blockquote>
<p>「この属性は、画像、フォーム、アプレットを表示できないユーザーのために、代替テキストを指定する。代替テキストの言語は、lang 属性で指定する。」とのこと。</p>
<h3>title属性の仕様</h3>
<p>title 属性は、補助情報を伝えるものとして定義されています。</p>
<blockquote><p>The <a href="http://www.w3.org/global.html#adef-title"><samp>title</samp></a> attribute may be set for both <a href="http://www.w3.org/links.html#edef-A"><samp>A</samp></a> and <a href="http://www.w3.org/links.html#edef-LINK"><samp>LINK</samp></a> to add information about the nature of a link. This information may be spoken by a user agent, rendered as a tool tip, cause a change in cursor image, etc.</p>
<p><a href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/links.html">HTML 4.01 Specification : 12 Links</a></p>
</blockquote>
<p>「title 属性は A と Link の両方に指定することができ、リンクの性質情報を付加します。この情報は、ユーザーエージェントによって音声出力されたり、ツールチップとして読み込まれたり、カーソルイメージの変化によって伝えられます。」</p>
<p>かなり苦しい訳になってしまいました。余談ですが、W3Cのドキュメントに出てくる “user agent” はブラウザのことと思っていいのでしょうか？HTTPヘッダに含まれるユーザーエージェントではなさそうです。</p>
<h3>alt 属性と title 属性の使い方</h3>
<p>仕様を見た上で、alt属性と title 属性に同じテキストを指定することによるペナルティを考えると、単に本来の目的を無視した使い方をしているだけのように思えます。仕様に準拠した使い方をしていれば問題ないのではないでしょうか？</p>
<p>ただし、title 属性を有効に活用できてきる例はあまり見たことがありません。使い方はもう少し研究したほうがよさそうです。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.a-magic-web.com/contents/html/a/seo_a_title.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
