Jump to content


Photo
- - - - -

Use Html5 Semantic Tags Instead Of Divs Where It Makes Sense


This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1 inaki_naiz

inaki_naiz

    Newbie

  • Members
  • 5 posts

Posted 30 November 2012 - 10:36 AM

I think it'd be nice to use HTML5 semantic tags like nav, header, article, aside, etc. where it makes sense. Of course, not every div should have semantic tags, but having the main parts of the site semantically tagged might improve the SEO of our sites and make them more usable for impaired people.

 

But I'm not sure whether a theme can do this or it depends or Wordpress itself… Sorry if I'm wrong and should be posting this into WP forums.



#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts

Posted 30 November 2012 - 03:31 PM

I think this can be considered a PageLines issue. I'm surprised WP doesn't really have any plugins for accessibility.



#3 inaki_naiz

inaki_naiz

    Newbie

  • Members
  • 5 posts

Posted 14 December 2012 - 11:56 AM

You already did it, didn't you? Today I was checking the code of my blog and found some <article>, <hgroup>, <aside> and other semantic tags in places where –I think– there were just <div> tags.

:thumbsu:

Thank you!



#4 Simon_P

Simon_P

    Messer

  • Administrators



  • 8388607 posts

Posted 14 December 2012 - 02:10 PM

Yes we did it about 2 years ago lol