Friday, June 25, 2010

Re: Breadcrumbs

On Jun 23, 12:17 pm, Leszek Stachowski <shaza...@gmail.com> 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@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: