{"id":401,"date":"2020-10-30T14:09:21","date_gmt":"2020-10-30T14:09:21","guid":{"rendered":"https:\/\/jamesdowen.com\/blog\/?p=401"},"modified":"2020-10-30T14:09:21","modified_gmt":"2020-10-30T14:09:21","slug":"how-to-make-your-website-more-accessible","status":"publish","type":"post","link":"https:\/\/jamesdowen.com\/blog\/how-to-make-your-website-more-accessible\/","title":{"rendered":"How to make your website more accessible"},"content":{"rendered":"<p class=\"p1\">From a users point of view, accessibility is one of the most important aspects of a modern website. An accessible website means that users who have learning difficulties, or may be impaired in a particular way, are still able to consume and enjoy the contents of the websites they visit. These users often use screen readers and other devices to digest the contents of a website.<\/p>\n<p class=\"p1\">Not only that, but accessibility is also a good marketing and business move. Google and other search engines use accessibility as a key ranking factor for websites today.<\/p>\n<p class=\"p1\">A professional web designer will consider this when crafting a website, so I\u2019ve put together some tips below for achieving this:<\/p>\n<p class=\"p1\"><strong>The Language Attribute:<\/strong><\/p>\n<p class=\"p1\">Set a lang attribute to the language your website is presented in on the opening &lt;html&gt; tag. For example, &lt;html lang=&#8221;en&#8221;&gt;.<\/p>\n<p><strong>Alternative Image Content:<\/strong><\/p>\n<p>It&#8217;s important that all images have alt attributes set on the &lt;img&gt; tag. This helps to describe, in text, what the image is &#8211; especially useful for those who can&#8217;t see images, or if an image doesn&#8217;t load.<\/p>\n<p><strong>Allow Zooming:<\/strong><\/p>\n<p>Especially on mobile devices, don&#8217;t set\u00a0[user-scalable=&#8221;no&#8221;] on the meta viewport tag. It&#8217;s good practice to let a user have control over the web page, and they may want to zoom into a specific element they cannot see properly.<\/p>\n<p><strong>Use ARIA Attributes:<\/strong><\/p>\n<p>Elements such as aria-label=&#8221;What this button does&#8221; come in handy for elements that do not have a clear text meaning behind them, such as a &lt;button&gt; that only contains an icon.<\/p>\n<p><strong>Avoid Low Contrast Text:<\/strong><\/p>\n<p>Text on a background which causes it to have a low contrast is troublesome for some groups of disabilities and makes text hard or near impossible to read.<\/p>\n<p><strong>Use Tables Only For Data:<\/strong><\/p>\n<p>Luckily, the days of using HTML tables for layouts are long gone. But it&#8217;s best to make sure you&#8217;re still only using HTML tables for actual tabular data, and nothing else.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From a users point of view, accessibility is one of the most important aspects of a modern website. An accessible website means that users who have learning difficulties, or may be impaired in a particular way, are still able to consume and enjoy the contents of the websites they visit. These users often use screen [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to make your website more accessible | James Dowen<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jamesdowen.com\/blog\/how-to-make-your-website-more-accessible\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to make your website more accessible | James Dowen\" \/>\n<meta property=\"og:description\" content=\"From a users point of view, accessibility is one of the most important aspects of a modern website. An accessible website means that users who have learning difficulties, or may be impaired in a particular way, are still able to consume and enjoy the contents of the websites they visit. These users often use screen [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jamesdowen.com\/blog\/how-to-make-your-website-more-accessible\/\" \/>\n<meta property=\"og:site_name\" content=\"James Dowen\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-30T14:09:21+00:00\" \/>\n<meta name=\"author\" content=\"James\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jamesdowen.com\/blog\/how-to-make-your-website-more-accessible\/\",\"url\":\"https:\/\/jamesdowen.com\/blog\/how-to-make-your-website-more-accessible\/\",\"name\":\"How to make your website more accessible | James Dowen\",\"isPartOf\":{\"@id\":\"https:\/\/jamesdowen.com\/blog\/#website\"},\"datePublished\":\"2020-10-30T14:09:21+00:00\",\"dateModified\":\"2020-10-30T14:09:21+00:00\",\"author\":{\"@id\":\"https:\/\/jamesdowen.com\/blog\/#\/schema\/person\/51179280d7d76166490e1c27be360931\"},\"breadcrumb\":{\"@id\":\"https:\/\/jamesdowen.com\/blog\/how-to-make-your-website-more-accessible\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jamesdowen.com\/blog\/how-to-make-your-website-more-accessible\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jamesdowen.com\/blog\/how-to-make-your-website-more-accessible\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/jamesdowen.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to make your website more accessible\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/jamesdowen.com\/blog\/#website\",\"url\":\"https:\/\/jamesdowen.com\/blog\/\",\"name\":\"James Dowen\",\"description\":\"A blog about web development.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/jamesdowen.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/jamesdowen.com\/blog\/#\/schema\/person\/51179280d7d76166490e1c27be360931\",\"name\":\"James\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/jamesdowen.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e4d7008d9ebb77f8de729f655e30d11f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e4d7008d9ebb77f8de729f655e30d11f?s=96&d=mm&r=g\",\"caption\":\"James\"},\"sameAs\":[\"http:\/\/jamesdowen.com\"],\"url\":\"https:\/\/jamesdowen.com\/blog\/author\/jdowen\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to make your website more accessible | James Dowen","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jamesdowen.com\/blog\/how-to-make-your-website-more-accessible\/","og_locale":"en_US","og_type":"article","og_title":"How to make your website more accessible | James Dowen","og_description":"From a users point of view, accessibility is one of the most important aspects of a modern website. An accessible website means that users who have learning difficulties, or may be impaired in a particular way, are still able to consume and enjoy the contents of the websites they visit. These users often use screen [&hellip;]","og_url":"https:\/\/jamesdowen.com\/blog\/how-to-make-your-website-more-accessible\/","og_site_name":"James Dowen","article_published_time":"2020-10-30T14:09:21+00:00","author":"James","twitter_misc":{"Written by":"James","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/jamesdowen.com\/blog\/how-to-make-your-website-more-accessible\/","url":"https:\/\/jamesdowen.com\/blog\/how-to-make-your-website-more-accessible\/","name":"How to make your website more accessible | James Dowen","isPartOf":{"@id":"https:\/\/jamesdowen.com\/blog\/#website"},"datePublished":"2020-10-30T14:09:21+00:00","dateModified":"2020-10-30T14:09:21+00:00","author":{"@id":"https:\/\/jamesdowen.com\/blog\/#\/schema\/person\/51179280d7d76166490e1c27be360931"},"breadcrumb":{"@id":"https:\/\/jamesdowen.com\/blog\/how-to-make-your-website-more-accessible\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jamesdowen.com\/blog\/how-to-make-your-website-more-accessible\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jamesdowen.com\/blog\/how-to-make-your-website-more-accessible\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jamesdowen.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to make your website more accessible"}]},{"@type":"WebSite","@id":"https:\/\/jamesdowen.com\/blog\/#website","url":"https:\/\/jamesdowen.com\/blog\/","name":"James Dowen","description":"A blog about web development.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jamesdowen.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/jamesdowen.com\/blog\/#\/schema\/person\/51179280d7d76166490e1c27be360931","name":"James","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jamesdowen.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e4d7008d9ebb77f8de729f655e30d11f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e4d7008d9ebb77f8de729f655e30d11f?s=96&d=mm&r=g","caption":"James"},"sameAs":["http:\/\/jamesdowen.com"],"url":"https:\/\/jamesdowen.com\/blog\/author\/jdowen\/"}]}},"_links":{"self":[{"href":"https:\/\/jamesdowen.com\/blog\/wp-json\/wp\/v2\/posts\/401"}],"collection":[{"href":"https:\/\/jamesdowen.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jamesdowen.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jamesdowen.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jamesdowen.com\/blog\/wp-json\/wp\/v2\/comments?post=401"}],"version-history":[{"count":1,"href":"https:\/\/jamesdowen.com\/blog\/wp-json\/wp\/v2\/posts\/401\/revisions"}],"predecessor-version":[{"id":402,"href":"https:\/\/jamesdowen.com\/blog\/wp-json\/wp\/v2\/posts\/401\/revisions\/402"}],"wp:attachment":[{"href":"https:\/\/jamesdowen.com\/blog\/wp-json\/wp\/v2\/media?parent=401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jamesdowen.com\/blog\/wp-json\/wp\/v2\/categories?post=401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jamesdowen.com\/blog\/wp-json\/wp\/v2\/tags?post=401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}