What is the best way to structure an HTML document for SEO and accessibility?

前端 未结 6 854
梦毁少年i
梦毁少年i 2021-01-01 03:29

What\'s the recommended way to structure html that includes navigation so it\'s still SEO\'able and accessible.

For example, should the structure be more like that o

6条回答
  •  爱一瞬间的悲伤
    2021-01-01 04:22

    As a screen reader user I don't care where navigation is on the page. The thing that helps the most is to have content listed by heading, for example this question is at an h2 level, and the answers start at the next h2 level. Screen readers offer keys that allow you to skip by heading so I find that heading navigation is quicker then finding the skip navigation link and pressing enter on it.

提交回复
热议问题