Archived posts, May 2011

Validate URL syntax with JavaScript

How to use JavaScript to verify that the path, query and fragment parts of a URL use valid syntax according to RFC 3986.

Posted on May 3, 2011 in JavaScript

Clipping text with CSS3 text-overflow

Sometimes you may find that a design forces you to clip content. Fortunately CSS3 offers a way of indicating that text has been clipped.

Posted on May 9, 2011 in CSS

iOS tip: how to zoom on web pages that have disabled user zoom

iOS has a Zoom feature that lets you zoom the entire screen and comes in handy on web sites and apps that use small text and disable user scaling.

Posted on May 11, 2011 in iOS, Accessibility

Get element text, including alt text for images, with JavaScript

A JavaScript function that returns the text content of an element and its descendants, including alternative text for images and image map areas.

Posted on May 16, 2011 in JavaScript

Accessibility checklists can be helpful if used right

Some people argue that checklists should not be used when evaluating accessibility. I think they work fine when used right.

Posted on May 18, 2011 in Accessibility, Productivity

Do unobtrusive, accessible social media sharing widgets exist?

No social media sharing widgets that I know of are keyboard friendly, and most use obtrusive markup. Anyone know of an accessible, unobtrusive option?

Posted on May 23, 2011 in Accessibility

Styling ordered list numbers

How to use generated content to style the numbers of an ordered list separately from the rest of the list item.

Posted on May 25, 2011 in CSS