Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress WooCommerce Theme Development Global and Product Templates and Hooks Global Template Files

Cristian-Adrian Frasineanu
Cristian-Adrian Frasineanu
5,101 Points

The "role" markup

I haven't used it yet in any of my projects. Is it just semantic markup that's only for an informative purpose or it's also used in a practical way somewhere? Thanks

1 Answer

Chris Dermody
Chris Dermody
15,155 Points

I never heard of this before, but there's some discussion here http://stackoverflow.com/questions/14180785/html5-nav-element-vs-role-navigation

I'll be looking into it myself. :)

Cristian-Adrian Frasineanu
Cristian-Adrian Frasineanu
5,101 Points

Hey Chris,

Thanks, but that SO discussion doesn't clear anything about this attribute :(