On 14 Mrz., 19:24, Di Marcello <[email protected]> wrote:
> Why does the navigation tag of tabs has to be <ul>
> Personally i believe this is very ugly htm(an ul list is supposed to
> be vertical and bulleted), and uses unnecessary extra tags.

Usually the links in such a tab pane belong together, thus
semantically using a list is appropriate to group them together and
show their relation. Just throwing a bunch of links into a container
also may have negative side effects in screen readers.

>Before people react: i dont think it is wrong usage.

Ok, then I don't understand what the point is you're trying to make?


> For example i always build navigation like this:
> <div>
>   <a>
>   <a>
> <div>
>
> From the viewpoint of unobtrusivity, i think the list and list item
> selector should be options.
> default: {navigation: "ul:first", navitem: "li"}
> or in my case. {navigation: "div.navigation", navitem: "a"}
> Off course what the widget does with the items, doesnt matter, cause
> it renders nicely, but for someone without javascript and maybe even
> without css, should also see what i want.

That someone should get the most appropiate HTML - semantically-wise.
That may not necessarily what you want or what you're used to ;-)


--Klaus

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to