html5 - How does content in an a-element affects semantics, screen readers and search engines? -
let's have list of articles on preview page of blog. want whole area of each entry clickable. in html5 possible solution valid markup:
<a href="details/mypost"> <article> <header> <h1>my post</h1> </header> <p>this teaser. read more here …</p> </article> </a>
my questions are:
- is semantically link or article or somehow both regarding w3 defintion?
- how content read search engines , screen readers? link or treat article?
semantically, have link contains article
. a
element doesn’t change meaning of descendants.
(it might make more sense include link in article
, e.g., <article><a>…</a></article>
.)
there no reason assume search engines should have problem (but discussing off-topic on so; might on-topic on webmasters.)
how screen readers read depends on specific screen reader , version.
some years ago, the paciello group/steve faulkner made test screen readers, documented on test page. minor issues found: voiceover repeated text (which resulted more general bug), , jaws/nvda/window-eyes treated single link separate links.
Comments
Post a Comment