cake-php@googlegroups.com
[Top] [All Lists]

Re: Breadcrumbs

Subject: Re: Breadcrumbs
From: euromark
Date: Tue, 29 Jun 2010 15:02:24 -0700 PDT
well, that was fast...
http://cakephp.lighthouseapp.com/projects/42648/tickets/856-htmlhelpergetcrumbs-semantically-correct-output

well, its still a list of items separated by something like > oder >>
and it might be easier to style it with css if it is not a plain
string like "x > y > z"
but a list of floating <li> elements

either way it now found its way into cake2.0


On 29 Jun., 07:19, Miles J <mileswjohn...@xxxxxxxxx> wrote:
> An unordered list is not a breadcrumb trail. ULs were invented to list
> out items.
>
> How is wrapping breadcrumbs in a UL going to help improve the blind?
>
> On Jun 28, 1:57 pm, Leszek Stachowski <shaza...@xxxxxxxxx> wrote:
>
>
>
> > > This should not be reliant on the framework. Breadcrumbs do not
> > > require lists, just the same way header menus do not require them. Its
> > > up to the developer if they want to wrap those items in those specific
> > > elements.
>
> > So what are, in your opinion, html lists made for? Why ever care for
> > any markup structure, so its all up to developer? Every tag has its
> > semantical meaning and should be used in purpose it was invented for.
> > There is a distinction between syntax and semantics.
>
> > > Its neither semantically correct or a standard. Using the
> > > accessibility argument is a copout. Its very rare these days for
> > > someone to be using a screen reader. Everyone has phones, laptops,
> > > ipads or anything else that can render a page as is.
>
> > WOW, that's dumb. You think that people choose to use screen readers
> > when they are not disabled in the way they have to use them? That is
> > rare, indeed.
>
> > Cheers,
> > Leszek Stachowski
>
> > > On Jun 25, 2:32 pm, EnvyGeeks <jor...@xxxxxxxxxxxxx> wrote:
>
> > > > On Jun 23, 12:17 pm, Leszek Stachowski <shaza...@xxxxxxxxx> wrote:
>
> > > > > Hi,
>
> > > > > is there any specific reason why HtmlHelper::getCrumbs() does not
> > > > > generate semantically correct list of links? I mean:
>
> > > > > <ul>
> > > > >     <li>(...)</li>
> > > > >     (...)
> > > > > </ul>
>
> > > > > If there isn't, I can contribute to cakephp and change it.
>
> > > > > Greetings,
> > > > > Leszek Stachowski
>
> > > > While I agree it would be nice for it to output a list. I do not agree
> > > > with you confusing people and misinterpreting semantics.  Semantics
> > > > has to do with the organization and logic, this is why HTML5 had to go
> > > > out of it's way to make things easier with the "nav" tag so people
> > > > could see the entire structure of semantical code.  The logic is <div
> > > > class="navigation"> and the organization is the list. So having just
> > > > the list doesn't make it semantic...

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
cake-php+unsubscribe@xxxxxxxxxxxxxxxx For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

<Prev in Thread] Current Thread [Next in Thread>