<?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>Technically speaking ... &#187; WYSIWYG editors</title>
	<atom:link href="http://www.redefine.co.uk/blog/category/wysiwyg/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.redefine.co.uk</link>
	<description></description>
	<lastBuildDate>Mon, 17 Aug 2009 09:13:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>TinyMCE improves the code it generates</title>
		<link>http://www.redefine.co.uk/blog/2008/02/12/tinymce-improves-the-code-it-generates/</link>
		<comments>http://www.redefine.co.uk/blog/2008/02/12/tinymce-improves-the-code-it-generates/#comments</comments>
		<pubDate>Tue, 12 Feb 2008 13:09:21 +0000</pubDate>
		<dc:creator>nigel</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[WYSIWYG editors]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[web-accessibility]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.redefine.co.uk/blog/2008/02/12/tinymce-improves-the-code-it-generates/</guid>
		<description><![CDATA[<p>I was playing around with the current development version of WordPress (2.5 will be released in March) &#38; had a nice surprise when I tried out the WYSIWYG editor. It&#8217;s about a year ago that I was last <a href="/blog/2007/02/20/round-up-of-accessible-content-from-wysiwyg-editors/">taking a serious look at the code they produced</a> in response to Peter Krantz&#8217;s <a href="http://www.standards-schmandards.com/2007/wysiwyg-editor-test-2/">round-up over at &#8220;Standards Schmandards&#8221;</a>.</p>
<p>Anyway it was nice to see that the indent button no longer uses the BLOCKQUOTE tag to achieve the desired styling, and that the alignment buttons have dispensed with the &#8216;align&#8217; attribute.</p>
<p>It&#8217;s been a bugbear of mine that whilst the developers and designers of a site might be required (&#38; also have a passionate desire) to work to standards, the content providers are being offered tools that makes all that effort redundant. In the case of these particular buttons they would have stopped a page from conforming with the Double-A&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>I was playing around with the current development version of WordPress (2.5 will be released in March) &amp; had a nice surprise when I tried out the WYSIWYG editor. It&#8217;s about a year ago that I was last <a href="/blog/2007/02/20/round-up-of-accessible-content-from-wysiwyg-editors/">taking a serious look at the code they produced</a> in response to Peter Krantz&#8217;s <a href="http://www.standards-schmandards.com/2007/wysiwyg-editor-test-2/">round-up over at &#8220;Standards Schmandards&#8221;</a>.</p>
<p>Anyway it was nice to see that the indent button no longer uses the BLOCKQUOTE tag to achieve the desired styling, and that the alignment buttons have dispensed with the &#8216;align&#8217; attribute.</p>
<p>It&#8217;s been a bugbear of mine that whilst the developers and designers of a site might be required (&amp; also have a passionate desire) to work to standards, the content providers are being offered tools that makes all that effort redundant. In the case of these particular buttons they would have stopped a page from conforming with the Double-A WCAG 1.0 accessibility requirements and produced invalid XHTML 1.0 Strict code.</p>
<p>So well done <a href="http://tinymce.moxiecode.com/">moxiecode</a>! Hopefully the other editors have already followed suit, or well do shortly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.redefine.co.uk/blog/2008/02/12/tinymce-improves-the-code-it-generates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessibilty for content providers &#8211; quotes</title>
		<link>http://www.redefine.co.uk/blog/2007/02/28/accessibilty-for-content-providers-quotes/</link>
		<comments>http://www.redefine.co.uk/blog/2007/02/28/accessibilty-for-content-providers-quotes/#comments</comments>
		<pubDate>Wed, 28 Feb 2007 10:33:51 +0000</pubDate>
		<dc:creator>nigel</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[WYSIWYG editors]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[web-accessibility]]></category>

		<guid isPermaLink="false">http://www.redefine.co.uk/blog/2007/02/28/accessibilty-for-content-providers-quotes/</guid>
		<description><![CDATA[<p>Unfortunately the underlying technology used in most WYSIWYG editors makes it very easy to fall foul of these accessibility rules. The problem is the Indent button. It works fine if you use it on a list &#8211; making the list item that you’ve highlighted move in a level &#8211; but if you apply it to a paragraph then it will mark it up as a quote. That&#8217;s because the normal styling applied to a quote by your browser is to indent the text.</p>
<p>The relevant WCAG 1 checkpoint is:</p>
<p>3.7 Mark up quotations. Do not use quotation markup for formatting effects such as indentation.</p>
<p>It&#8217;s a Priority 2 requirement, so is necessary for Double-A compliance.</p>
Don’t indent with &#60;blockquote&#62;
<p>So the first thing is probably to put some test content into your WYSIWYG editor and try the Indent button. Then look at the HTML code produced to see if it&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Unfortunately the underlying technology used in most WYSIWYG editors makes it very easy to fall foul of these accessibility rules. The problem is the Indent button. It works fine if you use it on a list &#8211; making the list item that you’ve highlighted move in a level &#8211; but if you apply it to a paragraph then it will mark it up as a quote. That&#8217;s because the normal styling applied to a quote by your browser is to indent the text.</p>
<p>The relevant WCAG 1 checkpoint is:</p>
<blockquote><p>3.7 Mark up quotations. Do not use quotation markup for formatting effects such as indentation.</p></blockquote>
<p>It&#8217;s a Priority 2 requirement, so is necessary for Double-A compliance.</p>
<h2>Don’t indent with &lt;blockquote&gt;</h2>
<p>So the first thing is probably to put some test content into your WYSIWYG editor and try the Indent button. Then look at the HTML code produced to see if it uses &lt;blockquote&gt;. If that is that case then you should only use that button for indenting lists.</p>
<p>The best alternative is to have an indent style added to your stylesheets and for that to be available as an option in your editor. Then you just have to highlight the text and select the style.</p>
<p>The next stop down is to have the style in your stylesheet but you have to go into the HTML code to say where you want to use it. Finally you can use the style attribute to put the formatting in directly.</p>
<p>In both cases you need to find the tag that surrounds the block of text that you want to indent. This is usually going to be a paragraph so you&#8217;re looking for &lt;p&gt;. If you&#8217;re armed with a class name from your stylesheet, say &#8216;indented&#8217;, then you want to change it to &lt;p class=&#8221;indented&#8221;&gt;, otherwise you’ll use something like &lt;p style=&#8221;margin-left: 20px;&#8221;&gt;.</p>
<h2>Do mark up quotations</h2>
<p>There are two relevant HTML tags &#8211; &lt;blockquote&gt; for blocks of text and &lt;q&gt; when it&#8217;s part of a block of text (i.e. a phrase within a sentence, etc.). You don&#8217;t need to go overboard though and mark up absolutely every piece of speech in your content.</p>
<p>If your normal browser is Internet Explorer and you&#8217;ve been using &lt;q&gt; in your content then you might be surprised by additional speech marks appearing in other browsers. Don&#8217;t worry that&#8217;s just the default behaviour. Internet Explorer (including IE7) doesn&#8217;t understand the tag so there&#8217;s no styling applied, some other browsers do and wrap the text up in speech marks. The best solution if you see this is to get your web team to remove this behaviour in the stylesheet so that it looks the same for everyone.</p>
<h2>Don&#8217;t worry about &amp;quot;</h2>
<p>In your journeys through HTML you might have come across this strange notation, which looks like it&#8217;s something to do with quotes. It isn&#8217;t, so you can ignore it (or remain in your current blissful state).</p>
<p>It&#8217;s just used in the HTML code if you need a speech mark within, for example, alt text. The same character is used to enclose the alt text, so this is the route out of the potential confusion of speech marks inside speech marks. Your WYSIWYG editor should take care of these details for you though &#8211; you will still enter the &#8216;&#8221;&#8216; character in the dialog box.</p>
<h2>Summary</h2>
<ul>
<li>avoid using the Indent button if your editor converts it into the &lt;blockquote&gt; tag</li>
<li>alternatively add a class (if it has been defined in your stylesheet) to the paragraph tag, or the style attribute (e.g. &lt;p style=&#8221;margin-left: 20px&#8221;&gt; …&lt;/p&gt;)</li>
<li>&lt;blockquote&gt; is for marking up blocks of text</li>
<li>&lt;q&gt; is if you have a quote within a block of text</li>
<li>some browsers wrap text marked with &lt;q&gt; in speech marks, Internet Explorer doesn&#8217;t – have them removed in your stylesheet for consistency</li>
<li>don’t worry about &amp;quot;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.redefine.co.uk/blog/2007/02/28/accessibilty-for-content-providers-quotes/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Accessibilty for content providers &#8211; design</title>
		<link>http://www.redefine.co.uk/blog/2007/02/28/accessibilty-for-content-providers-design/</link>
		<comments>http://www.redefine.co.uk/blog/2007/02/28/accessibilty-for-content-providers-design/#comments</comments>
		<pubDate>Wed, 28 Feb 2007 10:22:44 +0000</pubDate>
		<dc:creator>nigel</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[WYSIWYG editors]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[web-accessibility]]></category>

		<guid isPermaLink="false">http://www.redefine.co.uk/blog/2007/02/28/accessibilty-for-content-providers-design/</guid>
		<description><![CDATA[<p>The designers of your website would want you to avoid having to be involved with any of the issues here, since it will mean that you are breaking away from the options in the stylesheets. In general, the more you use mark up to reflect the meaning and structure of your content the better. That makes it easier to maintain over a long period of time, to provide a common user experience across the site and to adapt to changes in the overall look and feel.</p>
<p>The reality is that there are times when you can’t avoid it &#8211; have deadlines to meet and you know that the stylesheet won&#8217;t be amended in time. So these are the WCAG 1 checkpoints that you need to be aware of.</p>
Colour
<p>A Priority 1 requirement is:</p>
<p>2.1 Ensure that all information conveyed with color is also available without color, for example from&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>The designers of your website would want you to avoid having to be involved with any of the issues here, since it will mean that you are breaking away from the options in the stylesheets. In general, the more you use mark up to reflect the meaning and structure of your content the better. That makes it easier to maintain over a long period of time, to provide a common user experience across the site and to adapt to changes in the overall look and feel.</p>
<p>The reality is that there are times when you can’t avoid it &#8211; have deadlines to meet and you know that the stylesheet won&#8217;t be amended in time. So these are the WCAG 1 checkpoints that you need to be aware of.</p>
<h2>Colour</h2>
<p>A Priority 1 requirement is:</p>
<blockquote><p>2.1 Ensure that all information conveyed with color is also available without color, for example from context or markup.</p></blockquote>
<p>You&#8217;ll have come across the application of this checkpoint when you&#8217;re filling in forms. There was a time when you would have had a phrase like &#8216;Required fields are marked in red&#8217;. That&#8217;s not particularly helpful for a screen reader that doesn&#8217;t report on colours to the user, so now the convention is to use a &#8216;*&#8217; either as a replacement or in addition. So if you are using colour to highlight say the main contacts in a list then you will need to follow a similar convention.</p>
<h2>Font sizes</h2>
<p>A Priority 2 requirement (i.e. for Double-A compliance) is:</p>
<blockquote><p>3.4 Use relative rather than absolute units in markup language attribute values and style sheet property values.</p></blockquote>
<p>You&#8217;ll come across this mainly when changing the size of text. The first thing to check is that you do want to use this option &amp; that you shouldn’t be using a heading style instead. If that&#8217;s not the case then you need to avoid using points (pt) or pixels (px) as the measurement unit and instead use ems (em), percentages (%) or the relative sizes (xx-small, x-small, small,  medium, large, x-large, xx-large).</p>
<p>There&#8217;s no real difference in the choice between ems and percentages as 1em equivalent to 100% (.5em is 50%, 1.5em is 150%, etc.).</p>
<p>This is mainly intended to help people who are using the text resizing option in Internet Explorer which ignores any absolute units. Other browsers (and now IE7) have a zoom option that will enlarge/reduce all the text on the page no matter what units have been used.</p>
<h2>Blinking</h2>
<blockquote><p>7.2 Until user agents allow users to control blinking, avoid causing content to blink (i.e., change presentation at a regular rate, such as turning on and off).</p></blockquote>
<p>This might have been more of a concern when the guidelines were originally framed (1999) than it is today &#8211; the &lt;blink&gt; tag. So if you haven&#8217;t come across any other reason to avoid it like the plague then here&#8217;s one. It&#8217;s required for Priority 2 compliance.</p>
<h2>Summary</h2>
<ul>
<li>It&#8217;s better to have the stylesheets changed overall than to format directly in the content</li>
<li>Don’t use colour alone to provide meaning</li>
<li>Use ems, percentages or the relative units (i.e. small, medium, etc.) to change the size of text rather than pixels or points</li>
<li>Don&#8217;t use the blink tag (restrain yourself, it’s horrible)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.redefine.co.uk/blog/2007/02/28/accessibilty-for-content-providers-design/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessibilty for content providers &#8211; links</title>
		<link>http://www.redefine.co.uk/blog/2007/02/27/accessibilty-for-content-providers-links/</link>
		<comments>http://www.redefine.co.uk/blog/2007/02/27/accessibilty-for-content-providers-links/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 13:22:02 +0000</pubDate>
		<dc:creator>nigel</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[WYSIWYG editors]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[web-accessibility]]></category>

		<guid isPermaLink="false">http://www.redefine.co.uk/blog/2007/02/27/accessibilty-for-content-providers-links/</guid>
		<description><![CDATA[<p>There are two checkpoints in the <a href="http://www.w3.org/WAI/intro/wcag.php">Web Content Accessibility Guidelines 1</a> (WCAG 1) directly covering links:</p>
<p>10.1 Until user agents allow users to turn off spawned windows, do not cause pop-ups or other windows to appear and do not change the current window without informing the user.</p>
<p>13.1 Clearly identify the target of each link.</p>
<p>Both of them are Priority 2, so you need to abide by them to meet Double-A compliance.</p>
Making the links clear
<p>Sighted users are able to scan through content and pick up the links by visual clues without having to wait for the content to be read out to them. The idea behind the second checkpoint is to help some screen readers that try to achieve the same result by extracting a list of all the links on a page. However since they are no longer in their original context then it is possible&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>There are two checkpoints in the <a href="http://www.w3.org/WAI/intro/wcag.php">Web Content Accessibility Guidelines 1</a> (WCAG 1) directly covering links:</p>
<blockquote><p>10.1 Until user agents allow users to turn off spawned windows, do not cause pop-ups or other windows to appear and do not change the current window without informing the user.</p>
<p>13.1 Clearly identify the target of each link.</p></blockquote>
<p>Both of them are Priority 2, so you need to abide by them to meet Double-A compliance.</p>
<h2>Making the links clear</h2>
<p>Sighted users are able to scan through content and pick up the links by visual clues without having to wait for the content to be read out to them. The idea behind the second checkpoint is to help some screen readers that try to achieve the same result by extracting a list of all the links on a page. However since they are no longer in their original context then it is possible that they might not make sense.</p>
<p>There are two ways of solving this issue. The first way is to select the most appropriate text for the link &#8211; e.g. in the first sentence of this post I could have selected &#8216;checkpoints&#8217; rather than &#8216;Web Content Accessibility Guidelines&#8217;, the latter works better out of context.</p>
<p>However this might not always be appropriate, as you don&#8217;t want to clutter your text with full titles (e.g. &#8216;in a previous article&#8217; rather than the title of the article) or you might want more than one link for an item (e.g. a report might have two links, one to a Word file and the other to a PDF). So in this case you would use the second solution which is to use the &#8216;title&#8217; attribute that&#8217;s found in the dialog box when inserting a link using your WYSIWYG editor.</p>
<p>This additional content is available to the screen reader in its list, and normally will pop up on the screen for other users when they move their mouse over the link. For example on the home page of this blog each post is linked to with the text &#8216;full article&#8217; but if you put your mouse over the link then the article title is shown as well.</p>
<p>You&#8217;re definitely going to need the &#8216;title&#8217; attribute if your writing/linking style is to pick out phrases in sentences and tease your readers.</p>
<h2>Opening new windows</h2>
<p>There&#8217;s a usability argument against creating new windows when clicking on a link that makes for a confusing user experience. The &#8216;power users&#8217; take it all in their stride but for many others they might not notice that anything has changed until they come to use the back button or close the window. In accessibility terms the situation is worse. If someone can&#8217;t see the screen then it can be even more disorientating if they haven&#8217;t had any warning.</p>
<p>That&#8217;s the rationale behind checkpoint 10.1 &#8211; providing information for the user in advance of clicking the link. Following on from the discussion above then we need to make sure that this is included when the link is taken out of context by a screen reader.  So you could use the link text itself, an icon in the link (obviously with appropriate alt text) or kept away from the screen design using the title attribute.</p>
<h2>Gotcha</h2>
<p>There&#8217;s a few small things to look out for with links:</p>
<ul>
<li>if you are opening new windows and your site should be producing XHTML, then I&#8217;ve noticed that some text editors include a &#8216;target&#8217; option in their dialog box for adding a link which then produces the equivalent attribute in the A tag. Unfortunately that&#8217;s not allowed in XHTML, and your page must validate to meet Double-A compliance (checkpoint 3.2)</li>
<li>the method for opening a new window if you&#8217;re using XHTML is to use JavaScript, and that means that you have to make sure the link still works for people who aren&#8217;t using it (or have it switched off), so something like: &lt;a target=&#8221;_blank&#8221; href=&#8221;http://news.bbc.co.uk&#8221;             &gt; becomes &lt; a href=&#8221;http://news.bbc.co.uk&#8221;             onclick=&#8221;window.open(&#8216;http://news.bbc.co.uk&#8217;); return false;&#8221;&gt;</li>
<li>if the web address you&#8217;re putting into a link has an &#8216;&amp;&#8217; character in it then you should make sure that in the HTML for the page it&#8217;s shown as &#8216;&amp;&#8217;, it&#8217;ll go back to &#8216;&amp;&#8217; when you click on the link or check it in the status bar of your browser &#8211; you don&#8217;t need to do this every time, just make sure that the system you&#8217;re using is dealing with this situation properly once</li>
</ul>
<h2>Summary</h2>
<ul>
<li>Make sure that the text associate with the link is clear when taken in isolation, e.g. don&#8217;t just use &#8216;Read more&#8217;, either put more information in the text of the link or in the title attribute</li>
<li>Let users know if clicking the link will open up in a new window &#8211; you could use an icon (with appropriate alt text), include it in the text of the link or put it in the title attribute (so that it&#8217;s not part of the screen design)</li>
<li>If you&#8217;re opening new windows then check that your text editor is using the appropriate code for your site &#8211; if you&#8217;re using XHTML then it can&#8217;t use &#8216;target=&#8230;&#8217; in the link but needs to use JavaScript instead, and the link also needs to work without JavaScript as well</li>
<li>The first time that you use a web address with a &#8216;&amp;&#8217; you should check that the HTML for the resulting page converts it into a &#8216;&amp;&#8217;</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.redefine.co.uk/blog/2007/02/27/accessibilty-for-content-providers-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessibilty for content providers &#8211; coding standards</title>
		<link>http://www.redefine.co.uk/blog/2007/02/27/accessibilty-for-content-providers-coding-standards/</link>
		<comments>http://www.redefine.co.uk/blog/2007/02/27/accessibilty-for-content-providers-coding-standards/#comments</comments>
		<pubDate>Tue, 27 Feb 2007 13:20:25 +0000</pubDate>
		<dc:creator>nigel</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[WYSIWYG editors]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[web-accessibility]]></category>

		<guid isPermaLink="false">http://www.redefine.co.uk/blog/2007/02/27/accessibilty-for-content-providers-coding-standards/</guid>
		<description><![CDATA[<p>This section isn&#8217;t going to set many normal pulses racing. Thankfully once you&#8217;re in the swing of things you&#8217;re only going to need to remember to validate your pages occasionally. You just need to be aware of the options in your editor that produce incorrect code and the perils of casually pasting in content from other programs.<br />
The relevant main checkpoints from the <a href="http://www.w3.org/WAI/intro/wcag.php">Web Content Accessibility Guidelines</a> (WCAG) are:</p>
<p>3.2 Create documents that validate to published formal grammars.</p>
<p>11.2 Avoid deprecated features of W3C technologies.</p>
<p>Both of them are Priority 2, so are required to meet the Double-A standard.</p>
<p>You&#8217;ll probably get to hear much more about web standards over the course of your Internet life. The purpose here is to make use of one of the basic tenets of the standards evangelists &#8211;  more people can see and use more websites if we all use common points&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>This section isn&#8217;t going to set many normal pulses racing. Thankfully once you&#8217;re in the swing of things you&#8217;re only going to need to remember to validate your pages occasionally. You just need to be aware of the options in your editor that produce incorrect code and the perils of casually pasting in content from other programs.<br />
The relevant main checkpoints from the <a href="http://www.w3.org/WAI/intro/wcag.php">Web Content Accessibility Guidelines</a> (WCAG) are:</p>
<blockquote><p>3.2 Create documents that validate to published formal grammars.</p>
<p>11.2 Avoid deprecated features of W3C technologies.</p></blockquote>
<p>Both of them are Priority 2, so are required to meet the Double-A standard.</p>
<p>You&#8217;ll probably get to hear much more about web standards over the course of your Internet life. The purpose here is to make use of one of the basic tenets of the standards evangelists &#8211;  more people can see and use more websites if we all use common points of reference. The second checkpoint is making sure that you keep up to date &#8211; usually before an HTML/XHTML element or attribute is removed from the standard it is marked as being deprecated so that everyone has time to make adjustments if they are using it.</p>
<h2>How to validate</h2>
<p>You can check whether your page using the <a href="http://validator.w3.org/">HTML validator</a> provided by the World Wide Web Consortium (W3C). If its content that is publicly available then you can enter the web address, otherwise view the HTML code for your complete page and paste that into the &#8216;Direct Input&#8217; box. You will need to take the latter option if a user has to be logged in before seeing the content &#8211; otherwise the validator will only see the login form and check that.</p>
<p>You will get one of three results &#8211; yes, tentative yes and no. The &#8216;tentative yes&#8217; will only appear if there is some information missing in the template for your page, as the validator needs to have the type of HTML/XHTML specified and also the character set. So if you see that then it&#8217;s an issue for your web team.</p>
<h2>Resolving the problems</h2>
<p>A &#8216;no&#8217; from the validator means that there is something wrong with your page &#8211; that might be the content you&#8217;ve created or the template that its using. The best way to check this is to try to validate a page with as minimal content on it as you can muster. If you still have an invalid page then you will need to get your web team to look at the template. For the interim they might also be able to cook up a very simple web form that can generate a page using the code from the WYSIWYG editor and a minimal template that does validate. At least that will enable you to check if your part of the page has problems or not.</p>
<p>Making sense of the error messages isn&#8217;t easy unless you understand HTML &#8211; and sometimes they take some fathoming out even if you do. There are three possible circumstances that could be causing your problem:</p>
<ul>
<li>you&#8217;re entering the text into the editor and styling it using the options available &#8211; in that case you (or your web team) need to work out which piece of functionality is creating the invalid code, and then avoid using it (or have the web team remove it)</li>
<li>you&#8217;re typing in HTML code in the editor &#8211; this requires some training/support and then you do need to be precise, HTML is a computer language and they can be very unforgiving if you don&#8217;t pay attention to the detail; or you get your web team to extend the functionality of your editor so that you don&#8217;t have to think about these things (after all that&#8217;s why it&#8217;s there in the first place)</li>
<li>you&#8217;re pasting content from other applications such as Word or an email &#8211; what&#8217;s happening here is that the editor is trying to retain the styling and not creating the proper HTML; the ways around this are either to find if your editor has a &#8216;Paste from Word&#8217; or &#8216;Clean Word&#8217; option and use that, or paste the text into a basic editing program which has no styling options (like Notepad) and then copy &amp; paste from there</li>
</ul>
<h2>Specialist markup</h2>
<p>You&#8217;re highly unlikely to need to do anything about the final checkpoint here:</p>
<blockquote><p>3.1 When an appropriate markup language exists, use markup rather than images to convey information.</p></blockquote>
<p>Basically there are some alternative technologies for handling the specialist layout needs of complex scientific and mathematical formulae. If you&#8217;re working within that sector then you must use them rather than resort to using images. Otherwise you can ignore this one.</p>
<h2>Summary</h2>
<ul>
<li>Make sure that your pages validate</li>
<li>Avoid/remove options in the editor that create invalid code</li>
<li>Look for training/support if you are having to enter HTML code yourself, and pay attention to the detail when you are typing it in</li>
<li>Be careful when pasting content from other programs, if there isn&#8217;t an option to paste/clean content from Word in your editor then use a simple text program (like Notepad) as a staging point to remove any text formatting</li>
<li>If you&#8217;re working with complex scientific or mathematical formulae then there are specialist technologies you should use to include them in your web page (e.g. MathML)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.redefine.co.uk/blog/2007/02/27/accessibilty-for-content-providers-coding-standards/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Round-up of accessible content from WYSIWYG editors</title>
		<link>http://www.redefine.co.uk/blog/2007/02/20/round-up-of-accessible-content-from-wysiwyg-editors/</link>
		<comments>http://www.redefine.co.uk/blog/2007/02/20/round-up-of-accessible-content-from-wysiwyg-editors/#comments</comments>
		<pubDate>Tue, 20 Feb 2007 15:15:59 +0000</pubDate>
		<dc:creator>nigel</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[WYSIWYG editors]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[web-accessibility]]></category>

		<guid isPermaLink="false">http://www.redefine.co.uk/blog/2007/02/20/round-up-of-accessible-content-from-wysiwyg-editors/</guid>
		<description><![CDATA[<p>Peter Krantz over at &#8220;Standards Schmandards&#8221; has given a range of WYSIWYG editors an annual work-out and <a title="Evaluation of WYSIWYG editors (2007)" href="http://www.standards-schmandards.com/2007/wysiwyg-editor-test-2/">posted his results</a>.</p>
<p>It&#8217;s nice to see that a couple of the WYSIWYG developer teams (for <a href="http://tinymce.moxiecode.com/">TinyMCE</a> and <a href="http://www.wymeditor.org/en/">WYMeditor</a>) have responded in the comments, and are taking the issues on board. Hopefully pressure can continue to be applied so that in future we don&#8217;t have to battle with the rich text editors to produce accessible content.</p>
<p>Note that he&#8217;s not testing it against the <a href="http://www.w3.org/WAI/intro/wcag.php">Web Content Accessibility Guidelines 1</a> (WCAG 1), nor looking at whether the editor itself is accessible. Essentially he&#8217;s trying the sort of content that we (as web developers) would would want our clients entering into their assorted content systems. So anything that relates to look and feel (colours, text alignment, etc.) would all be provided by the stylesheets rather than&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Peter Krantz over at &#8220;Standards Schmandards&#8221; has given a range of WYSIWYG editors an annual work-out and <a title="Evaluation of WYSIWYG editors (2007)" href="http://www.standards-schmandards.com/2007/wysiwyg-editor-test-2/">posted his results</a>.</p>
<p>It&#8217;s nice to see that a couple of the WYSIWYG developer teams (for <a href="http://tinymce.moxiecode.com/">TinyMCE</a> and <a href="http://www.wymeditor.org/en/">WYMeditor</a>) have responded in the comments, and are taking the issues on board. Hopefully pressure can continue to be applied so that in future we don&#8217;t have to battle with the rich text editors to produce accessible content.</p>
<p>Note that he&#8217;s not testing it against the <a href="http://www.w3.org/WAI/intro/wcag.php">Web Content Accessibility Guidelines 1</a> (WCAG 1), nor looking at whether the editor itself is accessible. Essentially he&#8217;s trying the sort of content that we (as web developers) would would want our clients entering into their assorted content systems. So anything that relates to look and feel (colours, text alignment, etc.) would all be provided by the stylesheets rather than the WYSIWYG editor &#8211; and many gremlins lie down that path.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.redefine.co.uk/blog/2007/02/20/round-up-of-accessible-content-from-wysiwyg-editors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessibility for content providers &#8211; language</title>
		<link>http://www.redefine.co.uk/blog/2006/12/08/accessibility-for-content-providers-language/</link>
		<comments>http://www.redefine.co.uk/blog/2006/12/08/accessibility-for-content-providers-language/#comments</comments>
		<pubDate>Fri, 08 Dec 2006 10:26:57 +0000</pubDate>
		<dc:creator>nigel</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[WYSIWYG editors]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[web-accessibility]]></category>

		<guid isPermaLink="false">http://www.redefine.co.uk/blog/2006/12/08/accessibility-for-content-providers-language/</guid>
		<description><![CDATA[<p>Language has a nasty habit of tripping people up when it comes to accessibility. It&#8217;s not something that happens that frequently on most sites, but it&#8217;s priority level 1 in the World Wide Web Consortium (W3C) guidelines. So if something slips through the net then you won&#8217;t even make A compliance let alone Double-A.</p>
<p>The relevant checkpoint in the <a href="http://www.w3.org/WAI/intro/wcag.php">Web Content Accessibility Guidelines</a> (WCAG) is 4.1:</p>
<p>Clearly identify changes in the natural language of a document&#8217;s text and any  text equivalents (e.g., captions).</p>
The language for the page
<p>So the first thing you might want to make sure is that a language has been specified for the page before thinking about your own content. After all there&#8217;s no real point in highlighting the exceptions if you haven&#8217;t said what is the rule.</p>
<p>When you view the HTML source for one of your content pages you search for &#8216;lang=&#8217; &#8211;&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Language has a nasty habit of tripping people up when it comes to accessibility. It&#8217;s not something that happens that frequently on most sites, but it&#8217;s priority level 1 in the World Wide Web Consortium (W3C) guidelines. So if something slips through the net then you won&#8217;t even make A compliance let alone Double-A.</p>
<p>The relevant checkpoint in the <a href="http://www.w3.org/WAI/intro/wcag.php">Web Content Accessibility Guidelines</a> (WCAG) is 4.1:</p>
<blockquote><p>Clearly identify changes in the natural language of a document&#8217;s text and any  text equivalents (e.g., captions).</p></blockquote>
<h2>The language for the page</h2>
<p>So the first thing you might want to make sure is that a language has been specified for the page before thinking about your own content. After all there&#8217;s no real point in highlighting the exceptions if you haven&#8217;t said what is the rule.</p>
<p>When you view the HTML source for one of your content pages you search for &#8216;lang=&#8217; &#8211; you could find this at the top attached to the &lt;html&gt; tag or it could be something like &lt;meta content=&#8221;xx-XX&#8221; http-equiv=&#8221;content-language&#8221; /&gt;. This shouldn&#8217;t be confused with <a href="http://en.wikipedia.org/wiki/Dublin_core" title="Wikipedia information on Dublin Core metadata">Dublin Core metadata</a> &#8211; if you&#8217;ve got something with &#8220;DC.language&#8221; then that&#8217;s what you&#8217;re looking at. If you can&#8217;t see a language definition page then check with your techies &amp; get them to add it if it&#8217;s missing.</p>
<p>If you view the source code for this page then you&#8217;ll see that I&#8217;ve marked it up as &#8220;en-GB&#8221; right at the top. That&#8217;s the sort of thing you&#8217;re looking for.</p>
<h2>Marking up changes</h2>
<p>Unfortunately the standard settings for most rich text editors won&#8217;t be of much help in identifying language, to do this you will need to get into the HTML source for the content or convince your developers to add an option into the menu for you.</p>
<p>If you&#8217;re dealing with a few words within a sentence then you need to add a new tag around the appropriate text. So change your editor so that you&#8217;re looking at the HTML source. Track down the content that you need to mark as a different language and put in front of it &lt;span lang=&#8221;xx&#8221;&gt; and then after it &lt;/span&gt; (the xx needs to be replaced with the appropriate language code that you can find about next). These tags should be placed <strong>immediately</strong> in front and after the text &#8211; there&#8217;s a thing in HTML about not having tags overlapping, so if you do this you don&#8217;t need to know anything more about it.</p>
<p>Remember that the guideline mentions &#8220;text equivalents&#8221; so if you&#8217;ve added an alt attribute for an image in another language then you need to put a &lt;span&gt; around the &lt;img&gt; tag.</p>
<p>If there&#8217;s a bigger chunk of text, such as a paragraph, then you can add the attribute &#8216;lang=&#8221;xx&#8221;&#8216; to the existing tag (again the xx needs to be replaced with the appropriate language code that you can find about next). So typically you might see the &lt;p&gt; tag and you&#8217;ll need to make it &lt;p lang=&#8221;fr&#8221;&gt; for a paragraph of French. If there&#8217;s more than one paragraph then you do this on each &lt;p&gt; tag.</p>
<p>You can&#8217;t put a &lt;span&gt; around a &lt;p&gt; tag (so not &lt;span lang=&#8221;fr&#8221;&gt;&lt;p&gt; &#8230; &lt;/p&gt;&lt;/span&gt;, but only the HTML pedants would be upset if you did something like &lt;p&gt; &lt;span lang=&#8221;fr&#8221;&gt; &#8230; &lt;/span&gt; &lt;/p&gt;. That will be OK &amp; would mean that you need only remember one solution.</p>
<p>Now you can see why I&#8217;d suggest that if you&#8217;re doing this often you should get something added to the toolbar to make it easy for you.</p>
<h2>What language code should you be using?</h2>
<p>The W3C have provided some <a href="http://www.w3.org/International/articles/language-tags/Overview.en.php" title="W3C language advice">advice for selecting a language code</a>, which basically in this context boils down to:</p>
<ul>
<li>use the shortest language code that is appropriate (i.e. you don&#8217;t need to specify UK English unless there&#8217;s something that is specific to the region, just saying English will be fine)</li>
<li>you can find the appropriate sections of code in the <a href="http://www.iana.org/assignments/language-subtag-registry" title="IANA language tag registry">official language registry</a></li>
<li>you&#8217;re most likely to either use the single language code (e.g. &#8216;es&#8217; for Spanish, &#8216;fr&#8217; for French) or the language code with region (e.g. &#8216;es-MX&#8217; for Mexican Spanish, &#8216;es-ES&#8217; for Spanish from Spain)</li>
</ul>
<h2>What should be marked up?</h2>
<p>The answer to this sounds obvious &#8211; anything in a different language &#8211; but when it comes to the fine detail it can be a grey area. Should you mark up the names of people and places? I&#8217;d be intrigued to know what language code you&#8217;d use to get a screenreader  to pronounce &#8216;Belvoir&#8217; as &#8216;beaver&#8217; (as in Belvoir Castle).</p>
<p>Bear in mind that it&#8217;s not an issue of pedantry (&#8220;Is &#8216;vice versa&#8217; accepted as English or should it still be treated as Latin? Discuss.&#8221;) or cultural battles (although I could imagine the <span lang="fr">Academie Française</span> insisting that Paris should not only be marked up as French, but French as spoken in France at that). The aim is to help screenreaders by giving them sufficient information to be able to pronounce the word correctly.</p>
<p>So try to be consistent if nothing else &#8211; make sure that other content providers for your site understand whatever rule that you come up with.</p>
<h2>Summary</h2>
<ul>
<li>Check that your page specifies the main language used in the content &#8211; this is different to specifying the language in Dublin Core metadata</li>
<li>Mark up any changes in the language of your content</li>
<li>Remember to think about the alt text for images as well</li>
<li>The implementation of this guideline is pretty subjective &#8211; the main thing we&#8217;d recommend is being consistent &amp; think what will be helpful for the user</li>
<li>If you&#8217;re using other languages in the titles for your content then you should alert your developers &#8211; those pieces of text will be automatically dropped into menus or headings and they need to indicate the change of language</li>
<li>Not an accessibility issue, but while we&#8217;re here &#8211; if you&#8217;re going to be using characters that aren&#8217;t in Western European languages then you probably also need to check with your developers as they might need to make some adjustments</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.redefine.co.uk/blog/2006/12/08/accessibility-for-content-providers-language/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessibility for content providers &#8211; images</title>
		<link>http://www.redefine.co.uk/blog/2006/11/16/accessibility-for-content-providers-images/</link>
		<comments>http://www.redefine.co.uk/blog/2006/11/16/accessibility-for-content-providers-images/#comments</comments>
		<pubDate>Thu, 16 Nov 2006 21:51:52 +0000</pubDate>
		<dc:creator>nigel</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[WYSIWYG editors]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[web-accessibility]]></category>

		<guid isPermaLink="false">http://www.redefine.co.uk/blog/2006/11/16/accessibility-for-content-providers-images/</guid>
		<description><![CDATA[<p>This is probably the one area that most people involved in websites know about. You have to have an alt tag on an image (actually if you&#8217;re in point-scoring mode then it&#8217;s an alt attribute in an image tag).</p>
<p>In the <a href="http://www.w3.org/WAI/intro/wcag.php">Web Content Accessibility Guidelines</a> (WCAG) this is covered under checkpoint 1.1:</p>
<p>Provide a text equivalent for every non-text element (e.g., via &#8220;alt&#8221;, &#8220;longdesc&#8221;, or in element content). This includes: images, graphical representations of text (including symbols), image map regions, animations (e.g., animated GIFs), applets and programmatic objects, ascii art, frames, scripts, images used as list bullets, spacers, graphical buttons, sounds (played with or without user interaction), stand-alone audio files, audio tracks of video, and video.</p>
<p>As you can see this is not just about images but other multimedia content that you might include on the website. It&#8217;s a priority level 1 requirement, so you need to do this&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>This is probably the one area that most people involved in websites know about. You have to have an alt tag on an image (actually if you&#8217;re in point-scoring mode then it&#8217;s an alt attribute in an image tag).</p>
<p>In the <a href="http://www.w3.org/WAI/intro/wcag.php">Web Content Accessibility Guidelines</a> (WCAG) this is covered under checkpoint 1.1:</p>
<blockquote><p>Provide a text equivalent for every non-text element (e.g., via &#8220;alt&#8221;, &#8220;longdesc&#8221;, or in element content). <em>This includes</em>: images, graphical representations of text (including symbols), image map regions, animations (e.g., animated GIFs), applets and programmatic objects, <abbr title="American Standard Code for Information Interchange">ascii</abbr> art, frames, scripts, images used as list bullets, spacers, graphical buttons, sounds (played with or without user interaction), stand-alone audio files, audio tracks of video, and video.</p></blockquote>
<p>As you can see this is not just about images but other multimedia content that you might include on the website. It&#8217;s a priority level 1 requirement, so you need to do this to get any level of accessibility compliance.</p>
<p>The considered view of the accessibility gurus on alt text is:</p>
<ul>
<li>it should convey the meaning of the image and be relevant to the content, so &#8220;Photo&#8221; isn&#8217;t going to be of help to anyone and neither is something like &#8220;Couple staring&#8221; when a stock photo is just being used to set the mood for the content (this is a real example and you couldn&#8217;t even see what the couple were staring at!), &#8220;Photo of the Houses of Parliament&#8221; would be OK</li>
<li>if the image conveys no content then the alt text should be blank (i.e. when you view the source for the page, in the image tag you should see alt=&#8221;")</li>
<li>if you&#8217;ve got an image and text all wrapped up as the same link then the alt text should be blank (otherwise the text is repeated and would sound odd)</li>
</ul>
<p>Just about every rich text editor will allow you the opportunity to enter the alt text when you add an image to your content, although they might use varying descriptions as to what it is (with this blogging application it&#8217;s the &#8216;Image description&#8217;). Since it should be blank in certain cases then it&#8217;s not possible to make it required. You should check though what happens if that field is left empty &#8211; it should still produce an empty alt attribute (i.e. alt=&#8221;") rather than miss it out.</p>
<p>There&#8217;s also an extra part to the requirement that most people don&#8217;t realise &#8211; the longdesc &#8211; and that&#8217;s usually because the need for it is less common as it relates to complex content (e.g. a chart). So the idea is that you may have a graph &#8211; maybe the results of a survey that you undertook &#8211; and you need to explain to someone who can&#8217;t see it what information you&#8217;re trying to convey.</p>
<p>The longdesc attribute itself is a web address where you have (not surprisingly) the long description for the image &#8211; this can be on another page or a section of the current page. Not many text editors will have this option by default, so I&#8217;m afraid it&#8217;s back to editing the HTML source to add the attribute to the image.</p>
<p>Another requirement to consider with images is 2.2:</p>
<blockquote><p>Ensure that foreground and background colour combinations provide sufficient contrast when viewed by someone having colour deficits or when viewed on a black and white screen. [Priority 2 for images, Priority 3 for text].</p></blockquote>
<p>So as a priority 2 checkpoint it&#8217;s part of the Double-A compliance.</p>
<p>One quick way to check colour combinations is to convert the image into black and white (greyscale is probably the better term). That will give you a good idea as to whether the colour contrast is sufficient. For information about colour-blindness I&#8217;d suggest that you look at <a href="http://www.vischeck.com/">Vischeck</a>.</p>
<h2>Summary</h2>
<ul>
<li>Always include an alt attribute for an image</li>
<li>The alt text should convey the meaning of the image</li>
<li>It is appropriate to leave the alt text empty (i.e. have alt=&#8221;") if the image has no real meaning</li>
<li>For a complex image (such as a graph) you will also need to create a separate page (or section of a page) that explains the information in the image more fully</li>
<li>Check the contrast and colour combinations of images &#8211; or if someone else is providing the images make sure that they are aware of the accessibility requirements</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.redefine.co.uk/blog/2006/11/16/accessibility-for-content-providers-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accessibility for content providers &#8211; headings</title>
		<link>http://www.redefine.co.uk/blog/2006/11/16/accessibility-for-content-providers-headings/</link>
		<comments>http://www.redefine.co.uk/blog/2006/11/16/accessibility-for-content-providers-headings/#comments</comments>
		<pubDate>Thu, 16 Nov 2006 12:14:55 +0000</pubDate>
		<dc:creator>nigel</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[WYSIWYG editors]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[web-accessibility]]></category>

		<guid isPermaLink="false">http://www.redefine.co.uk/blog/2006/11/16/accessibility-for-content-providers-headings/</guid>
		<description><![CDATA[<p>Let&#8217;s start with a spot the difference competition. Here are two web pages &#8211; <a title="Heading example version 1" href="/blog/examples/200611accessibility/heading1.html">version 1</a> and <a title="Heading example version 2" href="/blog/examples/200611accessibility/heading2.html">version 2</a> &#8211; that display the same content with the same look &#038; feel. There isn&#8217;t an awful lot on the page to go wrong, but one would fail the Double-A accessbility criteria.</p>
<p>It&#8217;s that easy to create content that would fail the accessibility requirements!</p>
<p>What&#8217;s the problem? Well, even though the pages look the same the heading at the top is marked up in the underlying code in different ways. In the first (correct) version there is a heading level 1 tag (with an h1 tag) whilst in the second (incorrect) version the same text is just marked up as a paragraph (with a p tag).</p>
<p>They might look the same in your browser but if you were presented only with the&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s start with a spot the difference competition. Here are two web pages &#8211; <a title="Heading example version 1" href="/blog/examples/200611accessibility/heading1.html">version 1</a> and <a title="Heading example version 2" href="/blog/examples/200611accessibility/heading2.html">version 2</a> &#8211; that display the same content with the same look &#038; feel. There isn&#8217;t an awful lot on the page to go wrong, but one would fail the Double-A accessbility criteria.</p>
<p>It&#8217;s that easy to create content that would fail the accessibility requirements!</p>
<p>What&#8217;s the problem? Well, even though the pages look the same the heading at the top is marked up in the underlying code in different ways. In the first (correct) version there is a heading level 1 tag (with an h1 tag) whilst in the second (incorrect) version the same text is just marked up as a paragraph (with a p tag).</p>
<p>They might look the same in your browser but if you were presented only with the HTML code then it&#8217;s a lot harder to work out where the headings and subheadings might be on a page. That can be important for someone using a screenreader where it will take much longer to take them through the content on a page &#8211; sighted readers can scan the screen to look for visual styles that imply something is a heading. (Although as well as helping with accessibility this can also be used by a search engine to work out what are the important bits of content on your page and help in its mysterious assessment of what results are most relevant.)</p>
<p>In the <a href="http://www.w3.org/WAI/intro/wcag.php">Web Content Accessibility Guidelines</a> (WCAG) this is covered under checkpoint 3.5:</p>
<blockquote><p>Use header elements to convey document structure  and use them according to specification.</p></blockquote>
<p>It&#8217;s a priority 2 checkpoint, so if you&#8217;re just having to conform to A rather than Double-A accessibility you don&#8217;t necessarily need to worry about it.</p>
<p>There are two main parts to satisfying the criteria.</p>
<p>The first part is to make sure that you mark-up headings properly (rather than styling them to look the same) and not to mark-up something as a heading that only requires that styling.</p>
<p>Quite often we&#8217;ve found when asking clients why they didn&#8217;t use the heading mark-up we&#8217;ve found that it&#8217;s because they don&#8217;t like the styling that it uses. If this is the situation that you find yourself in then the first thing to do is to decide what heading styles you require. You can then work through them with your web developers to see how they can be added to your site. There are a number of options open &#8211; the styling could be changed automatically for you depending on which section of the site the content will appear in or where on the page; the styling options might be added in a drop down menu in the editor; you might need to go into the HTML source for the content and make the change that way; or you can&#8217;t justify the cost/time involved so the styling is dropped.</p>
<p>The second part is that there are 6 levels of heading available on a web page (H1 &#8211; H6) and these should be used in the right way. The main heading for the page should use H1. Now there&#8217;s a whole debate about what is or isn&#8217;t a main heading, should headings in a sidebar be H2 or lower, etc. This won&#8217;t be an issue for you as someone else will have already made this decision and you just need to follow through accordingly.</p>
<p>The starting point is the heading level that has been designated for the title of your content &#8211; your web developers will be able to tell you what that is. Failing that you should look at the source code for a similar page in your web browser (usually by going to the View menu &#038; selecting Source) and searching for the content title. The title might appear a number of times in the source so you&#8217;re looking for the one immediately above the content.</p>
<p>Once you have found out what level is being used for the title of your content you then know that any subheading below that that you create will be the next level down. So in this blog we&#8217;ve used H1 as the title for the content, so any subheading will be H2 (&#038; a sub-subheading will be H3, etc.).</p>
<p>Intriguingly as I&#8217;m writing this in WordPress there&#8217;s no option to create headings from within the rich text editor toolbar by default. However I know that they&#8217;re using <a title="TinyMCE, a rich text editor" href="http://tinymce.moxiecode.com">TinyMCE</a> to provide this functionality and it&#8217;s available there, so unfortunately someone at WordPress has decided to take it out.</p>
<p>So what should you do if you find yourself in the same circumstance? Firstly you should make loud noises to your developers (hmm yes, it is on my list of things to do with this blog) as it&#8217;s highly likely that the option has been hidden. You and other content providers need to have the tools available to maintain the accessibility of your site. Secondly, in the interim period, I&#8217;m afraid you&#8217;ve got to get your hands dirty and change the underlying code yourself. It&#8217;s probably best to get your IT support to help you with that, as the exact sequence will vary from editor to editor. It&#8217;s not difficult though, it just takes you into areas that you probably don&#8217;t want to go regularly.</p>
<h2>Summary</h2>
<ul>
<li>Think about the structure of the content that you&#8217;re creating rather than the text style that you want to achieve</li>
<li>Use the heading mark-up on heading text &#8211; don&#8217;t just make it bold and a bigger size</li>
<li>Don&#8217;t use headings to implement a style for the sake of it &#8211; if it&#8217;s text that you want to emphasise then this is the time to hit the bold (&#038; any other) button</li>
<li>The heading levels should go in order, so the next level of headings after H2 should always be H3, etc.</li>
<li>You may need to go to your web developers to make sure that you have the visual styles for headings</li>
<li>If headings (or the right styles) aren&#8217;t available in your editor then you might need to get into the HTML source to mark them up appropriately &#8211; not a long term solution</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.redefine.co.uk/blog/2006/11/16/accessibility-for-content-providers-headings/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Accessibility for content providers</title>
		<link>http://www.redefine.co.uk/blog/2006/11/14/accessibility-for-content-providers/</link>
		<comments>http://www.redefine.co.uk/blog/2006/11/14/accessibility-for-content-providers/#comments</comments>
		<pubDate>Tue, 14 Nov 2006 12:57:34 +0000</pubDate>
		<dc:creator>nigel</dc:creator>
				<category><![CDATA[Accessibility]]></category>
		<category><![CDATA[WYSIWYG editors]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[web-accessibility]]></category>

		<guid isPermaLink="false">http://www.redefine.co.uk/blog/2006/11/14/accessibility-for-content-providers/</guid>
		<description><![CDATA[<p>Database-driven websites are commonplace for many organisations. Content management systems (CMS), blogging tools, etc. are no longer the preserve of large enterprises, and with them the days of requiring a web expert or design agency to put up the latest press release have gone. The balance of control has shifted and now it is the people who create the content in the first place who are able to write their own text.</p>
<p>However with that power comes responsibilities and one of those is to ensure that the website is accessible. For most public sector organisations in the UK this means that they must comply with the double-A (or AA) guidelines of the Web Content Accessibility Guide (WCAG) from the Worldwide Web Consortium (W3C).</p>
<p>Most content providers are focussed on the text that they are creating and how it is to be styled. However at the same time they are involved&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Database-driven websites are commonplace for many organisations. Content management systems (CMS), blogging tools, etc. are no longer the preserve of large enterprises, and with them the days of requiring a web expert or design agency to put up the latest press release have gone. The balance of control has shifted and now it is the people who create the content in the first place who are able to write their own text.</p>
<p>However with that power comes responsibilities and one of those is to ensure that the website is accessible. For most public sector organisations in the UK this means that they must comply with the double-A (or AA) guidelines of the Web Content Accessibility Guide (WCAG) from the Worldwide Web Consortium (W3C).</p>
<p>Most content providers are focussed on the text that they are creating and how it is to be styled. However at the same time they are involved in generating computer code. That code not only dictates how the text might be displayed visually in your browser but also how it is assessed solely as structured content (e.g. a hierarchy of headings) and delivered to someone (or even to another system such as a search engine) in a different format.</p>
<p>For instance someone with a screenreader can ask that program to give them a list of all the links on a page, because they are not in a position to scan through the text looking for the styling that you&#8217;ve decided to use and reading text takes a longer time. However on many sites they might be hearing a whole list of links that say &#8216;read more&#8217;. But read more what?  Which one is the link that&#8217;s of interest to them? For sighted people it&#8217;s quite easy because they  can see that there is a list of news items, and for each one there is a title, summary and link that invites them to &#8216;read more&#8217;.</p>
<p>If you start looking around for resources on website accessibility then you&#8217;ll find yourself either at the abstract end of the spectrum (I&#8217;ve included the links to the WCAG below, but be warned) or deep in geek country. They&#8217;re not for the faint of heart. So we&#8217;re putting together a series of posts on this blog looking at what issues are relevant when you, as a content provider, are sitting in front of your rich text editor.</p>
<h2>What are the issues?</h2>
<p>A good place to start, to get an understanding of who we&#8217;re doing this for &#038; what issues they face then I would recommend <a href="http://www.diveintoaccessibility.org/">Dive Into Accessibility</a>. The document is aimed at technical bloggers so you can stop reading after Day 5 when he starts to look at how to change the code produced by the blog. This will be the sort of thing that your developers should be concerned about on your website &#8211; that is unless you&#8217;re running your own blog, in which case you should read the rest of the document.</p>
<p>If you&#8217;re feeling brave then you might want to tackle the <a href="http://www.w3.org/WAI/intro/wcag.php">Web Content Accessibility Guidelines</a> (WCAG). The standard that is in use currently is WCAG 1.0 and you can refer to the <a href="http://www.w3.org/TR/WCAG10/full-checklist.html">Checklist of Checkpoints</a> to see what is required for double-A compliance, for which you&#8217;ll need to pass all Priority 1 &#038; 2 checkpoints.</p>
<h2>Don&#8217;t believe your eyes</h2>
<p>One of the most common accessibility problems is caused by users selecting styling on the basis of how the content will appear on the page. The main bugbears seem to be headings and lists, but sometimes the rich text editors throw a spanner in the works with how they implement indented text.</p>
<p>So a short answer is that headings should be marked up as headings rather than making the text bold and the right size; similarly headings shouldn&#8217;t be used just to make text bold; lists of items should be marked up as lists even if they don&#8217;t have bullet points; and text that you want to emphasise with bullet points shouldn&#8217;t be marked up as lists.</p>
<p>Over the course of this series we&#8217;ll cover these issues in more depth, but at the moment it&#8217;s a question of shifting how you look at your content and how you use the formatting options available. In a number of cases we&#8217;ll be suggesting that you go back to your developers &#038; designers and make requests for extra styling options. That will reduce the temptations to stray off the straight and narrow, as for instance you&#8217;ll have an option to indicate that a paragraph needs to be highlighted with a bullet point without using styling it as a list.</p>
<h2>Beware the copy &#038; paste</h2>
<p>Currently the bane of my life.</p>
<p>A client has either received content by email or they&#8217;re taking an existing document in say Word and putting it onto the web. So they cut and paste the text, and unfortunately along with it comes a mass of formatting. And then we get the email or phone call asking why the text on a particular page is all different sizes or fonts, what&#8217;s happened to their wonderful look &#038; feel that we unveiled for them recently.</p>
<p>Accessibility issues also come into the frame as well.  If the content is coming from a format that is used for printing then issues about document structure will have gone by the board. For example it make absolutely no difference on paper if the word-processed document used heading styles or just had the text made bold, increased in size and maybe some extra spacing around it. It still looks the same in print &#8211; but it won&#8217;t be the same when it is added to a web page.</p>
<p>The easiest way to get yourself out of the mess created by copy and pasting from a program that understands formatting is to put it first into something that has no concept of text styling like Notepad. Copy the text from its source and paste it into Notepad, then copy it again from Notepad and paste it into your rich text editor. That will give you unformatted text that you can then style up.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.redefine.co.uk/blog/2006/11/14/accessibility-for-content-providers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
