RE: Accessibility/SEO and IDs?

"Seb Frost" <[email protected]> Thu, 23 Mar 2006 11:14:25 -0000
Newsgroups gmane.comp.web.dom.wdf
Message-ID <[email protected]>
Every little helps :-P

I write very "tight" XHTML and am pretty pleased with it, it gives me great
satisfaction that a page on my sites is typically 5KB of HTML compared or
whatever.  I'm about to start hosting my own stuff (instead of just hosting
sites at work that I've made for work) so I don't have to worry about making
it "easily readable" for others, and I'll potentially add some sort of
whitespace-remover plugin to my webserver too (if it doesn't slow the
delivery down).

I'm a true nerd :-P

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf
Of Anthony Ettinger
Sent: 22 March 2006 23:45
To: [email protected]
Subject: Re: [wdf-dom] Accessibility/SEO and IDs?


On 3/22/06, Chris <[email protected]> wrote:
> If you work in a team, there's the benefit of whoever does the CSS, or
> ties in backend code, etc, has a better chance of discerning one chunk
> of HTML from another and its purpose.
>
>  From a user's perspective, remember that every ID can be targeted as an
> anchor, i.e.: blah.html#list_of_shopping - that can be useful if for
> example, you want to link someone to a specific section of a long page
> they want to read. Personally, I'll occasionally View Selected Source in
> Firefox to get IDs like that and add them into a link I send to people
> on occasion. That's an extremely geeky use of the capability, but the
> point is, there are uses... probably some far less geeky than my own. So
> you may as well make them user-friendly.
>
> Lastly, you're going to run into overlap with short IDs... but if small
> HTML is of the utmost importance for some reason, the shorter IDs may be
> a better fit.
>
> -Chris
>
> Seb Frost wrote:
> > Is there any reason (other than to make your own work/maintenance
easier) to
> > use semantic IDs on your webpages?
> >
> > In other words, does <div id="header"> benefit anyone other than the
coder
> > over <div id="h">?
> >
> > I'm all for cutting down on any bytes that don't need to be sent to the
> > browser, and if working by myself I'd quickly get used to shorthands
like
> > this, and they wouldn't proove to be a maintenance headache at all, for
me.
> >
> > But is there a benefit to longer IDs?  Will search engines pick up on
<ul
> > id="list_of_shopping"> or is <ul id="l"> just as good?
> >
> > cheers
> >
> > Seb
> >
> >
> >
> > Unsubscribe
> > [email protected]
> >
> > List info
> > http://www.quirksmode.org/dom/list.html
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
> Unsubscribe
> [email protected]
>
> List info
> http://www.quirksmode.org/dom/list.html
> Yahoo! Groups Links
>
>
>
>
>
>
>
>

microformats are on the rise, but I would stop short of saying it
makes a difference in Google serps.

The main concern should be readability. id="header" makes much more
sense than id="h".

since it's an id, it should only be on the page once....if your page
load time is effected by the id attribute, you've got bigger problems
:-)



--
Anthony Ettinger
Signature: http://chovy.dyndns.org/hcard.html


Unsubscribe
[email protected]

List info
http://www.quirksmode.org/dom/list.html
Yahoo! Groups Links








Unsubscribe
[email protected]

List info
http://www.quirksmode.org/dom/list.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/wdf-dom/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/