An amazing piece of work combining the track Heaven by UNKLE to some fantastic skate footage by Spike Jonze (who’s working on the Where The Wild Things Are film). Beautifully shot with slow motion pieces followed by something completely unexpected at the end. A real treat to watch especially in full screen and thanks to Ricky T for putting me onto it!
Have you considered people using magnification programs when building your hover images or navigation? Here’s a quick look into a common problem with magnifiers and a simple fix to keep your users smiling.
This post came about after a dilemma involving my site design. I’m going to be adding icons on the sidebar which when hovered over change colour and have text appear next to them for example,”feed me”, ‘tweet me’, ’shout me’.
Now for screen readers I don’t see this being a problem as can give the text a large minus left-margin: left-margin: -10000px; which pops into the required place when the icon is hovered over. This mean the text is still is readable in the html unlike using display: none which hides the text from screen readers. So I’m sorted for accessibility right? Well not necessarily.
When reading accessibility articles I feel the limitations of magnification programs are often overlooked. When someone is using a magnifier hover images like the ones I’m implementing can be a pain in the arse.
To demonstrate the image on the left shows an example screen area of someone who is partially sited navigating the website using a magnification program. They can see the icon but only partially see the description. In the next image the user has moved the mouse to view the description which cause the text to disappear.
Luckily by happy accident the Eric Meyer’s CSS method to create hover buttons provides a solution to this problem. For the pop up to work the text has to be enclosed in the same <a href> tag as the object you are hovering over. This means the text becomes a link as well and will stay displayed when the mouse is moved over it:
So if you’re looking to use hover images, drop downs or tool tips have a thought about people using magnication programs and how you your navigation will work for them to.
Doctype basically tells applications like your browser or online code validator what type of markup you’ve coded the page in. The majority of users will either use HTML or XHTML, Transitional or Strict versions. Transitional is used for old markup which has been coded for older browsers. Strict requires the markup to be well coded and standards compliant moving the page towards working with more browsers and screen readers.
Why do we need it?
If a browser is given a doctype it can interpret the markup you’ve used to render the page correctly. If it’s not given a doctype it will try to interpret the markup as best it can and therefor the page may not render correctly. For example: If IE6 isn’t given a doctype it works in ‘quirks’ mode and doesn’t honour CSS auto margins. If you start designing your pages with XHTML strict in mind you are giving yourself a helping hand to code more elegant, robust and standards compliant markup.
Where can I get it?
To add a doctype to your document it’s as simple as copy and paste. Below are the doctypes for XHTML transitional and strict. Paste them above your HTML tag in your document:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">