homepage Welcome to WebmasterWorld Guest from 54.226.0.225
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Accessibility and Usability
Forum Library, Charter, Moderators: ergophobe

Accessibility and Usability Forum

    
Fragment Identifiers
Axioms of Web Architecture
pageoneresults




msg:3269205
 5:13 pm on Mar 2, 2007 (gmt 0)

An excellent tool for Accessibility and Usability...

URI References: Fragment Identifiers on URIs
[w3.org...]

2.1.2 Fragment identifiers
[w3.org...]

I've always made use of fragment identifiers when designing the architecture of a site. It provides one click access to something specific or a function within a document. I also make use of a Back to previous function so that when you are following fragments, you can quickly jump back and forth between them.

I do utilize the id attribute as opposed to the deprecated name attribute. I label the ids exactly like the name of their destination/function.

http://www.example.com/#foo

Goes to...

<h2 id="foo"></h2>

Do you use fragment identifiers? If so, how do you use them and how have they helped the user experience?

 

pageoneresults




msg:3269315
 7:14 pm on Mar 2, 2007 (gmt 0)

Oh, I would also like to point out that anytime you are referencing a "root" level page such as index.html or default.asp, you can back the URI up to the trailing forward slash and append your fragment identifier at the end. So, this...

http://www.example.com/index.htm#foo
http://www.example.com/sub/index.htm#foo

Becomes this...

http://www.example.com/#foo
http://www.example.com/sub/#foo

Much cleaner and easier to remember. ;)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Accessibility and Usability
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved