Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve the semantic about menu component #28

Closed
bernarddeluna opened this issue Sep 17, 2013 · 7 comments
Closed

improve the semantic about menu component #28

bernarddeluna opened this issue Sep 17, 2013 · 7 comments

Comments

@bernarddeluna
Copy link

if you have a list of items, you probably have to work with UL followed by LI

and if you have a short piece of code inside your menu, you shouldn't use DIV, because W3C recommends SMALL tag to do this.

@jlukic
Copy link
Member

jlukic commented Sep 17, 2013

Semantic is tag ambivalent, you can use ul, li, or small. It's based on class names

@jlukic jlukic closed this as completed Sep 17, 2013
@bernarddeluna
Copy link
Author

I'm sorry, but invented classes doesn't make your code semantic. Tags + ARIA + microdata does!

@jonhkr
Copy link
Contributor

jonhkr commented Sep 17, 2013

Well, actually it does. Take a look at http://en.wikipedia.org/wiki/Microformat.
Also, you can still use Tags and ARIA in your HTML

@bernarddeluna
Copy link
Author

I mentioned about microdata. But you can't use microdata to change or
create semantic things, you have to use to extend that, and you should use
microdata based on contexts instead simulate "lists", "small" and another
native tags.

On Tue, Sep 17, 2013 at 3:37 PM, Jonas Trevisan notifications@github.comwrote:

Well, actually it does. Take a look at
http://en.wikipedia.org/wiki/Microformat.
Also, you can still use Tags and ARIA in your HTML


Reply to this email directly or view it on GitHubhttps://github.com/jlukic/Semantic-UI/issues/28#issuecomment-24611987
.

Bernard De Luna F. F. Bittencourt
www.bernarddeluna.com
Twitter: @bernarddeluna

@jonhkr
Copy link
Contributor

jonhkr commented Sep 17, 2013

It is about Microformat not microdata.

@bernarddeluna
Copy link
Author

Yes, but do you prefer Microformats instead Microdata?

On Tue, Sep 17, 2013 at 3:53 PM, Jonas Trevisan notifications@github.comwrote:

It is about Microformat not microdata.


Reply to this email directly or view it on GitHubhttps://github.com/jlukic/Semantic-UI/issues/28#issuecomment-24613279
.

Bernard De Luna F. F. Bittencourt
www.bernarddeluna.com
Twitter: @bernarddeluna

@shankarcabus
Copy link

"Semantic is tag ambivalent, you can use ul, li, or small. It's based on class names"
Are you saying that Semantic-UI isn't semantic, @jlukic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants