SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Aug 2008
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JavaScript Navigation Accessibility

    Curious to see what others are doing for accessibility is this age of lots of javascript on websites. I have noticed a trend in using JS for navigation that used to be frowned upon. I personally try to create all my elements with with html and hide them with JS while adding any dynamic elements needed. Is this the norm for most of you? Thoughts?

    Scott

  2. #2
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,158
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My principle is that a web document must be usable without JavaScript. Scripting can then be used to improve usability and aesthetics for those who can benefit from it. In other words, progressive enhancement.

    JavaScript navigation was perhaps forgivable for amateur websites 10 years ago, when cheap shared hosting didn't support server-side scripting technology, but not today.
    Birnam wood is come to Dunsinane

  3. #3
    SitePoint Member
    Join Date
    Aug 2008
    Posts
    14
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I agree.

    I have been seeing a trend of using <insert JS Framework here> to build dynamic primary navigation. I think it is a big mistake. I can see maybe some secondary navigation, but definitely not primary navigation.

    Just curious to see what others thought, or are currently doing.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •