{"id":34,"date":"2022-10-29T00:09:04","date_gmt":"2022-10-29T00:09:04","guid":{"rendered":"https:\/\/docs.joedolson.com\/wp-accessibility\/?p=34"},"modified":"2022-10-29T00:09:04","modified_gmt":"2022-10-29T00:09:04","slug":"add-post-title-to-read-more-links","status":"publish","type":"post","link":"https:\/\/docs.joedolson.com\/wp-accessibility\/2022\/10\/29\/add-post-title-to-read-more-links\/","title":{"rendered":"Add post title to &#8216;read more&#8217; links"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">A common pattern for WordPress in many views is to show an excerpt of your post with a link to read the entire post. By default, this link is just plain text \u201cmore\u201d or \u201ccontinue reading\u201d or an equivalent. This is problematic for accessibility because it means that there are many links on the same page with the same link text. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For accessibility, all links should make sense without requiring context, to grant screen readers the ability to scan the page and have information. This plug-in adds the title of the post into this pattern, so that instead of hearing \u201cContinue Reading. Continue Reading. Continue Reading.\u201d, the user will hear something like \u201cContinue Reading About The Storm. Continue Reading The Storm Aftermath. Continue Reading Cleaning Up\u201d, and be able to pick the article they actually want to read from that set of links. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In classic themes, any existing read more is adjusted to add this text. In block themes, the read more link is appended to the excerpt and the excerpt block&#8217;s &#8216;read more&#8217; links are hidden using CSS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"http:\/\/www.w3.org\/TR\/2008\/WD-WCAG20-TECHS-20081103\/h20\">Further reading about identifying link purpose<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A common pattern for WordPress in many views is to show an excerpt of your post with a link to read the entire post. By default, this link is just plain text \u201cmore\u201d or \u201ccontinue reading\u201d or an equivalent. This is problematic for accessibility because it means that there are many links on the same [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-34","post","type-post","status-publish","format-standard","hentry","category-remediation"],"_links":{"self":[{"href":"https:\/\/docs.joedolson.com\/wp-accessibility\/wp-json\/wp\/v2\/posts\/34","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.joedolson.com\/wp-accessibility\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.joedolson.com\/wp-accessibility\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.joedolson.com\/wp-accessibility\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.joedolson.com\/wp-accessibility\/wp-json\/wp\/v2\/comments?post=34"}],"version-history":[{"count":1,"href":"https:\/\/docs.joedolson.com\/wp-accessibility\/wp-json\/wp\/v2\/posts\/34\/revisions"}],"predecessor-version":[{"id":35,"href":"https:\/\/docs.joedolson.com\/wp-accessibility\/wp-json\/wp\/v2\/posts\/34\/revisions\/35"}],"wp:attachment":[{"href":"https:\/\/docs.joedolson.com\/wp-accessibility\/wp-json\/wp\/v2\/media?parent=34"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.joedolson.com\/wp-accessibility\/wp-json\/wp\/v2\/categories?post=34"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.joedolson.com\/wp-accessibility\/wp-json\/wp\/v2\/tags?post=34"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}