Dispatches From The Internets



On Use of the lang Attribute

Adrian has put together a great overview of why lang is important and how many sites are using it. Here are a few takeaways:

  1. VoiceOver on iOS uses the attribute to auto-switch voices.
  2. VoiceOver can speak a particular language using a different accent when specified.
  3. Leaving out the `lang` attribute may require the user to manually switch to the correct language for proper pronunciation.
  4. JAWS uses it to load the correct phonetic engine/phonologic dictionary — Handy for sites with multiple languages.
  5. NVDA (Windows) uses it in the same way as VoiceOver and JAWS.
  6. When used in HTML that is used to form an ePub or Apple iBooks document, it affects how VoiceOver will read the book.
  7. Firefox, IE10, and Safari (as of a year ago) only support CSS `hyphens: auto` when the `lang` attribute is set.

Thanks for putting this together Adrian!



How We Use Progressive Enhancement to Improve our Email Templates

Great stuff from some folks who know an awful lot about email:

If there’s a medium that lends itself to progressive enhancement, it’s email. Given the contexts in which email content is parsed and displayed (and will be in the future), it pays to consider content first and independently from the presentation.

Traditionally, email designers have taken all sorts of scrappy approaches to ensuring that text in email “looks the same across all clients”. Your Gmail experience should be the same as your Outlook experience and so-forth. I’d argue that “reading the same across all clients” is vastly more important and that when possible, visually lovely flourishes should be added, for the environments that support them.


Angular momentum

Jeremy perfectly captures my feelings on most client-side MVC frameworks:

Angular is for making (possibly enterprise) applications that happen to be on the web, but are not of the web.

It is possible to have your cake and eat it too if you go the isomorphic JavaScript route though.




Creepy Namefellow

So yeah, this happened:

The @GustafsonAaron Twitter account only follows 5 people, and they are all named “Aaron Gustafson”.

It’s a little creepy, I won’t lie.