<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://www.softec.org/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>It's Design Time</title><link>http://www.softec.org/blogs/its_design_time/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>XHTML &amp; CSS - Creating Accessible Image Buttons</title><link>http://www.softec.org/blogs/its_design_time/archive/2010/01/18/xhtml-amp-css-creating-accessible-image-buttons.aspx</link><pubDate>Tue, 19 Jan 2010 06:55:00 GMT</pubDate><guid isPermaLink="false">237d73a1-6c37-4813-9188-cf6639c9be28:173</guid><dc:creator>Brian Treese</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.softec.org/blogs/its_design_time/rsscomments.aspx?PostID=173</wfw:commentRss><comments>http://www.softec.org/blogs/its_design_time/archive/2010/01/18/xhtml-amp-css-creating-accessible-image-buttons.aspx#comments</comments><description>&lt;p&gt;Like most web developers/designers you have probably encountered a
situation in which you have needed to style a link to appear as a
button with a font not included in the list of common system fonts. And
as you already know, it would be against current Web best practices to
simply create the image for this button with the text as an image and
then omit the text in the HTML of the button itself. For example: if
your were developing a &amp;quot;login&amp;quot; button and adding the text to the actual
image, then it would be proper practice to include the text &amp;quot;login&amp;quot;
inside the &amp;lt;a&amp;gt; HTML tags &lt;i&gt;(&amp;lt;a href=&amp;quot;login.aspx&amp;quot;&amp;gt;login&amp;lt;/a&amp;gt;) &lt;/i&gt;as the text of the &lt;b&gt;image &lt;/b&gt;is
not accessible to screen readers. The problem that you are likely to
run into during this process is that you then have the HTML text
&amp;quot;login&amp;quot; appearing on a layer on top of your button.&lt;/p&gt;
&lt;p&gt;I have attempted to fix this problem in the past by setting the font
size and line-height of the link to 0px with CSS. This worked in a
couple of Web browsers but not all. So, I was forced to develop a
method to add this text so that it will be accessible for screen
readers but not visible to the rest of its visitors. I developed a
system in which I apply my image as a background to the &amp;lt;a&amp;gt; tag
itself and then I include the text inside of a span tag &lt;i&gt;(&amp;lt;a href=&amp;quot;login.aspx&amp;quot;&amp;gt;&amp;lt;span&amp;gt;login&amp;lt;/span&amp;gt;&amp;lt;/a&amp;gt;)&lt;/i&gt;.
This allows me to simply use CSS absolute positioning to position the
span so far off of the page that you will never see it while keeping
the text in the structure of the HTML. &lt;/p&gt;
&lt;p&gt;&lt;b&gt;The CSS would look some thing like:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;i&gt;a span {position: absolute; left: -999999px;}&lt;/i&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt; This takes the span inside of the link and places it to the left of its location -999999px.&lt;/p&gt;
&lt;p&gt;The reason that I set my image button as a background as opposed to
an inline image is so that I can also easily give the link a hover
style. I normally save my image buttons with the normal, non-hover
state and its altered hover-state as one image with the non-hover state
on top. I will then style the &amp;lt;a&amp;gt; tag to be displayed as a block
type with the a width equal to that of the image and a height equal to
half of that of the image. I then style the link to have background
positioning of top and then upon hover the background positioning will
simply change to bottom. &lt;/p&gt;
&lt;p&gt;&lt;b&gt;The CSS generally looks similar to:&amp;nbsp;&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;i&gt;a {display: block; height: 25px; width: 100px; background-image: url(image.gif); background-position: top;}&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;&lt;i&gt;a:hover {background-position: bottom;}&lt;/i&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;There you have it, a simple method for creating accessible image buttons with hover styles, good luck!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.softec.org/aggbug.aspx?PostID=173" width="1" height="1"&gt;</description><category domain="http://www.softec.org/blogs/its_design_time/archive/tags/It_2700_s+Design+Time/default.aspx">It's Design Time</category><category domain="http://www.softec.org/blogs/its_design_time/archive/tags/XHTML/default.aspx">XHTML</category><category domain="http://www.softec.org/blogs/its_design_time/archive/tags/CSS/default.aspx">CSS</category><category domain="http://www.softec.org/blogs/its_design_time/archive/tags/HTML/default.aspx">HTML</category></item><item><title>A Limited Twitter Stream can be a Great Resource for Graphic, Web &amp; UX Designers</title><link>http://www.softec.org/blogs/its_design_time/archive/2010/01/13/a-limited-twitter-steam-can-be-a-great-resource-for-graphic-web-amp-ux-designers.aspx</link><pubDate>Thu, 14 Jan 2010 03:30:00 GMT</pubDate><guid isPermaLink="false">237d73a1-6c37-4813-9188-cf6639c9be28:127</guid><dc:creator>Brian Treese</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.softec.org/blogs/its_design_time/rsscomments.aspx?PostID=127</wfw:commentRss><comments>http://www.softec.org/blogs/its_design_time/archive/2010/01/13/a-limited-twitter-steam-can-be-a-great-resource-for-graphic-web-amp-ux-designers.aspx#comments</comments><description>&lt;p&gt;&lt;img src="http://www.softec.org/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/its_5F00_design_5F00_time/4745.TwitterBird.gif" border="0" style="float:right;margin-left:8px;" alt="" /&gt;As a designer on the Central Coast you&amp;rsquo;ve probably found it to be somewhat difficult accessing the kinds of resources available in more urban areas. Well, I&amp;rsquo;ve found that Twitter can be a phenomenal outlet for inspiration, tips, techniques, free resources and it is available virtually anywhere. Twitter has become an exceptional platform for both giving and receiving the most innovative information surrounding modern design trends and secrets. It&amp;rsquo;s not really Twitter itself that has become the resource but more the links to external information being shared via Twitter as a communication device.&lt;/p&gt;
&lt;p&gt;The key is to find people that are the most influential in whichever field it is that you may be interested in and following only them. By limiting your Twitter stream following to those who surface only the most useful of information, in essence filtering out &amp;ldquo;clutter,&amp;rdquo; you make for a more powerful experience. &lt;/p&gt;
&lt;blockquote&gt;&amp;quot;The qualities that make Twitter seem insane and half-baked are what make it so powerful&amp;quot; &lt;i&gt;- Jonathan Zittrain, Harvard law professor and Internet expert&lt;/i&gt; &lt;/blockquote&gt;
&lt;p&gt;It is not always obvious who will be an influential person to follow and who won&amp;rsquo;t. Sometimes this can be accomplished only through trial and error. One of the greatest things about Twitter is if a person proves to be of limited or no use you may simply opt to un-follow them and look to follow others. Personally, as I come across Websites and design blogs that contain the types of information I&amp;rsquo;m interested in, I will look for a link to follow them on Twitter. Then I will try following them for a week or two and if I don&amp;rsquo;t find them to be very useful I will simply stop following them. I tend to keep the number of people I follow minimal, thus keeping myself connected to only the most pertinent of information available.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;I&amp;rsquo;ve included a list of people/organizations below that consistently produce useful content for me:&lt;/b&gt; &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a target="_blank" href="http://twitter.com/abdznews"&gt;abdznews&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a target="_blank" href="http://twitter.com/line25blog"&gt;line25blog&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a target="_blank" href="http://twitter.com/prlamnguyen"&gt;prlamnguyen&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a target="_blank" href="http://twitter.com/ImpressiveWebs"&gt;ImpressiveWebs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a target="_blank" href="http://twitter.com/chrisspooner"&gt;chrisspooner&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;As designers we have become more empowered than ever before with the addition of this most unique tool to our arsenal, so, happy Tweeting!&lt;/p&gt;
&lt;p&gt;Oh, and feel free to follow me if you&amp;rsquo;d like at &lt;a target="_blank" href="http://twitter.com/brianmtreese"&gt;twitter.com/brianmtreese&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.softec.org/aggbug.aspx?PostID=127" width="1" height="1"&gt;</description><category domain="http://www.softec.org/blogs/its_design_time/archive/tags/Designer+Resources/default.aspx">Designer Resources</category><category domain="http://www.softec.org/blogs/its_design_time/archive/tags/Twitter/default.aspx">Twitter</category><category domain="http://www.softec.org/blogs/its_design_time/archive/tags/It_2700_s+Design+Time/default.aspx">It's Design Time</category></item></channel></rss>
