Sponsor: The CSS Anthology
The CSS Anthology: 101 Essential Tips, Tricks & Hacks (external link)
Blog Entry
Increasing Clickable Area on Links
Published on the 19th of June 2008
Awhile back, 37signals posted a blog entry about the clickable area of links (external link). The key is for links to have a padding on them, so that users do not necessarily have to click on the actual text itself, but have the ability to click on the area around it as well. It helps to improve usability and is a small adjustment to make to a website. One should only use it on navigation links really, but it does make a big difference for such a small change.
At Lowter, we have a large clickable area for our top navigation links, but this results more out of technical limitations than intention. Internet Explorer prior to version seven does not support the :hover state for elements other than anchors (<a>). Therefore, in order to achieve the changed hover-state of the tabs, all of the styling has to be applied to <a> tags, instead of the list (<li>) tag (as our navigation is semantically organised into an unordered list). Since this includes padding as well, the clickable area of the link encompasses the entire tab, as it should really.
Of course, 37signals is not big on semantics, so their links are not organised into a list. Nevertheless, if you organise your navigation links into a list, then it also allows you to easily have a clickable area for those links too.
Comments
-
Matt Oakes (external link) (20 Jun 2008 18:20)
It still annoys me that 37signals don't use any sort of sementic or valid code for anything. A lot of the pages don't even have the <html> tags's :(
-
Ethan Poole (external link) (21 Jun 2008 10:15)
Yeah, they seem to be more about functionality than standards-compliance. I really wouldn't care if they didn't have such a big influence on the web development community. They set a bad example.
Sponsor: Songbird Media Player
Desktop web player, a digital jukebox, and web browser mash-up. (external link)

