How to Make Your Website Accessible
How to Make Your Website Accessible
Accessibility is a complex issue. Many things can make it hard to access or understand your site. However, by implementing some measures and enough flexibility, you can make your website more accessible and also improve the user experience. This wikiHow will give you ways in which you can help make your website more accessible to others.

Note: This article is not about a specific standard. If you're required to conform to a specific standard, such as WCAG 2.0 or Section 508 of the US Federal Rehabilitation Act, please also look at what that specific standard demands.
Steps

Making the Site Accessible for Alternative Technologies

Add alt text for all relevant images. The only exceptions are images that are only decorative, that are not necessary to understand the website or interact with its content. Alt text is text as an alternative for an image. Screen readers will read the alt text instead of the image. Alt text should be functional, not a description of the image. For example, the Android 7 Search symbol should have the alt text "Search", not the alt text "Magnifying glass". If the image is used on a button, give it an alt text of what the button does, e. g. "Submit". If there is text in the image, for example if the image is a logo, the text should be included in the alt text. Include alt text in an image using the alt attribute. It is used like this: Alt text belongs here If the image is only decorative, set the alt text as alt="".

Describe the image elsewhere if it's very complex or has a lot of information. For example, if it's a chart or graph, describe its content above or below the image. Reference that in the alt text, for example "Chart of median household income in the USA from 2000 to 2017, as described below". You can also link to a document with all the values as text or a table.

Consider using CSS for only decorative images. This way, these images also disappear if the user turns off CSS. Background images can be included using the CSS background-image attribute. For example: html { background-image: url("example.png"); }

Use HTML5 semantic tags. HTML5 has added many semantic tags, i. e. tags that are used to describe the content. These tags allow technologies like a screen reader or the Reader Mode of some browsers to "understand" the content and display it in a meaningful way. If you're using bold and italic text for emphasis, not just for styling, use the and . This is also supported in earlier versions of HTML. Use

What's your reaction?

Comments

https://rawisda.com/assets/images/user-avatar-s.jpg

0 comment

Write the first comment for this!