<?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>AlastairC &#187; PDF / Flash</title>
	<atom:link href="http://alastairc.ac/category/pdf-flash/feed/" rel="self" type="application/rss+xml" />
	<link>http://alastairc.ac</link>
	<description>Kything web interactions</description>
	<lastBuildDate>Fri, 23 Jul 2010 18:06:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>ARIAs with Flash, Flex, and AIR</title>
		<link>http://alastairc.ac/2009/09/arias-with-flash-flex-and-air/</link>
		<comments>http://alastairc.ac/2009/09/arias-with-flash-flex-and-air/#comments</comments>
		<pubDate>Tue, 22 Sep 2009 19:38:16 +0000</pubDate>
		<dc:creator>AlastairC</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[PDF / Flash]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[air]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[presentations]]></category>
		<category><![CDATA[techshare2009]]></category>

		<guid isPermaLink="false">http://alastairc.ac/?p=542</guid>
		<description><![CDATA[<a href="/wp-content/uploads/2009/09/adobe-t-shirt.jpg"><img src="http://alastairc.ac/wp-content/uploads/2009/09/adobe-t-shirt-150x112.jpg" alt="Adobe T-Shirt: Accessibility is not just HTML anymore" title="Adobe T-Shirt: Accessibility is not just HTML anymore" width="150" height="112" class="alignleft size-thumbnail wp-image-544" /></a>I.e. Accessible Rich Internet Applications with Flash, Flex &#38; Air. This presentation by Andrew Kirkpatrick took us through some of the technologies available, with a special eye on the accessibility possibilities and things you need to watch out for.]]></description>
			<content:encoded><![CDATA[<h2>My overview</h2>
<p><a href="/wp-content/uploads/2009/09/adobe-t-shirt.jpg"><img src="http://alastairc.ac/wp-content/uploads/2009/09/adobe-t-shirt-150x112.jpg" alt="Adobe T-Shirt saying &quot;Accessibility: it's not just for HTML anymore.&quot;" width="150" height="112" class="alignleft size-thumbnail wp-image-544" /></a>I.e. Accessible Rich Internet Applications with Flash, Flex &amp; Air.</p>
<p>This <a href="http://blogs.adobe.com/accessibility/2009/09/techshare_2009_presentation.html">presentation</a> at <a href="http://www.rnib.org.uk/professionals/solutionsforbusiness/trainingandconferences/techshare/techshare2009/daytwo/Pages/TS09_P10-B.aspx">Techshare</a> by Andrew Kirkpatrick (Sr. Product Mgr, Accessibility, Adobe) took us through some of the technologies available, with a special eye on the accessibility possibilities and things you need to watch out for. With all the HTML5 buzz/arguments, it is worth remembering that many of the current issues there have already been dealt with in Flash and other technologies.</p>
<p>There were also a couple of announcements here of major improvements to accessibility for two Adobe products.</p>
<p>Andrew had a bit of trouble with PowerPoint and the conference system, I was a little surprised he didn&#8217;t PDF the presentation and use Acrobat at full screen? That&#8217;s a useful fall-back, but he took it in his stride, and it was of course the demos that people were most interested in anyway.</p>
<p>Quick side question: What&#8217;s the most suitable element for interjecting comments into an outline of someone else&#8217;s text in HTML 4 or 5? I&#8217;m not quoting directly, so it doesn&#8217;t fit the usual transcription methods.</p>
<hr />
<h2>Andrew&#8217;s Presentation</h2>
<p>We define Rich Internet Applications as web based sites with desktop type functionality.<br />
However, it&#8217;s a slippery slope definition, as you can have boring desktop apps [<ins datetime="2009-09-22T21:55:04+00:00">e.g. help</ins>] and very interactive web applications.</p>
<p>I was involved in the Section 508 at an earlier state, where previously desktop and web guidelines were considered separate, but they are really the same set of issues.</p>
<h3>Flash platform History</h3>
<ul>
<li>Flash player started support of MSAA with version 6 in 2001. These days, AT users should have an expectation of access to flash content.</li>
<li>Flex provides as set of Flash based controls. [Flex is to Flash what jQuery UI is to JavaScript]. 28 accessible control types (compared to 7 in HTML). Flex developer previously needed to turn on accessibility, now in the [upcoming version 4 release] it will be on by default.</li>
<li>There are still things that need attending to by the author/developer, e.g. alt text.</li>
</ul>
<h3>Air</h3>
<p>Air delivers Flash based apps to the desktop. At the moment, you&#8217;ll see a lot of twitter apps, but soon you&#8217;ll see things like company HR applications. Allows you to develop in Flash and/or HTML, and deliver cross platform.</p>
<p>Up to now, Air applications have not been accessible. I can announce this week that the next version will have support for accessibility. Uses Webkit, and we can&#8217;t yet use that to convey accessibility information yet, so accessibility in HTML isn&#8217;t there, but Flash based content is. [<ins datetime="2009-09-22T21:55:04+00:00">Flash more accessible than the HTML, oh the irony!</ins>]</p>
<p>Adobe is working with Freedom Scientific and NVDA, plus vendor programme.</p>
<h3>Examples</h3>
<p><a href="/wp-content/uploads/2009/09/creature-discomforts.png"><img src="http://alastairc.ac/wp-content/uploads/2009/09/creature-discomforts-150x100.png" alt="creature discomforts screen shot showing signing in the video" title="creature discomforts screen shot showing signing in the video" width="150" height="100" class="alignright size-thumbnail wp-image-547" /></a></p>
<ul>
<li><a href="http://www.creaturediscomforts.org/play/?v=9">Creaturediscomforts.org</a>, a 	Flash app, interesting because they offer subtitles and sign language. But, it doesn&#8217;t have accessible controls.</li>
<li><a href="http://federalstudentaid.ed.gov/mystory/index.html">My story</a>. In Jaws you can use <kbd>Ins</kbd>-<kbd>F5</kbd>, review the control. Can read through the text. When using the screen reader, it didn&#8217;t open player automatically. The developer detected AT, and doesn&#8217;t run it by default. Then the user can start it when they want to.</li>
<li>See other examples at <a href="http://www.adobe.com/accessibility/examples/">Adobe.com/accessibility/examples</a>.</li>
<li><a href="http://www.Kingtut.org">Kingtut.org</a> uses the default flash components, skinned, accessible interface with little additional effort.</li>
<li><a href="http://icant.co.uk/easy-youtube/">Easy-Youtube</a> uses an HTML interface to control the flash.</li>
<li><a href="http://cnettv.cnet.com/">CNET TV</a> [sometimes] provides captioning.</li>
</ul>
<h3>Improving the current situation</h3>
<p>The User&#8217;s role:</p>
<ul>
<li>Let developers know if their application doesn&#8217;t work for you. (Expectation is that it should work.) If it&#8217;s a train wreck, let them know.</li>
<li>Let developers know if their app works well.</li>
<li>Don&#8217;t turn flash off by default (please!)</li>
<li>Let Adobe know what works, and what doesn&#8217;t, we can campaign on your behalf.</li>
</ul>
<p>Developers role:</p>
<ul>
<li>Following WCAG 2 is a great start.</li>
<li>Flash authoring tool has panel, but the most powerful flexible way is via Actionscript.</li>
</ul>
<h2>Pertinent <a href="http://www.w3.org/TR/WCAG/">WCAG 2</a> checkpoints</h2>
<dl>
<dt>Meaningful sequence</dt>
<dd>
<p>The default order in Flash is determined by the player, often not correctly (depending on the layout). For more complex layouts a human needs to set this order, either in control panel or in actionscript.</p>
<p><a href="http://www.alphaworks.ibm.com/tech/adesigner">aDesigner</a> is an eclipse based tool to help evaluate flash content, including the ordering.</p>
</dd>
<dt>Allow for resizing text</dt>
<dd>
<p>This is not done for you by the player, but you can use CSS to style the text, and then Firefox &amp; Internet Explorer&#8217;s browser controls will resize text.</p>
<p>[<ins datetime="2009-09-22T21:55:04+00:00">I asked: what about varying layout?</ins>]</p>
<p>If you add a font resizing button, that could also change a &#8216;state&#8217;, which could then change the layout, or do any other change you like.</p>
</dd>
<dt>Contrast</dt>
<dd>This is really an authoring/design issue, neither helped nor hindered by the technology.</dd>
<dt>Name, role, value:</dt>
<dd>Flex and Flash support these automatically, you may not need to do anything. It&#8217;s not so easy when you use more complex components (like the accordion in Flex). aDesigner and Inspect 32 can be used to evaluate Flash content.</dd>
</dl>
<hr />
<p>See the <a href="http://www.adobe.com/accessibility/">Adobe.com/accessibility</a> site for more, and the <a href="http://blogs.adobe.com/accessibility">blog</a> for the latest things (that haven&#8217;t been delayed by the web team).</p>
]]></content:encoded>
			<wfw:commentRss>http://alastairc.ac/2009/09/arias-with-flash-flex-and-air/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Strange sIFR / screen-reader bug</title>
		<link>http://alastairc.ac/2008/07/strange-sifr-screen-reader-bug/</link>
		<comments>http://alastairc.ac/2008/07/strange-sifr-screen-reader-bug/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 15:15:26 +0000</pubDate>
		<dc:creator>AlastairC</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Front-end code]]></category>
		<category><![CDATA[PDF / Flash]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[screenreader]]></category>
		<category><![CDATA[sIFR]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://alastairc.ac/?p=325</guid>
		<description><![CDATA[<img class="alignleft size-full wp-image-326" title="sIFR logo." src="http://alastairc.ac/wp-content/uploads/2008/07/logo_sifr2.gif" alt="" width="192" height="116" />I was writing a little accessibility article for .net magazine about text-replacement techniques, including sIFR. I was blithely saying that "yea, don't worry, it's fine" with a couple of caveats. But, rather than rely on memory I did a quick test, and discovered something strange.]]></description>
			<content:encoded><![CDATA[<p><a href="http://alastairc.ac/wp-content/uploads/2008/07/logo_sifr2.gif"><img class="alignleft size-full wp-image-326" title="sIFR logo." src="http://alastairc.ac/wp-content/uploads/2008/07/logo_sifr2.gif" alt="" width="192" height="116" /></a>I was writing a little accessibility article for .net magazine about text-replacement techniques, including sIFR. I was blithely saying that &#8220;yea, don&#8217;t worry, it&#8217;s fine&#8221; with a couple of caveats. But, rather than rely on memory I did a quick test, and discovered something strange.</p>
<p>Bob Easton has a useful <a href="http://access-matters.com/testcases/tc1-1-4.html">test case page</a>, with which I tried in everything I had to hand:</p>
<ul>
<li>Firefox 3 with zoom, and regular text-size changes.</li>
<li>Safari 3 with text-size changes.</li>
<li>IE 6 &amp; 7.</li>
<li>Opera 9.5.</li>
<li>JAWs with IE7.</li>
<li>Windows Eyes with IE7.</li>
<li>VoiceOver 2.0 with Safari.</li>
</ul>
<p>The image replacement techniques were generally fine with a couple of small bugs, most of which don&#8217;t appear on <a href="http://www.mezzoblue.com/tests/revised-image-replacement/">Mezzoblue list</a>. Having them as links seems to be problem, and increased font size does seem to be an issue for the Gilder/Levin method unless you start with a small text size.</p>
<h2>Problem</h2>
<p>When I got to the sIFR method (scalable Inman Flash Replacement), the Windows based screen readers read out the heading twice. I also checked on the <a href="http://www.mikeindustries.com/blog/files/sifr/2.0/">official example page</a> as well, just to be sure it wasn&#8217;t an old example.</p>
<p>Things may have changes since the sIFR method was introduced, but now most Windows based screen readers (i.e. not VoiceOver) are quite happy to read out the Flash. You get something like:</p>
<blockquote title="JAW 8.0 read out of the test case."><p>Flash movie start.<br />
Heading level 3, scalable Inman Flash Replacement.<br />
Flash movie end.<br />
Heading level 3, scalable Inman Flash Replacement.</p></blockquote>
<h2>Solution?</h2>
<p>There are two broad ways around it:</p>
<ol>
<li>Hide the Flash content from screen readers.</li>
<li>Hide the &#8216;hidden&#8217; content from screen readers.</li>
</ol>
<p>I did try (and succeed) in creating an example that hides the actual text from the screen reader, but that&#8217;s probably the wrong way to go.</p>
<p>Given that there are still quite a few user-agents (e.g. VoiceOver) that don&#8217;t cope with Flash, it would be better to leave the text as available as it is, and make the Flash inaccessible. I assume setting <code>wmode</code> to transparent would do that, wouldn&#8217;t it?</p>
]]></content:encoded>
			<wfw:commentRss>http://alastairc.ac/2008/07/strange-sifr-screen-reader-bug/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Adobe open Flash</title>
		<link>http://alastairc.ac/2008/05/adobe-open-flash/</link>
		<comments>http://alastairc.ac/2008/05/adobe-open-flash/#comments</comments>
		<pubDate>Thu, 01 May 2008 09:51:26 +0000</pubDate>
		<dc:creator>AlastairC</dc:creator>
				<category><![CDATA[PDF / Flash]]></category>
		<category><![CDATA[adobe]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[standards]]></category>

		<guid isPermaLink="false">http://alastairc.ac/?p=299</guid>
		<description><![CDATA[The <q>Open Screen Project</q> from Adobe will remove restrictions on use of the SWF and FLV/F4V specs, and removing the licensing fees. What could the consequences be?]]></description>
			<content:encoded><![CDATA[<p>The <q>Open Screen Project</q> from Adobe will:</p>
<blockquote title="Adobe press release" cite="http://www.adobe.com/aboutadobe/pressroom/pressreleases/200804/050108AdobeOSP.html">
<ul>
<li>Removing restrictions on use of the SWF and FLV/F4V specifications</li>
<li>Publishing the device porting layer APIs for Adobe Flash Player</li>
<li>Publishing the Adobe Flash® Cast™ protocol and the AMF protocol for robust data services</li>
<li>Removing licensing fees &#8211; making next major releases of Adobe Flash Player and Adobe AIR for devices free</li>
</ul>
</blockquote>
<p>Two potential advances come to mind:</p>
<ol>
<li>We should be able to get at the spec, and (some people might be able to) create tools for testing and improving the accessibility of flash instances.<br />However, this hasn&#8217;t happened for PDF, so I won&#8217;t hold my breath on this one.</li>
<li>It might clear the way for being included on the iPhone. Although performance issues are the probable cause of it&#8217;s exclusion so far, if Apple can create their own version of the player, they may be able to get around that.</li>
</ol>
<p>The actual project is at <a href="http://www.adobe.com/openscreenproject/">adobe.com/openscreenproject/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://alastairc.ac/2008/05/adobe-open-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Comparing Tagged PDFs from Office and Acrobat</title>
		<link>http://alastairc.ac/2007/08/comparing-tagged-pdfs-from-office-and-acrobat/</link>
		<comments>http://alastairc.ac/2007/08/comparing-tagged-pdfs-from-office-and-acrobat/#comments</comments>
		<pubDate>Sun, 12 Aug 2007 12:52:57 +0000</pubDate>
		<dc:creator>AlastairC</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[PDF / Flash]]></category>
		<category><![CDATA[acrobat]]></category>
		<category><![CDATA[Office 2007]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[tags]]></category>

		<guid isPermaLink="false">http://alastairc.ac/2007/08/comparing-tagged-pdfs-from-office-and-acrobat/</guid>
		<description><![CDATA[<img src="/wp-content/uploads/2007/07/office_2003-acrobat_pdf.thumbnail.png" class="alignleft" alt="A PDF open with the tags editor showing." /> After my initial disappointment with the Office 2007 pluggin for creating PDFs, I've had some discussion with the Microsoft team, and a chance to do a bit more testing. This post compares the conversion of a simple Word 2007 document with the Office pluggin, Acrobat 8.1, and OpenOffice.]]></description>
			<content:encoded><![CDATA[<p>After my <a href="/2007/07/office-2007-pdfs-not-accessible/">initial disappointment</a> with the Office 2007 plug-in for creating PDFs, I&#8217;ve had some discussion with the Microsoft team, and a chance to do a bit more testing. This post compares the conversion of a simple Word 2007 document with the Office plug-in, Acrobat 8.1, and OpenOffice.</p>
<p>I have to thank <a href="http://blogs.msdn.com/jeff_bell/">Jeff Bell</a> and Cheri Ekholm of the Microsoft Office team, they kindly answered my many pestering questions, and took time to look into the issues I was having.</p>
<h2>The Source</h2>
<p>I created a simple document using Word 2007, using it&#8217;s default font (Cambria), and the default styles. Into this document I added a title, some lists, a few paragraphs, an image (with alt), a quote, a two column section, and a table (with headings). I&#8217;ve put all the <a href="/testing/pdf/comparison-testing_2007-08-08.zip" rel="nofollow">documents in a zip file (650k)</a> if anyone else wants to test them as well.</p>
<p>Basic stuff, but everything was correct for making an accessible PDF, i.e. <strong>using the native style structures</strong> in Word.</p>
<h2>The conversion settings</h2>
<p>I used the defaults for each method, making sure that it was creating a tagged PDF. These are the settings in the office plug-in:</p>
<p><a href='/wp-content/uploads/2007/08/office_options.png'><img src='/wp-content/uploads/2007/08/office_options.png' alt='Options dialogue from saving a PDF in word, set to use all pages, create bookmarks from headings, and to &quot;Document structure tags for accessibility&quot;.' class="centered" /></a></p>
<p>These are the options from Acrobat 8.1:</p>
<p><a href='/wp-content/uploads/2007/08/acrobat_options.png'><img src='/wp-content/uploads/2007/08/acrobat_options.png' alt='The Acrobat conversion settings, including creating an accessible (tagged) PDF.' class="centered" /></a></p>
<h2>The results</h2>
<p>Both Acrobat and Office produce a decent document that appears the same as the original, and is tagged. However, there are some differences. </p>
<h3>File size</h3>
<p>The Acrobat version was 148KB, the Office one is 424KB. For such a simple document (with default fonts) I was quite surprised, apparently it&#8217;s due to more information being embedded, which is obvious in small documents, less so in larger documents.</p>
<h3>Tags</h3>
<p>There were some immediate differences, although mostly it was subtle differences like Acrobat using <code>&lt;Heading 2&gt;</code> and Office using <code>&lt;H2&gt;</code>. </p>
<p>The best way to assess the tags is to view them in Acrobat Pro, here are a couple of snapshots, you&#8217;ll probably want to open them in new windows or tabs:</p>
<h4 class="caption">Created with Acrobat</h4>
<p><a href='/wp-content/uploads/2007/08/tags-acrobat.jpg'><img src='/wp-content/uploads/2007/08/tags-acrobat.jpg' alt='Screenshot showing the tags from the Acrobat created PDF, more verbose in terms of tag names.' class="centered" /></a></p>
<h3 class="caption">Created with Office 2007 PDF plug-in</h3>
<p><a href='/wp-content/uploads/2007/08/tags-office.jpg'><img src='/wp-content/uploads/2007/08/tags-office.jpg' alt='Screenshot showing the tags from the Office created PDF, HTML like tag names but a less varied set.' class="centered" /></a></p>
<p>The main problem found was in Office, where the tag for the image was mysteriously placed  immediately after the second paragraph, instead of on the second page. This is likely to be a bug.</p>
<p>The second issue was that the quote style in Word didn&#8217;t translate to a quote tag. Apparently, this is because Office uses the underlying styles, <strong>not the style name</strong> shown when editing. For example, this is the modify style dialogue for the Title style:</p>
<p><a href='/wp-content/uploads/2007/08/styles_modify.png'><img src='/wp-content/uploads/2007/08/styles_modify.png' alt='The modify style dialogue, showing the Title style, and a drop-down showing it’s based on the Normal style.' class="centered" /></a></p>
<p>This method creates two issues in this document:</p>
<ul>
<li>The Title style came across as a paragraph.</li>
<li>The Quote style came across as a paragraph.</li>
</ul>
<p>If a style isn&#8217;t in the styles set, you can&#8217;t create a template that will automatically produce the right tag in the PDF. Comparing the styles list against the <a href="http://www.alistapart.com/d/pdf_accessibility/PDFtags.html">PDF tag list</a>, there are quite a few missing (e.g. article, link, reference). However, I&#8217;m not actually sure how important that is, at least for now, as current screen readers don&#8217;t make use of &#8216;rare&#8217; elements yet.</p>
<p>Acrobat uses the style names, rather than the style they are based on, so whatever you call each style will become the tag. That is why you get <code>&lt;Heading 2&gt;</code> rather than <code>&lt;H2&gt;</code>.</p>
<p>I sent the documents to a friend (<a href="http://www.nomensa.com/about/key-people/leonie-watson.html">Léonie Watson</a>) for a &#8216;blind&#8217; test (in both senses, she didn&#8217;t know what created each PDF), using current versions of JAWs and Acrobat. Most of the tags were fine in both, so both versions of the headings &#8216;work&#8217;, even though the Office method matches the PDF standard set better. The Acrobat version seems to put the bullet points on separate lines (in the tags, therefore for screen readers), which is strange when reading.</p>
<p>What it does mean is that the default styles will not create what you think they do when using the Office plug-in. This makes it extra effort to set up a template for creating accessible PDFs.</p>
<h2>Other accessibility features</h2>
<p>The read out loud function works equally well for both &#8211; no problem there. Changing the colour scheme also worked well for both. </p>
<h3>Document re-flow</h3>
<p>This was not the same. In a previous document (from the last article) reflow had removed the text (due to a font issue). For the Office created PDF test document, reflow doesn&#8217;t actually work at all, the option is grayed out:</p>
<p><a href='/wp-content/uploads/2007/08/reflow_greyed_out.png'><img src='/wp-content/uploads/2007/08/reflow_greyed_out.png' alt='The reflow option in acrobat, with the reflow option greyed out.' class="centered" /></a></p>
<p>I can&#8217;t tell why this is, I don&#8217;t know of another PDF reader that offers the function, and the spec is, well, long, and I haven&#8217;t read it yet. It might be that the Office plug-in doesn&#8217;t do something, or it might be the Acrobat reader isn&#8217;t accepting the input as it should.</p>
<h2 id="openoffice">OpenOffice</h2>
<p><del datetime="2008-04-19T11:49:38+00:00" title="Updated based on David Bailes comment below">OpenOffice is the poor cousin in terms of creating accessible PDFs, you&#8217;d have to do quite a lot of Work (in Acrobat Pro) to overcome the issues for each document:</del></p>
<p><ins datetime="2008-04-19T11:49:38+00:00">Open Office (at least from version 2.4) can export a tagged PDF, and when creating from within OpenOffice (rather than importing a Word file) the headings, lists and alt text all come through fine. Changing colours and reflow (with the exception of the image being dropped to the bottom) also work fine. (Thanks to <a href="http://vip.chowo.co.uk/">David</a> for the update).</ins></p>
<p>Just be careful to tick the &#8216;tagged PDF&#8217; option, as it is not on by default.<br />
Also be careful when importing from Word documents, as the following problems were found with this method:</p>
<ul>
<li>The Alt text was not included.</li>
<li>Headings were brought through as paragraphs (even though they were OpenOffice headings).</li>
<li>Lists items were not nested in the list (i.e. the second item was not in the list).</li>
<li>The Quote was not brought through as a quote.</li>
</ul>
<h2>Overall</h2>
<p>Overall, the Word &amp; Acrobat combination provides the most effective workflow for creating accessible PDFs. With a good template set up, or even using the default styles, it&#8217;s pretty much fire and forget (assuming the document includes everything it needs).</p>
<p>However, it&#8217;s worth remembering two things about the Office 2007 plug-in:</p>
<ol>
<li>It&#8217;s a version 1 program.</li>
<li>It&#8217;s free.</li>
</ol>
<p>The first means that it could be updated in future to iron out the bugs (notably the re-flow issue, as you can&#8217;t get around that).</p>
<p>The second means that it might be more effective for an organisation to use the Office plug-in, and have a couple of people with Acrobat Pro to sort out the few accessibility issues. We haven&#8217;t quite been relieved of the Adobe accessible PDF tax yet, but it&#8217;s a step in the right direction.</p>
<h2>Appendix: Other Office programs</h2>
<p>Cherie Ekholm from the MS team described a little about how tagging with the plug-in varies depending on the program. Word, PowerPoint and Publisher have extensive tagging. (NB: I don&#8217;t think Acrobat supports Publisher, at least not well in the testing I&#8217;ve done). </p>
<p>Visio, Access, OneNote and Excel have much more limited tagging, but all do give users the opportunity to add alt text for images. I think Excel is the only disappointment there, the others have never benefited from good tagging support. I can&#8217;t imagine how you would usefully tag Visio, but I&#8217;ll have a look later.</p>
<p>The Excel functionality was described this way:</p>
<blockquote title="An email from Cherie Ekholm of Microsoft's Office team."><p>while Excel does some tagging of <code>&lt;TR&gt;</code> and <code>&lt;TD&gt;</code> with the Office plug-in, it doesn&#8217;t do it well unless you use the new tables feature in 2007 for the data you want to tag.  Because there is no mechanism to mark the header row in an Excel table or in the spreadsheet itself, there is no tagging for <code>&lt;TH&gt;</code>.  Word is currently the only Office application that has the ability to identify table headers.  As a user, the Excel behavior doesn&#8217;t make sense to me because most spreadsheets look like they are a type of table (whether you apply the new table feature or not).  But Excel spreadsheets are not tables unless you use the new feature.</p></blockquote>
<p>The important thing is that it&#8217;s possible to structure the PDF from the base document, before the PDF process is started. <em>Then</em> the next most important aspect of creating accessible PDFs is that it&#8217;s easy, default, or possible to enforce the accessible practices in the base document. </p>
<p>So we now have step one.</p>
]]></content:encoded>
			<wfw:commentRss>http://alastairc.ac/2007/08/comparing-tagged-pdfs-from-office-and-acrobat/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>Colour Contrast Visualiser &#8211; New Tool</title>
		<link>http://alastairc.ac/2007/08/colour-contrast-visualiser-new-tool/</link>
		<comments>http://alastairc.ac/2007/08/colour-contrast-visualiser-new-tool/#comments</comments>
		<pubDate>Thu, 09 Aug 2007 18:12:43 +0000</pubDate>
		<dc:creator>AlastairC</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[PDF / Flash]]></category>
		<category><![CDATA[analyse]]></category>
		<category><![CDATA[color]]></category>
		<category><![CDATA[colour]]></category>
		<category><![CDATA[contrast]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[luminosity]]></category>
		<category><![CDATA[picker]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://alastairc.ac/2007/08/colour-contrast-visualiser-new-tool/</guid>
		<description><![CDATA[<img src='/wp-content/uploads/2007/08/ccv-screenshot.thumbnail.jpg' alt='Screen shot of the Colour Contrast Visualiser' class="alignleft" />A friend &#38; colleague of mine has just released the beta version of a new tool. Although everyone (who cares) has probably heard of colour contrast analysers, this does the opposite, and helps you choose accessible colour combinations. <br /> Enter the <strong>Colour Contrast Visualiser</strong>.]]></description>
			<content:encoded><![CDATA[<p>A friend &amp; colleague of mine, <a href="http://www.stainlessvision.com/">Tom Hooper</a>, has just released the beta version of a new tool. Although everyone (who cares) has probably heard of colour contrast analysers, this does the opposite, and shows you accessible colours. </p>
<blockquote cite="http://www.stainlessvision.com/projects/colour-contrast-visualiser" title="Project page for the colour contrast visualiser"><p>
<a href="/wp-content/uploads/2007/08/ccv-screenshot.jpg"><img src='/wp-content/uploads/2007/08/ccv-screenshot.jpg' alt='Screen shot of the Colour Contrast Visualiser, showing a foreground colour and accessible backgrounds to associate with it.' class="centered" /></a></p>
<p>This tool allows you to visualise good colour combinations on a Photoshop style colour picker. It&#8217;s primary use is finding acceptable colours from an existing inaccessible combination &#8211; while maintaining the aesthetic appeal of the original.</p></blockquote>
<p>Tom created it for internal use to speed up his design process, but I think it&#8217;s good enough to make available now, even though Tom wants to add more to it. Although I don&#8217;t do design as such, if I did, this would be a very useful tool to choose colours from. Just click on the SWF download at the bottom of the <a href="http://www.stainlessvision.com/projects/colour-contrast-visualiser">Colour Contrast Visualiser</a> page, or download the AIR version for local use.</p>
]]></content:encoded>
			<wfw:commentRss>http://alastairc.ac/2007/08/colour-contrast-visualiser-new-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Office 2007 PDFs &#8211; Not (always) accessible</title>
		<link>http://alastairc.ac/2007/07/office-2007-pdfs-not-accessible/</link>
		<comments>http://alastairc.ac/2007/07/office-2007-pdfs-not-accessible/#comments</comments>
		<pubDate>Tue, 24 Jul 2007 18:13:37 +0000</pubDate>
		<dc:creator>AlastairC</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[PDF / Flash]]></category>
		<category><![CDATA[MS Office 2007]]></category>
		<category><![CDATA[pdf]]></category>

		<guid isPermaLink="false">http://alastairc.ac/2007/07/office-2007-pdfs-not-accessible/</guid>
		<description><![CDATA[<img src="/wp-content/uploads/2007/07/office_2003-acrobat_pdf.thumbnail.png" class="alignleft" alt="A PDF open with the tags editor showing." /> I had previously heard that Office 2007 (or 12 back then) was going to have built in PDF support, with tagging (i.e. accessible output). Not too long ago I installed Vista and Office 2007 on my work machine, but there was no sign of it. Then I found the <q>Microsoft Save as PDF or <abbr title="XML Paper Specification">XPS</abbr> Add-in for 2007 Microsoft Office</q>.]]></description>
			<content:encoded><![CDATA[<div class="update">
Please note there is an <a href="#update1">update</a> to this article after new information from Microsoft.</p>
<p>Of course, to create an accessible PDF from Word, <a href="/2007/07/responsibility-for-accessible-content/#accessible-word-docs">the Word document needs to be done properly</a>, otherwise it doesn&#8217;t matter what you use to create the PDF, it won&#8217;t be accessible.
</div>
<p>I had previously heard that Office 2007 (or 12 back then) was going to have built in PDF support, with tagging (i.e. accessible output). Not too long ago I installed Vista and Office 2007 on my work machine, but there was no sign of it. Then I found the <q cite="http://www.microsoft.com/downloads/details.aspx?FamilyId=4D951911-3E7E-4AE6-B059-A2E79ED87041&#038;displaylang=en">Microsoft Save as PDF or <abbr title="XML Paper Specification">XPS</abbr> Add-in for 2007 Microsoft Office</q>.</p>
<p>It would be great if you could just &#8216;save as&#8217; (which itself is an improvement on having to remember that PDFs are print-outs) and create a PDF of your document from Word, Excel or Powerpoint.</p>
<p>Whilst preparing the materials for a <a href="http://www.nomensa.com/training/creating-accessible-pdfs.html">course on accessibility PDFs</a>, I thought I&#8217;d give it a go with a really simple document. The results initally looked great (apart from being several times the file size), but then I dug in a little.</p>
<p><a href='http://alastairc.ac/wp-content/uploads/2007/07/office_2007_pdf.png'><img src='http://alastairc.ac/wp-content/uploads/2007/07/office_2007_pdf.png' alt='Screen shot of Acrobat Pro showing the first page and the tags dialogue open. There is no text in the tags, everything is an image.' class="centered" /></a></p>
<p>The document is very simple, with just headings, lists, paragraphs and images, but all the text is saved as images.</p>
<p>These images do have &#8216;actual text&#8217;, but that just strikes me as a work-around. According to Adobe&#8217;s own <a href="http://66.102.9.104/search?q=cache:FLbQpBP7wJYJ:www.adobe.com/products/acrobat/pdfs/CreateAccessibleAdvanced.pdf+acrobat+pdf+%22actual+text%22&#038;hl=en&#038;ct=clnk&#038;cd=2&#038;gl=uk">Accessibility Techniques</a>, &#8216;Actual Text&#8217; is for:</p>
<blockquote cite="http://66.102.9.104/search?q=cache:FLbQpBP7wJYJ:www.adobe.com/products/acrobat/pdfs/CreateAccessibleAdvanced.pdf+acrobat+pdf+%22actual+text%22&#038;hl=en&#038;ct=clnk&#038;cd=2&#038;gl=uk&#038;client=firefox-a#14" title="PDF accessiblity techniques - About Element Properties"><p>text that will be sent to a screen reader. If text is entered, the entered text will be read, and not the text that may comprise the displayed document content. This property should be entered only if you<br />
want something other than the content of an element to be read by a screen reader. Basically, this is replacement text.</p></blockquote>
<p>For comparison, &#8216;Alternate Text&#8217; is <q cite="http://66.102.9.104/search?q=cache:FLbQpBP7wJYJ:www.adobe.com/products/acrobat/pdfs/CreateAccessibleAdvanced.pdf+acrobat+pdf+%22actual+text%22&#038;hl=en&#038;ct=clnk&#038;cd=2&#038;gl=uk&#038;client=firefox-a#14" title="PDF accessiblity techniques - About Element Properties">additional or descriptive text that can be used to describe an image, formula, or other item in the document that does not translate naturally into text.</q></p>
<p>So it isn&#8217;t <em>wrong</em> to use this attibute for passing text through to alternative readers, but why isn&#8217;t it just text?</p>
<p>Compared to the same document created from Word 2003 &amp; Acrobat 8:</p>
<p><a href='http://alastairc.ac/wp-content/uploads/2007/07/office_2003-acrobat_pdf.png'><img src='http://alastairc.ac/wp-content/uploads/2007/07/office_2003-acrobat_pdf.png' alt='Screen shot of the same document but showing text within each tag.' class="centered" /></a></p>
<p>The difference it makes in a screen reader is fairly stark, even if you consider it technical accessible:</p>
<p>how </p>
<p>difficult</p>
<p>is </p>
<p>it </p>
<p>to </p>
<p>understand</p>
<p>like </p>
<p>this?</p>
<p>Because of all the separated images a screen reader can&#8217;t tell what&#8217;s a sentence and what&#8217;s just a word. (These simple test documents can be made available if you want to check this.)</p>
<p>Worse still, the accessibility features built into Acrobat are useless:</p>
<ul>
<li>Reflowing the document to fit the screen width just blanks out the content.</li>
<li>Zooming into the text shows blockier text than when using an Acrobat created PDF.</li>
<li>Using different colours schemes doesn&#8217;t work (again, blank content).</li>
<li>You can&#8217;t select text to copy and paste elsewhere (not strictly accessibility, but annoying).</li>
</ul>
<p>I would say that this is a very misleading dialogue:</p>
<p><a href='http://alastairc.ac/wp-content/uploads/2007/07/office2007-options.png' ><img src='http://alastairc.ac/wp-content/uploads/2007/07/office2007-options.png' alt='The Office 2007 PDF options dialogue, showing a tick for &quot;Document structure tags for accessibility&quot;' class="centered" /></a></p>
<p>Given that the Office 2007 PDF pluggin is a free download (once you&#8217;ve paid for Office 2007 of course), I was hoping that most people internally could use that instead of paying the Adobe tax for accessible PDFs. </p>
<p>Unfortunately, without providing reasonably accessible output, I can&#8217;t use or recommend that option.</p>
<h2 id="update1">Update &#8211; it&#8217;s a font thing</h2>
<p>Thanks to the quick responses from Microsoft, it turns out not to be as bad as initially thought. The use of a non-standard font seems to have triggered the use of bitmapped text. I changed the font to Arial, and the structure and text came out fine, possibly clearer than the Adobe version.</p>
<p><a href='http://alastairc.ac/wp-content/uploads/2007/07/office_2007_arial-pdf.png'><img src='http://alastairc.ac/wp-content/uploads/2007/07/office_2007_arial-pdf.png' alt='Screenshot of the acrobat file and tags dialogue open, showing a nice HTML like structure.' class="centered" /></a></p>
<p>In comparison to the non-standard fonts version:</p>
<ul>
<li>Reflowing the document to fit the screen width shows the text content, but blanks out the image.</li>
<li>Zooming into the text is fine.</li>
<li>Using different colours schemes is fine.</li>
<li>You can select text to copy and paste elsewhere.</li>
</ul>
<p>So, much better, although I can&#8217;t work out why the image disappears.</p>
<p>However, half the reason we use PDF in the first place is that we can embed our (nicer) company font into documents we send out. The Microsoft test team are currently investigating why this font triggered the issue, but for now the advice (from me) has to be to use &#8216;standard&#8217; fonts and test thoroughly for accessibility.</p>
]]></content:encoded>
			<wfw:commentRss>http://alastairc.ac/2007/07/office-2007-pdfs-not-accessible/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>CMS editable Flash</title>
		<link>http://alastairc.ac/2007/06/cms-editable-flash/</link>
		<comments>http://alastairc.ac/2007/06/cms-editable-flash/#comments</comments>
		<pubDate>Thu, 14 Jun 2007 15:00:02 +0000</pubDate>
		<dc:creator>AlastairC</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Front-end code]]></category>
		<category><![CDATA[PDF / Flash]]></category>
		<category><![CDATA[Usability / IA]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flash SEO]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Progressive Enhancement]]></category>

		<guid isPermaLink="false">http://alastairc.ac/2007/06/cms-editable-flash/</guid>
		<description><![CDATA[<img src="/wp-content/uploads/2007/06/defacto_carousel.thumbnail.jpg" class="alignleft" alt="The Defacto-CMS website carousel widget." />With all the fuss over AJAX and Flash accessibility you get, I thought it might be worth outlining the process we used to create a Flash/AJAX widget and highlight one of the advantages you get with this method. It also means that the use of Flash has no impact on your Search Engine Optimisation.]]></description>
			<content:encoded><![CDATA[<p>With all the fuss over AJAX and Flash accessibility you get, I thought it might be worth outlining the process <a href="http://www.nomensa.com">we</a> use and highlight one of the advantages you get with it. (Hint, it&#8217;s in the title.) It also means that the use of Flash has no impact on your Search Engine Optimisation.</p>
<p>Oh, and although I&#8217;m writing this article, much of the implementation (and Flash expertise) is from my colleague and co-author <a href="http://www.stainlessvision.com">Tom Hooper</a>. Any Flash questions will be directed his way!</p>
<h2 id="intro">Intro</h2>
<p>Recently we  re-launched our CMS&#8217;s site, <a href="http://www.defacto-cms.com/">defacto-cms.com</a>, and with it a flashy (in both senses) case study selector. If this were a clients site it probably wouldn&#8217;t be worth the time  for this purpose, but now the framework is in place it will be easy to replicate.</p>
<p>The &#8216;carousel&#8217; navigation widget is only used in the case-studies section at the moment, and it is essentially local navigation for that section. You select a case study, it spins into the center, and if you select it the content below is replaced by that case study&#8217;s information. The visual effect is not 100 miles away from the iTunes &#8216;coverflow&#8217; effect, although there are some subtle differences. It uses the <a href="http://blog.papervision3d.org/">Papervision3D</a> open source ActionScript 3 engine for the 3D effect, plus a fair bit of scripting!</p>
<p>NB: <strong>Don&#8217;t use this in Safari yet!</strong> There&#8217;s a crash-bug we&#8217;ve discovered in Safari affecting the AJAX. You can load and play, but don&#8217;t select a case study with the Flash.</p>
<p><a href="http://www.defacto-cms.com/about-defacto/case-studies.html" title="Go to the Defacto Web site."><img src='/wp-content/uploads/2007/06/defacto_carousel.jpg' alt='The Defacto CMS Flash widget, where selected items spin into focus. Select to go to the site.' /></a></p>
<p>It is worth noting that we needed to use quite a recent version of Flash to get that effect (V9.0.28+). </p>
<h2 id="whats-different">What&#8217;s different?</h2>
<p>I don&#8217;t think there is much new in terms of techniques, although I haven&#8217;t seen people use the content of a page as source for the Flash in this way before. It has also had quite a lot of attention in terms of bullet proofing and making accessible.</p>
<h2 id="the-foundation">The foundation</h2>
<p>The foundation is straight XHTML 1.0, and on a basic browser you get a list of links with images. </p>
<p>The HTML needed to run it is a container <code>div</code>, its content (used in the Flash), and an object which is used to configure the Flash element on the page. This is a very generic method that we will be using for any Flash content, but as an example, for carousel that skeleton is:</p>
<pre><code>
&lt;div class="flash-object" id="landing-proposition-inner"&gt;
&lt;h2&gt;Websites powered by Defacto include...&lt;/h2&gt;
&lt;ul&gt;
 &lt;li&gt;&lt;a href="page1.html"&gt;
&lt;img alt="Organisation website screenshot" src="shot1.gif" /&gt;Organisation Name&lt;/a&gt;
&lt;/li&gt;
&lt;!-- more items --&gt;
&lt;/ul&gt;
&lt;object&gt;
	&lt;param value="/defacto/live/swf/carousel.swf" name="swfLocation" /&gt;
	&lt;param value="200" name="height" /&gt;
	&lt;param value="#0E3E80" name="bgColour" /&gt;
	&lt;param value="url" name="sendMode" /&gt;
	&lt;param value="9" name="reqMajorVer" /&gt;
	&lt;param value="0" name="reqMinorVer" /&gt;
	&lt;param value="28" name="reqRevision" /&gt;
&lt;/object&gt;
&lt;/div&gt;
</code></pre>
<h3 id="what-the-scripts-do">What the scripts do</h3>
<p>A JavaScript script is used to embed the actual Flash into the page, in broad strokes, the page loads and the script then:</p>
<ol>
<li>Runs, if you have a fairly recent browser (we used <a href="http://www.jquery.org/">jQuery</a>, so it matches Yahoo!&#8217;s graded browser support table fairly closely).</li>
<li>Checks the version of Flash that you have, and either:
<ul>
<li>Replaces the content of the container <code>div</code> with the Flash, or</li>
<li>Adds a small &#8220;Would you like to upgrade your Flash&#8221; link.</li>
</ul>
</li>
<li>If the Flash is added, the current URL and container ID is passed to the Flash.</li>
</ol>
<p>The Flash then loads, then displays the carousel using the images and links from the URL and ID it was sent. When a case study is selected, the Flash calls a JavaScript function to replace the content of the page (using AJAX).</p>
<h2 id="reasoning">Reasoning</h2>
<p>If I were you, there would be several questions going through my mind: </p>
<p>Question: Why use AJAX?<br />
It prevents you having to re-load the Flash each time you view a case study. Even cached, it&#8217;s doesn&#8217;t load instantly, and this way you don&#8217;t have to sit through the initial animation again and again</p>
<p>Question: Flash has to load the page itself to get the content, why not pass the content from the JavaScript to Flash?<br />
We tried that, but it seemed very CPU intensive, and given that the nature of the widget is already CPU intensive, we steered away from that. Although it may mean loading the thumbnails twice, they should be cached for the second load. In our initial testing, the caching/loading differed between browsers:</p>
<ul>
<li>Firefox loaded the page fully before the Flash, which is strange, so Flash gets the cached images.</li>
<li>IE seems to load the Flash and page simultaneously, so the first request for the images is usually from Flash.</li>
</ul>
<p>Technically as the images are removed from the page when the DOM is ready, they shouldn&#8217;t all load, but I can&#8217;t confirm this yet.</p>
<p>Question: Why not do the Flash version detection in the Flash?<br />
In the case of Flash not being installed, you either get a warning from the browser, or a broken plugin display. There is also a problem with signposting users what to do next, as you end up with dodgy inaccessible buttons or messages in Flash. Since the AJAX interaction requires JavaScript anyway, we decided to use JavaScript detection to deliver a much smoother user experience.</p>
<h2 id="progress-enhancement">Progressive layering / enhancement</h2>
<p>The easiest way to describe the layering is to describe the progressive enhancement, i.e. what you get with what capabilities the browser has:</p>
<dl>
<dt>Basic browser (no CSS or JavaScript)</dt>
<dd>An HTML list (<code>ul</code>) of standard links that work and image thumbnails. </dd>
<dt>Standard browser without JavaScript support</dt>
<dd>An HTML list of links that work. (Images are hidden with CSS, as they are too big when you have the layout in place.)</dd>
<dt>Standard browser with JavaScript, but without the required version of Flash</dt>
<dd>An HTML list of links, and a little link at the bottom of the area suggesting you update Flash.</dd>
<dt>Standard browser with JavaScript and required Flash version</dt>
<dd>The Flash carousel version, using AJAX to load the content.</dd>
</dl>
<p>In the first version the &#8220;has JavaScript but not Flash&#8221; condition used AJAX to load the content, which seemed like a more even step. However, the accessibility and browser support issues mean that the weak point is really scripting (AJAX), not Flash.</p>
<h2>Benefits</h2>
<p>There are several advantages to this whole method that appealed to us:</p>
<ul>
<li>The method scales up. The first time we tested this was for a micro-site that replaced the whole site with Flash.</li>
<li>Search Engine Optimisation (SEO). Since your content is well structured XHTML, Google doesn&#8217;t even know you&#8217;re using Flash.</li>
<li>The presentation in Flash can be very different from HTML, even with the same source content. (Caveat: the more Flash elements you layer on top of the source content, the less flexible the content becomes.)</li>
<li>Flash can call JavaScript functions to interact with other parts of the page, so you can still use (X)HTML when it is best suited to the content.</li>
<li>You can have multiple Flash instances on the same page, each with it&#8217;s own variables.</li>
<li>It is easy to turn on/off, bulletproofing the accessibility.</li>
<li>No duplication of content, you don&#8217;t have to update two things.</li>
<li>You can edit the content within any XHTML capable CMS.</li>
</ul>
<p>I&#8217;ll repeat that for those at the back: <strong>You can edit the content in a CMS</strong>, not one coded specifically for editing Flash or custom XML files.</p>
<p>Obviously, you can&#8217;t add or change functionality, but in this case you can add case studies (links and their thumbnails), and in other cases you could change the content of pages (i.e. text and images).</p>
<h2 id="accesibility-issues">Accessibility issues</h2>
<p>We are tripping several alarm bells in terms of accessibility by using Flash and AJAX, but actually it wasn&#8217;t that hard.</p>
<p>The pages work fine without JavaScipt. The AJAX loads on a keypress of enter, so screen readers will generally update the virtual buffer. There could be a problem if the content takes a little while to load, but adding Juicy studio&#8217;s <a href="http://juicystudio.com/article/improving-ajax-applications-for-jaws-users.php#theupdatefunction">update buffer</a> function should resolve that.</p>
<p>For the the Flash you just have to put in the work (and knowledge and testing) to ensure that it works with both visual keyboard access and with screen readers. You also have to work out what should be shown to screen readers in what order for it to make sense. We did find a bizarre bug in JAWs (8.0 original version) where the <em>whole pages content</em> was repeated when it entered the Flash, but applying the later patches to JAWs fixed that.</p>
<h3 id="user-control">User control</h3>
<p>One of the basic assumptions we accepted is that people may not be able to, or want to, use this feature. Therefore we added a &#8220;Disable scripts&#8221; option at the top. This essentially turns off the advanced scripted features such as the flash, but leaves the cosmetic ones in place (e.g. adding rounded corners).</p>
<p>This is very useful for older screen readers, which may understand just enough JavaScript to get into trouble. At the moment, it&#8217;s also useful for Safari, as we&#8217;ve encountered quite a severe bug when it encounters the AJAX function. </p>
<h2 id="usability">Usability additions</h2>
<p>Usurping the innate page model of the web comes at a cost, some of which we&#8217;ve worked around. If you just use the Flash, it&#8217;s fine, but if you switch between navigation methods it&#8217;s a little clunky as the Flash is not reloaded.</p>
<p>The aspects we did work around were primarily changing the page title when you load a new case study, and providing a mechanism to get back to the index page (in the breadcrumbs).</p>
<p>We also made the visual aspect somewhat more HTML-like, so that a case study has underlined text &#8220;View case study&#8221;, then when you select it that disappears. Adding this made the keyboard/screen reader aspects easier to deal with as well.</p>
<h2 id="improvements">Improvements still to make</h2>
<p>There are a few things we would still like to adjust, the first of which has to be the Safari bug we&#8217;ve tripped. It actually crashes Safari! Unless we can track it down, we might have to add an &#8220;if browser is Safari then don&#8217;t run&#8221; type rule. JavaScript debugging in Safari isn&#8217;t that easy, and yes messieurs <a href="http://www.wait-till-i.com/index.php?p=366">Christian</a> &amp; <a href="http://www.quirksmode.org/blog/archives/2007/01/again_javascrip.html">PPK</a>, you can say &#8220;I told you so&#8221;. However, it would have taken an awful lot longer than we had (1.5 days on JS) to complete it without a library.</p>
<p>Although we&#8217;ve restored the titles to individual (AJAX) pages, we haven&#8217;t re-enabled bookmarking of individual pages. Although search engines will have no trouble finding the pages, people will have difficulty bookmarking individual case studies.</p>
<p>I&#8217;m also not convinced that the double click aspect (i.e. one to move the case study to the center, a second to select it) is the way to go. Some people expect the first click to select a new page, some don&#8217;t.</p>
<p>Which did you expect?</p>
]]></content:encoded>
			<wfw:commentRss>http://alastairc.ac/2007/06/cms-editable-flash/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Note on Non-HTML formats</title>
		<link>http://alastairc.ac/2007/05/note-on-non-html-formats/</link>
		<comments>http://alastairc.ac/2007/05/note-on-non-html-formats/#comments</comments>
		<pubDate>Wed, 09 May 2007 22:45:37 +0000</pubDate>
		<dc:creator>AlastairC</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[PDF / Flash]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[pdf]]></category>

		<guid isPermaLink="false">http://alastairc.ac/2007/05/note-on-non-html-formats/</guid>
		<description><![CDATA[In my previous article on responsibilities in accessibility you might have noticed that I'd fallen into the traditional accessibility trap of only really referring to (X)HTML/CSS sites and guidelines. I'm quite aware of other technologies, but it's worth looking at why other formats are harder to make accessible.]]></description>
			<content:encoded><![CDATA[<p>(A quick inbetweener before the user-agent&#8217;s post)</p>
<p>In my previous article on responsibilities in accessibility you might have noticed that I&#8217;d fallen into the traditional accessibility trap of only really referring to (X)HTML/CSS sites and guidelines. I&#8217;m quite aware of other technologies, however, barring one caveat, the same things apply.</p>
<p>That caveat is that you should know what you are doing.</p>
<p>In HTML, when you start off with a basic document, it is accessible. As you apply styling, behaviour or <a href="http://en.wikipedia.org/wiki/Cruft">cruft</a>, that is when barriers are added. In HTML, accessibility is staying <a href="http://adactio.com/journal/1224">barrier free</a>.</p>
<p>For other formats, you <strong>have to layer accessibility on top</strong>, it&#8217;s extra.</p>
<p>The two non-HTML web formats I deal with regularly are <a href="http://www.adobe.com/products/flash/">Flash</a> and <a href="http://www.adobe.com/products/acrobat/">PDF</a>.</p>
<p>Flash started as a vector animation format, so making that work with linear devices such as screen readers is quite a job. Making Flash sites accessible is definitely possible (we audit them), but it&#8217;s something of a black art. <a href="http://www.nomensa.com/">We</a> aren&#8217;t the only people producing <a href="http://www.defacto-cms.com/about-defacto/case-studies.html">accessible flash</a>, but there aren&#8217;t many <a href="http://kids.direct.gov.uk">others</a>.</p>
<p>PDF started off as Portable Document Format &#8211; designed to transfer print versions of documents in an interoperable fashion. It&#8217;s somewhat easier to make accessible as it can follow the HTML model more easily. However, <a href="/2006/07/the-four-levels-of-pdf-accessibility/">depending on the source</a>, it is subject to similar issues as inaccessible HTML.</p>
<p>In any case, a site owner or developer&#8217;s responsibility would be to ensure that whatever format you use is made in an accessible fashion. If you don&#8217;t  choose HTML, be very sure of what you are getting into. </p>
<p>The end user&#8217;s responsibility is to check that the format is not accessible before complaining, and know how to use accessible versions of that format. </p>
<p>Just because it&#8217;s different to HTML doesn&#8217;t make it wrong.</p>
]]></content:encoded>
			<wfw:commentRss>http://alastairc.ac/2007/05/note-on-non-html-formats/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Automated PDF accessibility testing</title>
		<link>http://alastairc.ac/2007/03/automated-pdf-accessibility/</link>
		<comments>http://alastairc.ac/2007/03/automated-pdf-accessibility/#comments</comments>
		<pubDate>Sat, 24 Mar 2007 01:53:44 +0000</pubDate>
		<dc:creator>AlastairC</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[PDF / Flash]]></category>
		<category><![CDATA[methodology]]></category>
		<category><![CDATA[pdf]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://alastairc.ac/2007/03/automated-pdf-accessibility/</guid>
		<description><![CDATA[<img id="image42" src="/wp-content/uploads/2006/07/pdf_icon.gif" alt="Portable Document Format icon." class="alignleft" />I periodically receive emails from Sitemorse, despite trying to unsubscribe a couple of years ago. This one escaped my usual filters, and I noticed an interesting statistic about the number of accessible PDFs in the wild.]]></description>
			<content:encoded><![CDATA[<p><img id="image42" src="/wp-content/uploads/2006/07/pdf_icon.gif" alt="Portable Document Format icon." class="alignleft" />I periodically receive emails from Sitemorse, despite trying to unsubscribe a couple of years ago. This one escaped my usual filters, and I noticed an interesting statistic about the number of accessible PDFs in the wild.</p>
<p>I&#8217;ve written about the <a href="/2006/07/the-four-levels-of-pdf-accessibility/">four types of PDFs you get</a> on the internet in general, and from experience with training people, I thought I had a pretty good idea of how many accessible PDFs would be available. However, Sitemorse have been running automated tests, and say that 74.8% of checked PDF&#8217;s failed accessibility from the FTSE 100.</p>
<p>75%? [Insert rude word here.] <em>Maybe</em> three quarters of of the PDFs were tagged, but I&#8217;m very skeptical that any examination of those 25% of PDFs would show a real attempt at creating accessible PDFs (i.e. with alternative texts and good structure).</p>
<p>The report from Sitemorse was in PDF format, and included this little promotion:</p>
<blockquote cite="http://survey-beta.sitemorse.com/survey/report.html?rt=168"><p>SiteMorse now includes support for examining Adobe PDF files. We perform twenty eight (28) checks on PDF documents to ensure users do not experience problems such as broken links, or failing email addresses &#8211; we are also the first to <strong>test the accessibility compliance of PDF&#8217;s</strong>.</p></blockquote>
<p>(My emphasis.)</p>
<p>Now, I rarely check these things without being asked to, but I couldn&#8217;t resist. How does this PDF stack up? Because PDF is a mostly binary format, you need a tool to check &#8216;under the hood&#8217;, but with Acrobat Pro it&#8217;s quite easy to run a quick check. The results were actually worse than I expected:</p>
<p><a href='/wp-content/uploads/2007/03/sitemorse_pdf.png'><img src='/wp-content/uploads/2007/03/sitemorse_pdf.png' alt='Screen shot of Sitemorse’s PDF showing the damning Acrobat accessibility report.' class="centered" /></a></p>
<p>The report showed:</p>
<ul>
<li>It&#8217;s not tagged, the most basic form of applying accessibility to PDFs.</li>
<li>The security settings actively <strong>prevent</strong> accessibility.</li>
<li>No images have alternative texts.</li>
<li>The language is not set.</li>
</ul>
<p>Now I would be the first to admit that accessifying PDFs can be real pain, and to do so you currently have to pay an Adobe tax, because no one else will create the tools (even though it&#8217;s a published format and anyone can).</p>
<p>However, I don&#8217;t understand why you would actively prevent accessibility?</p>
<p>The other main point is understanding what a 75% fail rate means. I&#8217;m guessing that the Sitemorse tool checks whether a PDF is tagged, and possibly whether images have alternative text. I&#8217;d be quite surprised if there were any other accessibility oriented checks, so it actually means 25% <em>might</em> be accessible.</p>
<p>Still, without knowing exactly what a tool checks, you can never know what the numbers mean.</p>
<h2 id="update1">Update &#8211; 22nd July &#8217;07</h2>
<p>The last Sitemorse newsletter I recieved did not include a PDF (too hard to do perhaps?), and now the notes on PDF include:</p>
<blockquote cite="http://survey-beta.sitemorse.com/survey/report.html?rt=229" title="SiteMorse Survey Report - July 2007"><p>SiteMorse identifies PDF files which do not include these tags.</p></blockquote>
<p>This pretty much confirms the observations on pass/fail rates above, if there were other checks I&#8217;m sure they would be boasted about.</p>
]]></content:encoded>
			<wfw:commentRss>http://alastairc.ac/2007/03/automated-pdf-accessibility/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>The four levels of PDF accessibility</title>
		<link>http://alastairc.ac/2006/07/the-four-levels-of-pdf-accessibility/</link>
		<comments>http://alastairc.ac/2006/07/the-four-levels-of-pdf-accessibility/#comments</comments>
		<pubDate>Sun, 16 Jul 2006 01:16:40 +0000</pubDate>
		<dc:creator>AlastairC</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[PDF / Flash]]></category>

		<guid isPermaLink="false">http://alastairc.ac/2006/07/the-four-levels-of-pdf-accessibility/</guid>
		<description><![CDATA[<img id="image42" src="http://alastairc.ac/wp-content/uploads/2006/07/pdf_icon.gif" alt="Portable Document Format icon." class="alignleft" />Portable Document Format (PDF) accessibllity is not a new topic, it is well understood and explained by certain experts. However, the implications are <strong>universally unknown</strong> by organisations.]]></description>
			<content:encoded><![CDATA[<div class="translations">
<p class="rm">Translations</p>
<ul>
<li><a href="http://saavutettava.fi/artikkelit/pdfn-saavutettavuuden-nelja-tasoa/" href="fi" hreflang="fi">Saatavana myös suomeksi</a></li>
</ul>
</div>
<p class="cl"><img id="image42" src="http://alastairc.ac/wp-content/uploads/2006/07/pdf_icon.gif" alt="Portable Document Format icon." class="alignleft" />Portable Document Format (PDF) accessibllity is not a new topic, it is <a href="http://alistapart.com/articles/pdf_accessibility">well understood and explained</a> by certain experts.</p>
<p>However, the implications are <strong>universally unknown</strong> by organisations.</p>
<p>Perhaps by outlining the four broad levels of technical PDF accessibility, and what most organisations do, someone will take note?</p>
<h2>Levels of accessibility</h2>
<p>Broadly speaking, any PDF will fall into one of the following categories depending on how it was created:</p>
<ol>
<li>Created from unsupported graphical tool. (Not accessible)</li>
<li>Created from unsupported text based tool. (Probably not accessible)</li>
<li>Tags automatically added. (Might be accessible)</li>
<li>Tags added and carefully edited. (Accessible)</li>
</ol>
<h3>Created from unsupported graphical tool</h3>
<p>A typical scenario is creating a poster or leaflet that is made with a desktop publishing tool such as Quark. This does not embed text in any useful way when a PDF is created, so it will be invisible to screen readers, and the other accessibility features available when reading will not work.</p>
<p>These files cannot be considered accessible in any way.</p>
<h3>Create from unsupported text based tool.</h3>
<p>When you use Acrobat Pro (version 5 or greater, preferably 7 or greater) with a supported application (e.g. <acronym title="Microsoft">MS</acronym> Word), you can add &#8216;tags&#8217; to PDF documents, providing a structure to the document that is used by screen readers and other access (and mobile) technologies.</p>
<p>If you aren&#8217;t using a supported application with Acrobat Pro, then you will be creating a PDF without the HTML-like tags. This is where there is some grey area.</p>
<p>If the document is simple, then it is likely that many people using access technologies will still be able to access it if they have the latest software. However, there is no guarantee, and it is possible many people won&#8217;t be able to access it.</p>
<p>These also cannot be considered accessible, and the vast majority of PDFs online fall into this category.</p>
<h3>Tags automatically added</h3>
<p>Using a supported application such as Word, with Acrobat Pro, and adding tags, you have the basis for an accessible PDFs.</p>
<p>However, whether people with access technologies will be able to use it is another matter, and varies greatly depending on the source document. The type of things that can and usually do go wrong are:</p>
<ul>
<li>Images included in a document don&#8217;t have alternative texts.</li>
<li>Word styles are not used, meaning Acrobat has little chance of working out what the structure should be (although it does try).</li>
<li>Word&#8217;s formatting has become confused, separating content in strange ways that are not visible until you check the reading order.</li>
<li>The document includes tables, which need marking up through the Acrobat interface.</li>
</ul>
<p>If you run an accessibility check (part of Acrobat Pro) on any document that hasn&#8217;t been manually altered, you are likely to get problems, and an automatic check cannot identify some of the above problems.</p>
<p>A document that has tags has a chance of being accessible. For simple documents (no columns, tables or images) it is probably OK. For anything more than basic, it is likely to take manual intervention to be properly accessible.</p>
<h3>Tags added and carefully edited</h3>
<p>If you&#8217;ve used the right software, and edit the PDF in Acrobat Pro afterwards, you can:</p>
<ul>
<li>Check the the structure is right, and correct it.</li>
<li>Check the reading order is right, and correct it.</li>
<li>Specify the language (e.g. English).</li>
<li>Add alt texts.</li>
<li>Mark up tables properly.</li>
<li>Remove non-text artifacts.</li>
</ul>
<p>And generally clean it up. At this point, you can be satisfied that the document is accessible.</p>
<p>In my experience, if you have a 40 page Word document which has been perfectly marked up with Word styles, includes 1 large table, and 10 images: Allow about 3 hours for this process. If the source isn&#8217;t Word, or it isn&#8217;t using styles for headings, double that time.</p>
<p>And if you or someone else edits the word document? You have to re-do it, PDF is an <em>end</em> format.</p>
<h2>Implications for organisations</h2>
<p>Many organisations put a lot of PDFs online, and certain content may only be available through that document. This is an accessibility issue, quite a big (legal/moral/technical) one.</p>
<h3>What to do?</h3>
<p>There are several factors to balance, the main ones are:</p>
<ul>
<li>The difficulty that people can have with PDF documents, especially those with access issues.</li>
<li>How appropriate it is to put up long documents as web pages.</li>
</ul>
<p>The bottom line in terms of accessibility is that some people cannot access PDF documents easily. However, that does not mean adding a very long HTML page (or set of pages) is most appropriate.</p>
<p>Where a document is very long and not suitable for online reading, a PDF would seem to be the most obvious format to use.</p>
<p>Working on the assumption that a typical scenario is for a PDF to be added to a news story, council meeting, <acronym title="Annual General Meeting">AGM</acronym> notice or similar, the steps to ensure accessibility &#038; interoperability are:</p>
<ol>
<li>Include a summary on the HTML page (which itself is good for online reading).</li>
<li>Make the PDF itself accessible (i.e. use one of the approved source applications such as Word and create a &#8216;tagged&#8217; PDF document).</li>
<li>Include the ability for people to request another format such as Word or Rich Text Format (RTF).</li>
</ol>
<p>If the above advice is followed, an organisation is making a reasonable effort to ensure that everyone can access their content. PDFs are not inherently inaccessible, however, they have only become accessible in recent versions, and are not currently easily accessible.</p>
<p>In time (as people catch up with more up to date software), step C may not be necessary.</p>
<p>Taking a step back, this should obviously affect policy. It would be unrealistic to expect organisations to convert thousands of historical documents to accessible PDFs. However, as in the above recommendations, giving people the ability to request a different format would make it available in practice without creating undue work.</p>
<p>It is still difficult for organisations to change processes to start using accessible PDFs from this point on. It requires significant authoring changes to how people produce content such as enforcing the use of Word styles, and adding alternative texts for image. Then the <a href="http://www.nomensa.com/training/creating-accessible-pdfs.html">knowledge to create accessible PDFs</a> can be used.</p>
<hr />
<p><strong>Tags:</strong></p>
<ul class="tags">
<li><a href="http://technorati.com/tag/PDF" rel="tag">PDF</a></li>
<li><a href="http://technorati.com/tag/acrobat" rel="tag">Acrobat</a></li>
<li><a href="http://technorati.com/tag/accessibility" rel="tag">Accessibility</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://alastairc.ac/2006/07/the-four-levels-of-pdf-accessibility/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
