{"id":37,"date":"2021-11-19T12:30:23","date_gmt":"2021-11-19T07:00:23","guid":{"rendered":"https:\/\/formx.stream\/blog\/?p=37"},"modified":"2022-03-23T17:03:36","modified_gmt":"2022-03-23T11:33:36","slug":"accesible-forms","status":"publish","type":"post","link":"https:\/\/formx.stream\/blog\/accesible-forms\/","title":{"rendered":"11 Tips To Ensure Your Forms Are Accessible"},"content":{"rendered":"<h2><strong>Why ensuring HTML form accessibility should be the norm in web design. Your forms should help everyone<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">There&#8217;s a vital section of web users that designers often overlook: those with disabilities. HTML forms are a huge part of what makes the Web the most critical tool available to the disabled community \u2013 they can be (and frequently are) the only way that people can do things like book tickets, check bank balances or pay bills. And yet, even by the standards of accessible design, HTML form accessibility is neglected and rarely considered an integral part of good user experience design.<\/span><\/p>\n<h2><strong>11 Tips to build accessible web forms<\/strong><\/h2>\n<p><span style=\"font-weight: 400;\">Have you ever thought about building accessible forms for your website? Have you wondered how? The following tips will help you build more user friendly forms and understand what people with a visual impairment may face when filling them out.<\/span><\/p>\n<h3><strong>1. Add descriptive labels to all fields<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">Adding labels to your form makes it easier for your user to understand and fill out. This will also increase form completion rate.Labels are essential for users with cognitive impairments or who have trouble remembering what information they need to enter into a field.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Labels are especially important for people with motor disabilities who rely on speech recognition software or other assistive technology to seamlessly navigate the web. These users need the ability to quickly and accurately identify the purpose of each field before they can confidently fill out a form.<\/span><\/p>\n<h3><strong>2. Use placeholder text that describes the field<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">Placeholder text is the text that sits in form fields when they&#8217;re blank. It&#8217;s also referred to as ghost text or hint text, and it vanishes as soon as a user clicks on the field, or starts typing.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Placeholder text is a core component of a form&#8217;s design. It provides basic guidance to users who might not understand what information should go in a given field, and it can even be used for branding purposes.<\/span><\/p>\n<h3><strong>3. Use helper text to give additional details, error messages, etc.<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">Helper text is used to clarify the meaning of a form field and provide guidance, recommendations, and examples on how to complete it. It should be clear and concise, using simple language and sentence structure. Helper text can also reinforce brand voice and tone.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">When you have a complicated or lengthy form, helper text is necessary to give users hints about what they need to enter into each field. For example, if your form requires a phone number in a specific format, the helper text would give an example or explain the format so that users know how to enter the information correctly.<\/span><\/p>\n<h3><strong>4. Make buttons clearly identifiable and differentiated from other elements on the page.<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">Buttons need to be clearly identifiable and differentiated from other elements on the page. This is particularly important in web forms.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">By default, when you create a button element in HTML, browsers will style it the same as a hyperlink. The problem with this is that hyperlinks have been styled as underlined text for decades, so users have become conditioned to recognize them as navigational controls. When you use an underlined button to submit a form or perform an action, it\u2019s easy for users to overlook it because they\u2019re looking for a link or something that sticks out more from the rest of the content on the page.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">To avoid this problem, all buttons in web forms should be styled differently from other elements on the page, such as links and headings, so that they stand out and users can identify them easily without having to read the surrounding text or look around for it.<\/span><\/p>\n<h3><strong>5. Ensure buttons accurately describe the action they will complete<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">It&#8217;s a common mistake for designers to design buttons that don&#8217;t accurately describe the action they will perform. There is no substitute for testing your form in browsers and on devices to ensure that all the buttons accurately describe what they are supposed to do.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You should also ensure your form includes a large, legible button next to each field. This ensures that people can quickly get an idea of the action they need to take once they reach the result page.<\/span><\/p>\n<h3><strong>6. Allow keyboard users to complete actions using the Enter key<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">For sighted users, the Enter key on a keyboard has many functions. For example, it can be used to submit a form, open a folder or file, open a drop-down menu on a website, or play the selected media in an application.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The Enter key is even more important for keyboard users who are unable to use or have limited use of a computer mouse. When using only the keyboard, it is not always possible to click on items with the mouse. Without being able to complete an action using the Enter key, someone would have to navigate through every element on the page using only the tab key until they find what they are looking for. Some forms have hundreds of fields and this process could take quite some time.<\/span><\/p>\n<h3><strong>7. Ensure logical navigation order for screen reader users<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">There are many reasons why you should ensure logical navigation order in web forms for screen reader users, but the biggest is to make sure that the user is able to fill out the form in a logical and sequential order.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The main reason behind this is that read order is determined by the position of an element on the page rather than being assigned a tab index value. This means that elements that are positioned lower on the page are accessed last.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If a screen reader user experiences a form with illogical ordering, they will encounter multiple instances where they will need to go back over areas of content that they have already passed through. This can be extremely frustrating for users and will deter them from completing their intended task.<\/span><\/p>\n<h3><strong>8. Only include form fields that are mandatory when they actually need to be completed<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">When you have a web form on your site, you might have mandatory fields. These are the fields that a user must fill out before they can submit the form.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The problem is that many web forms have mandatory fields that don&#8217;t need to be completed. You see this in contact forms all the time, where there&#8217;s a field for address and telephone number, but those fields don&#8217;t actually need to be filled out.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">It&#8217;s important to include only form fields that are mandatory when they actually need to be completed. Otherwise you&#8217;re going to end up with more incomplete submissions and fewer leads.<\/span><\/p>\n<h3><strong>9. Be consistent with the layout of your form<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">You know how it feels when you&#8217;re on a business website and then the form is totally different? It can be a jolt, especially if you were in the middle of filling out a form. It&#8217;s annoying because it makes you wonder what other surprises might lie ahead.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The layout of forms is especially important because when users are filling out information, they don&#8217;t want to have to stop and figure out where everything goes. Consistent layout makes things clearer for the user, which helps reduce friction and lead to higher conversion rates.<\/span><\/p>\n<h3><strong>10. Avoid using Captcha<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">Captcha isn&#8217;t something that works for all users, even those who don&#8217;t have disabilities. While it may work for the majority of your audience, it won&#8217;t necessarily work for everyone. For example, if a user is visually impaired, they&#8217;ll typically use a screen reader to access your website. The screen reader announces the contents of web pages to the user, just as it would announce any other element you&#8217;d find on a website.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">When users encounter a Captcha in this way, they&#8217;ll be told there is an image and asked to type what they see in a text box. This can be quite difficult as screen reader users are still only able to explore websites visually through their eyes and ears. They can&#8217;t see what the image looks like or discern any patterns or shapes in them. As such, they often require assistance from another human being \u2014 someone who can look at the image and tell them what letters are present so they can type them into the form correctly.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">We wrote an entire article about Captcha alternatives and how to implement them. Read it here: https:\/\/formx.stream\/blog\/captcha-alternatives\/<\/span><\/p>\n<h3><strong>11. Make sure there\u2019s a contrast between texts and background colors<\/strong><\/h3>\n<p><span style=\"font-weight: 400;\">Color contrast is important because it increases the readability of the text. If a background color is too close to the font color, then it&#8217;s harder for the user to read what&#8217;s on the page.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">When you&#8217;re designing a form, you should definitely pay attention to color contrast. Text fields are often used to gather information from users, and if they can&#8217;t read what you&#8217;re asking them for, that&#8217;s a usability problem.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">An easy way to check your color contrast ratios is with a tool <\/span><a href=\"https:\/\/webaim.org\/resources\/contrastchecker\/\"><span style=\"font-weight: 400;\">like this one from WebAim<\/span><\/a><span style=\"font-weight: 400;\">. It will even tell you if your contrast ratio meets accessibility standards.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Why ensuring HTML form accessibility should be the norm in web design. Your forms should help everyone There&#8217;s a vital section of web users that designers often overlook: those with disabilities. HTML forms are a huge part of what makes the Web the most critical tool available to the disabled community \u2013 they can be [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-37","post","type-post","status-publish","format-standard","hentry","category-general"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/formx.stream\/blog\/wp-json\/wp\/v2\/posts\/37","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/formx.stream\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/formx.stream\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/formx.stream\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/formx.stream\/blog\/wp-json\/wp\/v2\/comments?post=37"}],"version-history":[{"count":13,"href":"https:\/\/formx.stream\/blog\/wp-json\/wp\/v2\/posts\/37\/revisions"}],"predecessor-version":[{"id":245,"href":"https:\/\/formx.stream\/blog\/wp-json\/wp\/v2\/posts\/37\/revisions\/245"}],"wp:attachment":[{"href":"https:\/\/formx.stream\/blog\/wp-json\/wp\/v2\/media?parent=37"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/formx.stream\/blog\/wp-json\/wp\/v2\/categories?post=37"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/formx.stream\/blog\/wp-json\/wp\/v2\/tags?post=37"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}