All posts in DGM2740

CSS-Tricks: Semantic Animation

CSS

CSS-Tricks.com, a blog by web designer / developer Chris Coyier is one I frequent on a regular basis.  Chris is a pro when it comes to everything CSS, and is solid when it comes to just about anything else web design related.  He recently wrote a blog post concerning the growing use of CSS animations.

The main point of the article is that empty divs when used for nothing but styling are and always have been a bad idea for CSS animations.  He reminds us that the purpose of animations are to give mood, attitude, and affect how the user feels about the page, but that they only do that for sighted users.  For non-sighted users these empty divs are completely useless.  To clarify, non-sighted users refer to those using screen readers.  In order to fix this issue it’s becomes as simple as placing descriptive text of the animation within the formerly empty div element and placing it off screen with a negative text-indent.   Chris gives the example of a CSS animation of a moon rising and fading the background to black as it moves up from the ground.  He places text into those div elements (see example).

<div class="moon">     
    I see a bad moon rising     
    I see trouble on the way
</div> <div class="ground">     
    I see earthquakes and lightnin’     
    I see bad times today
</div>

I think Chris makes a point that is probably very often overlooked. The main part being that empty divs do not equate to nice, semantic code, but secondly that they also provide nothing for non-sighted users. I think that CSS animation is definitely here for good and so it would be a good idea for web designers to get into the habit of adding this description, alt-like text into animation elements that would otherwise be empty. What’s nice is that it’s such an easy thing to implement.

At the end of the blog entry Chris makes a good side point, which is that he doesn’t use screen readers, and so for that aspect he doesn’t know for sure if the text would in fact be a hindrance or a boon. It’s my opinion that Chris’s initial though bears food for though. Since we are trying to create an experience for people, adding this descriptive text adds an element of experience that isn’t generally used by most sites. But I do agree with his very last point, which is, “Like everything else in this world: it depends.”

Original Article

Thoughts on ‘The Expert Mind’

Chess

I read an article today called “The Expert Mind,” written by Philip E. Ross for the Scientific American magazine.  I want to share my thoughts about it as it was a very well written, well thought out, intriguing look into the cognitive science behind the supposed supreme mental abilities of chess grandmasters.

The main gist of the article is that chess grandmasters provide an excellent source for providing quantifiable data on memory.  According to the author an average chess grandmaster has access to somewhere between 50,000 and 100,000 different chunks of chess information which they have memorized.  Stored in “chunks” of long term memory the chess player can rapidly access this information and make use of it.  The most interesting conclusion the article draws is that essentially anyone can achieve this same level of expertise in any field provided a high level of dedication. Here are what I felt were the most important points in the article:

  •  The 10-year rule, which states that it takes approximately a decade of heavy labor to master any field.
  • Experts are MADE not BORN.  This conclusion comes from the preponderance of psychological evidence accumulated from decades of research.
  • “Chunking” memories allows us to rapidly process huge volumes of information.
  • One cannot become an expert without constantly challenging and stretching what is already known.

This article provides some food for thought when applied to the context of  web design and development.  I can see how with a lot of practice and experience a seasoned web designer/developer would be able to look at a challenging set of design requirements and know just how to create a user experience to handle them.  I can see how tackling programming challenges that once seemed abstract and difficult would become concrete and manageable.

They key is to continue to expand ones knowledge and always venture into the dim unknown edges of what we know and think can be accomplished.

There is another fantastic article on the subject of Long-Term Working Memory (LTWM) as the “Memory of Experts” which can be found here:

Superior Memory of Experts »

You can find the original article from the Scientific American, “The Expert Mind”, here:

Original Article, “The Expert Mind” (PDF) »