<?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>Accessibility Tips &#187; links</title>
	<atom:link href="http://accessibilitytips.com/tag/links/feed/" rel="self" type="application/rss+xml" />
	<link>http://accessibilitytips.com</link>
	<description>A collection of tips, guidance and practical suggestions in developing accessible websites</description>
	<lastBuildDate>Sat, 02 May 2009 05:07:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Aiding keyboard usage with :focus cues</title>
		<link>http://accessibilitytips.com/2009/02/09/aiding-keyboard-usage-with-focus-cues/</link>
		<comments>http://accessibilitytips.com/2009/02/09/aiding-keyboard-usage-with-focus-cues/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 16:34:08 +0000</pubDate>
		<dc:creator>Isofarro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[active]]></category>
		<category><![CDATA[aid]]></category>
		<category><![CDATA[background]]></category>
		<category><![CDATA[colour]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[cue]]></category>
		<category><![CDATA[fields]]></category>
		<category><![CDATA[focus]]></category>
		<category><![CDATA[forms]]></category>
		<category><![CDATA[input]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[movement]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[order]]></category>
		<category><![CDATA[outline]]></category>
		<category><![CDATA[pseudo-class]]></category>
		<category><![CDATA[specificity]]></category>
		<category><![CDATA[visited]]></category>
		<category><![CDATA[visual]]></category>

		<guid isPermaLink="false">http://www.accessibilitytips.com/?p=26</guid>
		<description><![CDATA[Knowing where the keyboard focus is at any time is critical for keyboard users to navigate through and to a particular page. It&#8217;s not only screen reader users who don&#8217;t use a mouse, many disabilities leave the keyboard as the only viable way to interact with a computer whilst still using a monitor. The dotted [...]]]></description>
			<content:encoded><![CDATA[<p>Knowing where the keyboard focus is at any time is critical for keyboard users to navigate through and to a particular page. It&#8217;s not only screen reader users who don&#8217;t use a mouse, many disabilities leave the keyboard as the only viable way to interact with a computer whilst still using a monitor.</p>
<p>The dotted outline on links is the main visual cue to where the current keyboard focus is on a page at any one time. By tabbing or shift-tabbing through the document the focus is set on the next or previous focusable elements.</p>
<p>This focus rectangle is removed because it makes things look unsightly, but they serve a very useful purpose. And that purpose is critical for a keyboard user to find their way through a page.</p>
<p>So it is essential that there is a clear focus indicator, both on links and form fields. Clear enough that a visitor looking at the page for the first time can spot where the keyboard focus is as quickly as possible.</p>
<p>We do this though CSS&#8217; <code>:focus</code> pseudo-class on the target element. For example, to change the background colour of a link when it receives focus we use the following:</p>
<pre><code>
a:focus {
    background-color: #aaf;
}
</code></pre>
<p>We can do the same with input fields:</p>
<pre><code>
input:focus {
    background-color: #aaf;
}
</code></pre>
<p>In each case, the background colour of the focusable element changes colour when it received focus, and that background colour changes back when the element loses focus. By making this background color change enough it is possible for a visitor to find the focused region of the page.</p>
<p>The same argument can also apply to when links are active, using the <code>:active</code> pseudo-class. An active link is one that is in the process of being clicked, so for example when the mouse-button is being held down when over a link and just about to be lifted, this link is seen to be active. Using this active pseudo-class to style an element that is active provides a visible cue about what is going to happen.</p>
<pre><code>
a:active { color: red; }
</code></pre>
<p>And, we often overlook the usefulness of setting a visited link colour (with the <code>:visited</code> pseudo-class). This proves very helpful in distinguishing destinations a visitor has already been to, thus simplifying the choice of which link to try next.</p>
<pre><code>
a:visited { color: purple; }
</code></pre>
<p>A common pitfall is that certain browsers need these pseudo-classes in a specific order so as not to have one pseudo-class override the styles of another. The safest pseudo-class order is <code>:link</code>, <code>:visited</code>, <code>:hover</code>, <code>:focus</code> and then <code>:active</code>:</p>
<pre><code>
a:link { color: blue; }
a:visited { color: purple; }
a:hover { color: magenta; }
a:focus { color: magenta; }
a:active { color: red; }
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://accessibilitytips.com/2009/02/09/aiding-keyboard-usage-with-focus-cues/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Avoiding redundant title attributes</title>
		<link>http://accessibilitytips.com/2008/04/14/avoiding-redundant-title-attributes/</link>
		<comments>http://accessibilitytips.com/2008/04/14/avoiding-redundant-title-attributes/#comments</comments>
		<pubDate>Tue, 15 Apr 2008 04:01:04 +0000</pubDate>
		<dc:creator>Isofarro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[duplicate]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[redundant]]></category>
		<category><![CDATA[screen magnifiers]]></category>
		<category><![CDATA[screenreaders]]></category>
		<category><![CDATA[title]]></category>
		<category><![CDATA[understanding]]></category>

		<guid isPermaLink="false">http://www.wp-dev.isolutia.com/?p=20</guid>
		<description><![CDATA[The title attribute is one of the overlooked attributes in the HTML collection. It&#8217;s most often used to mark up abbreviations with their expanded forms. Sometimes it&#8217;s used to rout around Internet Explorer&#8217;s tooltip behaviour of image alt attributes. The attribute itself is meant to supply optional supplementary information. The most beneficial example is in [...]]]></description>
			<content:encoded><![CDATA[<p>The <code>title</code> attribute is one of the overlooked attributes in the <abbr title="Hypertext Markup Language">HTML</abbr> collection. It&#8217;s most often used to mark up abbreviations with their expanded forms. Sometimes it&#8217;s used to rout around Internet Explorer&#8217;s tooltip behaviour of image <code>alt</code> attributes.</p>
<p>The attribute itself is meant to supply optional supplementary information. The most beneficial example is in conjunction with the <code>abbr</code> element, providing the knowing user with an expansion of an abbreviation. A second practical example is using it with forms to provide additional relevant information. (We also looked at <a href="http://www.accessibilitytips.com/2008/03/25/using-titles-on-form-fields/">using titles with form fields</a>.)</p>
<p>But there are many examples of a title attribute being used to provide the same information that&#8217;s already available and accessible. The most common example is links, especially in navigation you see the following piece of markup:</p>
<pre title="An example of a redundant title.">
<code>
&lt;a href="/sitemap/" title="Visit our sitemap"&gt;Sitemap&lt;/a&gt;
</code>
</pre>
<p>Here the title attribute is just a plain duplication of the link text. Sure, it may have two extra words of <q>Visit our</q> which don&#8217;t appear elsewhere, but this explains what a link does, and is just as redundant and irrelevant to site visitors. Most of them would need to have understood what a hypertext link is and what it does before even arriving at your site. Its just not necessary.</p>
<p>The extra text is a variant of the <a href="http://www.w3.org/QA/Tips/noClickHere"><q>click here</q> problem</a>, it explains about how to activate a text link rather than succinctly describing the destination.</p>
<p>Some users have their screenreaders configured to read out both the link text and the title attribute. In this case, the above link would read out &#8220;Sitemap visit our sitemap&#8221;, and either prefix that with the word &#8220;Link&#8221;, or switch to a different voice to indicate the presence of a link. The duplication slows down the reading of the page, and is <a href="http://www.paciellogroup.com/blog/?p=37#comment-944">an unnecessary hiccup</a>.</p>
<p>There is very little benefit to the title attribute in this code example. It is better, accessibility wise, to just drop the title attribute altogether in this instance.</p>
<h2>Creating barriers for screen magnifiers</h2>
<p>Screen magnifiers have the tendancy to make all title attributes appear when they have a titled element within the view of the magnifier. Any title, be it on a div, or a header, or a paragraph or a link, will appear in a tooltip like fashion. A significant use of titles may distract a screen magnifier user, even prevent them from seeing a particular piece of content because it has been obstructed by a tooltip.</p>
<p>There&#8217;s just no positive accessibility benefit to using a <code>title</code> attribute to duplicate existing content. The <code>title</code> attribute. when it offers no extra value, hinders more than it helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://accessibilitytips.com/2008/04/14/avoiding-redundant-title-attributes/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Providing link text</title>
		<link>http://accessibilitytips.com/2008/03/04/providing-link-text/</link>
		<comments>http://accessibilitytips.com/2008/03/04/providing-link-text/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 05:25:44 +0000</pubDate>
		<dc:creator>Isofarro</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[accessibility]]></category>
		<category><![CDATA[alt]]></category>
		<category><![CDATA[alt attribute]]></category>
		<category><![CDATA[fallback]]></category>
		<category><![CDATA[image links]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[link text]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[null alt]]></category>
		<category><![CDATA[readable links]]></category>
		<category><![CDATA[redundant links]]></category>
		<category><![CDATA[screenreaders]]></category>

		<guid isPermaLink="false">http://www.wp-dev.isolutia.com/?p=8</guid>
		<description><![CDATA[In websites offering news, it&#8217;s common for there to be a story title and an image both linking to the actual story. The design requirement, or even a tracking requirement, may force there to be two separate links, one for the story title, and one for the story image. Image links A common mistake is [...]]]></description>
			<content:encoded><![CDATA[<p>In websites offering news, it&#8217;s common for there to be a story title and an image both linking to the actual story. The design requirement, or even a tracking requirement, may force there to be two separate links, one for the story title, and one for the story image.</p>
<h2>Image links</h2>
<p>A common mistake is to correctly determine that the text equivalent for the image is already present on the screen, in the form of the story title, and go from there to inserting a null <code>alt</code> attribute (<code>alt=""</code>) for the image. When that image is the sole child of an anchor we are left with an anchor with no link text. And that&#8217;s an accessibility barrier.</p>
<p>The screenreader fallback when there is no link text for an image link is to extract something from the image&#8217;s <code>src</code> attribute &#8211; a <abbr title="Uniform Resource Locator">URL</abbr> &#8211; and this typically results in something unintelligble being read out by a screenreader.</p>
<p>What we need to do here instead is to populate the <code>alt</code> attribute with something that can be used as link text. In the case where the only appropriate (and succinct) text is the story title, it is fine to use that.</p>
<h2>Redundant links</h2>
<p>Its true that having two links with the same perceived link text linking to the same page is a redundancy, but this is much less of an evil than a text-less link. And much less of an accessibility barrier too.</p>
]]></content:encoded>
			<wfw:commentRss>http://accessibilitytips.com/2008/03/04/providing-link-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

