<?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>Shawson&#039;s Code Blog &#187; Accessibility</title>
	<atom:link href="http://codeblog.shawson.co.uk/category/accessibility/feed/" rel="self" type="application/rss+xml" />
	<link>http://codeblog.shawson.co.uk</link>
	<description>development notes for my failing memory</description>
	<lastBuildDate>Wed, 01 Feb 2012 11:00:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>A List Apart: Articles: Testing Accordian Forms</title>
		<link>http://codeblog.shawson.co.uk/a-list-apart-articles-testing-accordian-forms/</link>
		<comments>http://codeblog.shawson.co.uk/a-list-apart-articles-testing-accordian-forms/#comments</comments>
		<pubDate>Tue, 21 Sep 2010 10:18:20 +0000</pubDate>
		<dc:creator>shawson</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[design]]></category>

		<guid isPermaLink="false">http://www.shawson.co.uk/codeblog/?p=804</guid>
		<description><![CDATA[Interesting article on web form layout, and how to make complex data collection tasks less painful for your users. via A List Apart: Articles: Testing Accordian Forms. No related posts.


No related posts.]]></description>
			<content:encoded><![CDATA[<p>Interesting article on web form layout, and how to make complex data collection tasks less painful for your users.</p>
<p>via <a href="http://www.alistapart.com/articles/testing-accordian-forms/">A List Apart: Articles: Testing Accordian Forms</a>.</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://codeblog.shawson.co.uk/a-list-apart-articles-testing-accordian-forms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maintaining ViewState on Password fields</title>
		<link>http://codeblog.shawson.co.uk/maintaining-viewstate-on-password-fields/</link>
		<comments>http://codeblog.shawson.co.uk/maintaining-viewstate-on-password-fields/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 14:38:00 +0000</pubDate>
		<dc:creator>shawson</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[VB.net]]></category>

		<guid isPermaLink="false">http://www.shawson.co.uk/codeblog/post.aspx?id=f2842108-6103-4132-99b5-22a16aef99bc</guid>
		<description><![CDATA[just found this little nugget over on DotNetSlackers.com - By default dot net will activly stop you from maintaining the value in password text boxes on post back- which can be a pain in the ass forcing your user to keep retyping their password (twice as you will almost certainly have a password confirm box!).  [...]


Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/using-findcontrol-to-find-a-repeater-nested-inside-a-repeater-with-headertemplate-or-footertemplate-defined/' rel='bookmark' title='Using FindControl to find a repeater nested inside a repeater with HeaderTemplate or FooterTemplate defined'>Using FindControl to find a repeater nested inside a repeater with HeaderTemplate or FooterTemplate defined</a></li>
<li><a href='http://codeblog.shawson.co.uk/sessionid-re-generated-on-each-page-hit/' rel='bookmark' title='SessionId re-generated on each page hit'>SessionId re-generated on each page hit</a></li>
<li><a href='http://codeblog.shawson.co.uk/asp-net-update-panels-and-jquery/' rel='bookmark' title='ASP.net update panel&#8217;s and jQuery'>ASP.net update panel&#8217;s and jQuery</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>just found this little nugget over on <a href="http://dotnetslackers.com/ASP_NET/re-16487_Setting_the_value_of_Password_Fields_in_ASP_NET_2_0_a_tip_and_rant_rolled_up_into_1.aspx">DotNetSlackers.com </a>- By default dot net will activly stop you from maintaining the value in password text boxes on post back- which can be a pain in the ass forcing your user to keep retyping their password (twice as you will almost certainly have a password confirm box!).  You can get round this using this beauty;</p>
<pre class="brush: vbnet">
Protected Sub txtMyPasswordField_PreRender( ByVal sender As Object, ByVal e As System.EventArgs) Handles txtMyPasswordField.PreRender
    txtMyPasswordField.Attributes(&quot;value&quot;) = txtMyPasswordField.Text
End Sub
</pre>


<p>Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/using-findcontrol-to-find-a-repeater-nested-inside-a-repeater-with-headertemplate-or-footertemplate-defined/' rel='bookmark' title='Using FindControl to find a repeater nested inside a repeater with HeaderTemplate or FooterTemplate defined'>Using FindControl to find a repeater nested inside a repeater with HeaderTemplate or FooterTemplate defined</a></li>
<li><a href='http://codeblog.shawson.co.uk/sessionid-re-generated-on-each-page-hit/' rel='bookmark' title='SessionId re-generated on each page hit'>SessionId re-generated on each page hit</a></li>
<li><a href='http://codeblog.shawson.co.uk/asp-net-update-panels-and-jquery/' rel='bookmark' title='ASP.net update panel&#8217;s and jQuery'>ASP.net update panel&#8217;s and jQuery</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://codeblog.shawson.co.uk/maintaining-viewstate-on-password-fields/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL 2000 Font!</title>
		<link>http://codeblog.shawson.co.uk/sql-2000-font/</link>
		<comments>http://codeblog.shawson.co.uk/sql-2000-font/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 10:39:00 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://www.shawson.co.uk/codeblog/post.aspx?id=4e09481a-4e67-435f-8edd-ba1a1fedf705</guid>
		<description><![CDATA[Another simple one which i&#39;ve only just recently found out- changing the font in the stored procedure viewer under enterprise manager for sql 2000- when in the sql server window, right click and select font.&#160; Then update the &#34;Text&#34; property to the font of your choice and click OK.&#160; This make a permanent change to [...]


Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/assigning-execute-permissions-to-stored-procedure-in-bulk-on-sql-server-2000/' rel='bookmark' title='Assigning execute permissions to Stored procedure in bulk on sql server 2000'>Assigning execute permissions to Stored procedure in bulk on sql server 2000</a></li>
<li><a href='http://codeblog.shawson.co.uk/full-text-reindex-scheduled-job-has-no-steps/' rel='bookmark' title='Full Text Reindex, scheduled job has no steps!'>Full Text Reindex, scheduled job has no steps!</a></li>
<li><a href='http://codeblog.shawson.co.uk/conditional-order-by-clause-in-sql-2005/' rel='bookmark' title='Conditional Order-By clause in SQL 2005'>Conditional Order-By clause in SQL 2005</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>Another simple one which i&#39;ve only just recently found out- changing the font in the stored procedure viewer under enterprise manager for sql 2000- when in the sql server window, right click and select font.&nbsp; Then update the &quot;Text&quot; property to the font of your choice and click OK.&nbsp; This make a permanent change to any future stored procedure windows.</p>


<p>Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/assigning-execute-permissions-to-stored-procedure-in-bulk-on-sql-server-2000/' rel='bookmark' title='Assigning execute permissions to Stored procedure in bulk on sql server 2000'>Assigning execute permissions to Stored procedure in bulk on sql server 2000</a></li>
<li><a href='http://codeblog.shawson.co.uk/full-text-reindex-scheduled-job-has-no-steps/' rel='bookmark' title='Full Text Reindex, scheduled job has no steps!'>Full Text Reindex, scheduled job has no steps!</a></li>
<li><a href='http://codeblog.shawson.co.uk/conditional-order-by-clause-in-sql-2005/' rel='bookmark' title='Conditional Order-By clause in SQL 2005'>Conditional Order-By clause in SQL 2005</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://codeblog.shawson.co.uk/sql-2000-font/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Sprites and a flickering problem in IE6</title>
		<link>http://codeblog.shawson.co.uk/css-sprites-and-a-flickering-problem-in-ie6/</link>
		<comments>http://codeblog.shawson.co.uk/css-sprites-and-a-flickering-problem-in-ie6/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 08:23:00 +0000</pubDate>
		<dc:creator>shawson</dc:creator>
				<category><![CDATA[.net]]></category>
		<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://www.shawson.co.uk/codeblog/post.aspx?id=88b33576-f566-4e2a-818f-e5a3ca8ecbf3</guid>
		<description><![CDATA[Working for a large publishering group who, among other things, have a large section dedicated to the sale childrens books, we have a lot of websites with really graphically heavy designs.  Specifically the designers will often put in navigation elements using non standard fonts, which they insist must be used as-is leaving us with only [...]


Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/transparent-css-sprites-smashing-magazine/' rel='bookmark' title='Transparent CSS Sprites &#8211; Smashing Magazine'>Transparent CSS Sprites &#8211; Smashing Magazine</a></li>
<li><a href='http://codeblog.shawson.co.uk/cool-typography-tool-css-links/' rel='bookmark' title='Cool typography tool &amp; CSS Links'>Cool typography tool &#038; CSS Links</a></li>
<li><a href='http://codeblog.shawson.co.uk/aspnet-nested-listview-controls-with-all-edit-functionality-working/' rel='bookmark' title='Asp.net nested ListView control&#8217;s, with edit functionality- example'>Asp.net nested ListView control&#8217;s, with edit functionality- example</a></li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>Working for a large publishering group who, among other things, have a large section dedicated to the sale childrens books, we have a lot of websites with really graphically heavy designs.  Specifically the designers will often put in navigation elements using non standard fonts, which they insist must be used as-is leaving us with only a couple of options;</p>
<ul>
<li><a href="http://wiki.novemberborn.net/sifr/" target="_blank"><strong>sIFR<br />
</strong></a>This is a javascript/flash solution which allows you to use any font you want on a website.  It&#8217;s very simple to use- you simply add the javascript include to the top of your page, then add the sIFR css classes to the elements you want to be processed by sIFR.  You will also need to open the attached fla file and change the font in there and republish the SWF file.  At run time, the javascript then finds any elements using these classes, grabs their content, then substitutes it with a small flash SWF file, showing your title in your chosen font.  <strong></strong></p>
<p><strong> </strong>This is best used for page headings rather than large blocks of text (due to the processor time required to perform the conversion in real time) and, in my experience, can lead to some CSS based head aches (adding padding or margins where you dont expect it, or generally pushing other elements around) if you have a particuly tight design.</li>
<li><strong>CSS Sprites</strong><br />
<img class="size-full wp-image-43 alignright" title="Example CSS Sprite image showing both a buttons normal and over " src="http://www.shawson.co.uk/codeblog/wp-content/uploads/2009/04/button_sprites.gif" alt="Example CSS Sprite image showing both a buttons normal and over states" /></p>
<p>This solution isn&#8217;t as nice as sIFR, as you are still having to create a graphic for every button, and a graphic for every over state etc.  However with Sprites, you dramatically reduce the download times but putting all your button graphics and all their over states in a single image, and adjusting the offset of which part of the image you see on each button, using CSS.  An example sprite with just a single button can be seen in the image on the right.</p>
<p>The benefits to this include significantly reduced download times as you don&#8217;t have a individual set of headers and footers for each of the individual images- you&#8217;re just downloading the one graphic.  This also eliminated the need for pre-loaders (which never seem to make much of a difference anyway!) because as soon as the graphic is loaded, you then have all the graphics for your navigation, and their over state&#8217;s in memory.</p>
<p>So for each button on the site you set the same single image file, but when you set the background image, you also set an offset like so;</p>
<pre class="brush: css">
#leftNav #btnHome a {
	background-image:url(/graphics/leftnav_sprite.gif);
	background-position:0px 0px;
	}
	#leftNav #btnHome a:hover {
	background-position:0px -26px;
	}
</pre>
</li>
</ul>
<p><img class="size-full wp-image-44 alignright" title="IIS 6 Dialogue, allowing you to add Custom HTTP Headers" src="http://www.shawson.co.uk/codeblog/wp-content/uploads/2009/04/iis_sprites.png" alt="IIS 6 Dialogue, allowing you to add Custom HTTP Headers" /></p>
<p>We went with the CSS Sprites solution in the end which went in very easily and immidiatly worked under firefox.  We did however see issues under IE6- as we roller over the buttons there seemed to be a lag before they actually redrew the normal images, as though it was downloading the graphic again; which apparently is exactly what was happening.  After a bit of googling around we found <a title="IE6 background flicker solution" href="http://blog.klustered.com/2008/04/08/ie6-background-flicker/" target="_blank">this article</a> by <a href="http://blog.klustered.com/" target="_blank">Andrew Fledderjohann</a> which had the solution we needed (as well as a few other fixes for apache etc)&#8211; a simple addition to the headers supplied by IIS when hosting the site.  In the properties for the site in IIS, add a new Custom HTTP Header called Cache-Control and set the value to</p>
<pre class="brush: plain">
post-check=3600,pre-check=43200
</pre>
<p>This started working instantly for us totally eliminating the flicker.  You can see the results of this working up on <a href="http://www.franklinwatts.co.uk/" target="_blank">www.franklinwatts.co.uk</a></p>


<p>Related posts:<ul><li><a href='http://codeblog.shawson.co.uk/transparent-css-sprites-smashing-magazine/' rel='bookmark' title='Transparent CSS Sprites &#8211; Smashing Magazine'>Transparent CSS Sprites &#8211; Smashing Magazine</a></li>
<li><a href='http://codeblog.shawson.co.uk/cool-typography-tool-css-links/' rel='bookmark' title='Cool typography tool &amp; CSS Links'>Cool typography tool &#038; CSS Links</a></li>
<li><a href='http://codeblog.shawson.co.uk/aspnet-nested-listview-controls-with-all-edit-functionality-working/' rel='bookmark' title='Asp.net nested ListView control&#8217;s, with edit functionality- example'>Asp.net nested ListView control&#8217;s, with edit functionality- example</a></li>
</ul></p>]]></content:encoded>
			<wfw:commentRss>http://codeblog.shawson.co.uk/css-sprites-and-a-flickering-problem-in-ie6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

