Showing posts 11 - 11 of 11
  1. Graham Robbins Bronze

    Senior Developer at Sitemorse

    17 November 2008 09:48am

    avatar

    To ensure features work even if Javascript is disabled set the href to a suitable target, and the onclick handler to return false.

    Should Javascript be enabled the href is not followed, otherwise the handler is ignored and the href takes the user to the alternative content. For example:

    <a href="/article.html?id=123" onclick="reveal_article(); return false">View article</a>

    Do also check any third party code, inserted into your site for A and AA accessibility. Analytics code may not always meet the standards.

    Sitemorse.com can runs a number of automated Accessibility checks (alongside Function, Code quality, Performance, SEO, PDFs, Spelling and Analytics). PM me when you've completed the changes and I'll run a free page check

Reply to this thread

Log in to reply to this discussion or join Econsultancy for free so you can post to our forums along with other benefits.