Few people think much about web accessibility. Even fewer people understand it, and without understanding there wont be empathy or change. However, a string of high-profile class action lawsuits in 2019, like the one against Beyonces management company, brought the issue to light and I expect well see a lot more companies prioritizing web accessibility in 2020.
At the same time, the US and many European countries are more rigorously enforcing their by-laws applying to free content accessibility. Companies will no longer be able to afford to ignore this issue.
Its no surprise that visually impaired people are demanding better access. Populated with Instagram stories and online stores that display 360-degree, high-definition product images and video, the web has become a visual public space. That puts many people at an unnecessary disadvantage.
Its not only lawsuits driving demand for greater visual access, but the growing problem of poor vision. According to the World Health Organization (WHO), around 1.3 billion people have some visual impairment, such as low vision, color blindness, and (partial)blindness. Thats nearly 20 percent of the global population including your website visitors who struggle with accessibility.
Ill be the first to accept that the US is more lawsuit-happy than most. Maybe you live in another country, with a different legal culture and dont think you need to worry about accessibility. Thats the wrong mindset.
As a frontend developer, I do care about web accessibility; its my responsibility. I dont want visitors just to have access. I want them to have the best possible experience. Lets take a closer look now at some of the different types of visual impairments people have and how to address them on a site.
Light sensitivity is a very common issue, especially for people who sit in front of computer screens all day. Light-sensitive people can find it hard, painful, or even impossible to read and concentrate under bright lights, on bright screens, or on web pages where bright colors are combined.
This is why most developers like me switch to dark themes in their dev tools, IDE, or their OS (if it has one). Its also why popular apps like Twitter, Google, Facebook Messenger, and recently iOS, provide Dark Mode.
One difficulty is that theres no one standard for light sensitivity. It varies by person and setting, so its impossible to devise one configuration set that works for all light-sensitive people.
Offer Dark Mode or a Light Theme for your users and allow them to set the brightness, essentially letting them decide for themselves.
There are several approaches to achieve this, depending on your technology stack and browser support. A straightforward way is to combine a CSS variable and the CSS invert method: filter: invert().
By defining invert(1), the browser inverts all colors available in your apps to the exact opposite matching colors.
This filter effect also applies to all images within the app. You might want to add some code to make sure colors are reserved even in inverted mode (dark or light).
Warning: filter is still not supported in IE. If IE support is critical for your app, consider using other approach such as CSS-in-JS (styled components for Vue or for React).
Contrast sensitivity occurs where people struggle to read text that is placed over images and videos. This happens when white text is placed on a light background, black text is placed on a dark background, or text is placed on a visually busy background.
Unlike light sensitivity, contrast sensitivity issues are easy to identify. Popular browsers including Chrome and Firefox now include a contrast score check in their dev tools, which flag any page sections that arent visible enough. You shouldnt rely solely on these tools, however, because the automatic scores are not always 100 percent accurate.
To address contrast sensitivity fully, refer to the Web Content Accessibility Guidelines (WCAG). It states that text, or images of text, must have a contrast ratio of at least 4.5:1. Exceptions are large text (where its 3:1), invisible, and decorative text and logotypes, where the text is part of a brand name.
To summarize some of the main points:
To ensure your website passes the contrast test, check out this free Contrast Checker tool by WebAIM.
Color blindness (or color vision deficiency) makes it difficult (or impossible) for affected people to identify or distinguish between specific colors.
Imagine a colorblind person visits an online store to buy a red t-shirt and sees only green ones. How would this visitor know which ones to buy?
In some cases it will be impossible to adapt an image to appear correctly for someone with color vision deficiency. For these, the options are to either provide chat/live support or text prompts (or, ideally, both).
To provide text prompts, we add the name of the color as text to images using the alt attribute. So instead of saying that an image is a t-shirt, we would explicitly state that it is a red t-shirt. The more specific, the better. Yellow is somewhat helpful, but mustard yellow is much more descriptive.
This will involve some light coding, or you can use one of the image management tools on the market that help automate this process.
Another option is to provide a unique pattern to represent each different color on your webpage. The standard approaches are not straightforward either designers need to manually code something or use image editing software like Photoshop or Gimp to create an extra resource for each colorblind case.
The free version of my companys own software includes a transformation e_assist_colorblind effect to make this process easier. For example, you can add stripes to highlight the difference between hot (red) and cold (green) colors.
Hopefully this has given you some ideas for how to address the most common issues around visual accessibility. By focusing on this important issue, youll not just avoid litigation, but youll attract more site visitors, raise engagement, and potentially boost revenue as well.
Published January 3, 2020 08:00 UTC
More here:
Visual accessibility will be a priority in 2020 heres how to adapt your site - The Next Web
- 001 Burn Victim Eye Sight Restored with Stem Cell Therapy [Last Updated On: June 29th, 2010] [Originally Added On: June 29th, 2010]
- 002 Blindness Cured? - Video [Last Updated On: October 18th, 2011] [Originally Added On: October 18th, 2011]
- 003 Blindness Study Opens the Door for Further Stem Cell Trials [Last Updated On: January 28th, 2012] [Originally Added On: January 28th, 2012]
- 004 Stem Cell Treatment Helps on Blindness [Last Updated On: February 7th, 2012] [Originally Added On: February 7th, 2012]
- 005 Dame Judi Dench Battling Blindness [Last Updated On: February 22nd, 2012] [Originally Added On: February 22nd, 2012]
- 006 Stem cell repair kit for glaucoma could mean a treatment for the most common cause of blindness [Last Updated On: March 8th, 2012] [Originally Added On: March 8th, 2012]
- 007 Dublin team creates collagen and stem cell barrier against blindness [Last Updated On: March 12th, 2012] [Originally Added On: March 12th, 2012]
- 008 Irish research blindness breakthrough [Last Updated On: April 22nd, 2012] [Originally Added On: April 22nd, 2012]
- 009 Stem Cell Operation Attempts To Heal Corneal Blindness [Last Updated On: May 23rd, 2012] [Originally Added On: May 23rd, 2012]
- 010 Some Heavy Kids at Risk of Blindness [Last Updated On: May 25th, 2012] [Originally Added On: May 25th, 2012]
- 011 Blindness breakthrough as scientists turn stem cells into the tissue that allows humans to see [Last Updated On: June 14th, 2012] [Originally Added On: June 14th, 2012]
- 012 A Struggling Artist's Fall-Back Career: Curing Blindness [Last Updated On: June 18th, 2012] [Originally Added On: June 18th, 2012]
- 013 From Cloning 'Dolly the Sheep' to Curing Blindness, Scotland is on the Forefront of Life Science Discoveries [Last Updated On: June 18th, 2012] [Originally Added On: June 18th, 2012]
- 014 UW discovery could be cure for some blindness [Last Updated On: July 26th, 2012] [Originally Added On: July 26th, 2012]
- 015 Stem-cell research: $37 million [Last Updated On: September 7th, 2012] [Originally Added On: September 7th, 2012]
- 016 Stem cells improve visual function in blind mice [Last Updated On: October 2nd, 2012] [Originally Added On: October 2nd, 2012]
- 017 Blind Mice Get Experimental Stem Cell Treatment For Blindness [Last Updated On: October 3rd, 2012] [Originally Added On: October 3rd, 2012]
- 018 25. Medical Biotechnology: Part Ib. Stem Cells-Therapy and Medical Research NQ - Video [Last Updated On: November 6th, 2012] [Originally Added On: November 6th, 2012]
- 019 Perceptions of Promise art show opens at UAlberta - Video [Last Updated On: November 9th, 2012] [Originally Added On: November 9th, 2012]
- 020 ABC NEWS: Stem Cells Cure Blindness - Video [Last Updated On: November 25th, 2012] [Originally Added On: November 25th, 2012]
- 021 Stem Cell Treatment Restores Man's Vision - Video [Last Updated On: December 27th, 2012] [Originally Added On: December 27th, 2012]
- 022 Stem Cell Treatment Cures Blindness - Video [Last Updated On: May 30th, 2013] [Originally Added On: May 30th, 2013]
- 023 Trial to cure age related blindness to begin in London - Video [Last Updated On: July 6th, 2013] [Originally Added On: July 6th, 2013]
- 024 Can Stem Cells Cure Blindness? - Video [Last Updated On: July 24th, 2013] [Originally Added On: July 24th, 2013]
- 025 Stem-cell help for blindness - Video [Last Updated On: March 30th, 2014] [Originally Added On: March 30th, 2014]
- 026 Stem-cell treatment for blindness - Video [Last Updated On: March 30th, 2014] [Originally Added On: March 30th, 2014]
- 027 Stem Cells, Blindness And Why The Media Loves Miracle Cures - Video [Last Updated On: October 17th, 2014] [Originally Added On: October 17th, 2014]
- 028 Can Stem Cell Injections Cure Blindness? - Video [Last Updated On: October 20th, 2014] [Originally Added On: October 20th, 2014]
- 029 P-SPAN #411: "Treating Blindness with Stem Cells" - Video [Last Updated On: March 6th, 2015] [Originally Added On: March 6th, 2015]
- 030 Color blindness - Wikipedia, the free encyclopedia [Last Updated On: May 19th, 2015] [Originally Added On: May 19th, 2015]
- 031 Blindness (Blindness, #1) by Jos Saramago Reviews ... [Last Updated On: May 19th, 2015] [Originally Added On: May 19th, 2015]
- 032 Vision Impairment and Blindness: MedlinePlus [Last Updated On: May 19th, 2015] [Originally Added On: May 19th, 2015]
- 033 Blindness - Wikipedia, the free encyclopedia [Last Updated On: May 19th, 2015] [Originally Added On: May 19th, 2015]
- 034 Blindness (Harvest Book): Jose Saramago: Amazon.com: Books [Last Updated On: May 20th, 2015] [Originally Added On: May 20th, 2015]
- 035 Banner Blindness: Old and New Findings, 10-year research ... [Last Updated On: May 22nd, 2015] [Originally Added On: May 22nd, 2015]
- 036 Blindness - KidsHealth [Last Updated On: June 1st, 2015] [Originally Added On: June 1st, 2015]
- 037 Blindness (film) - Wikipedia, the free encyclopedia [Last Updated On: June 1st, 2015] [Originally Added On: June 1st, 2015]
- 038 Blindness: Get Facts About Causes of Vision Loss [Last Updated On: June 1st, 2015] [Originally Added On: June 1st, 2015]
- 039 How are color blindness see the rainbow? - For... [Last Updated On: June 15th, 2015] [Originally Added On: June 15th, 2015]
- 040 Prosopagnosia - Wikipedia, the free encyclopedia [Last Updated On: July 5th, 2015] [Originally Added On: July 5th, 2015]
- 041 The Four Frames of Color-Blindness Laura Bestler [Last Updated On: July 8th, 2015] [Originally Added On: July 8th, 2015]
- 042 Genre Blindness - TV Tropes [Last Updated On: July 8th, 2015] [Originally Added On: July 8th, 2015]
- 043 Glaucoma Service Foundation to Prevent Blindness [Last Updated On: July 12th, 2015] [Originally Added On: July 12th, 2015]
- 044 Onchocerciasis - Wikipedia, the free encyclopedia [Last Updated On: July 12th, 2015] [Originally Added On: July 12th, 2015]
- 045 Blindness (2008) - Rotten Tomatoes [Last Updated On: August 1st, 2015] [Originally Added On: August 1st, 2015]
- 046 Do you suffer from face blindness? Seven signs and ... [Last Updated On: August 5th, 2015] [Originally Added On: August 5th, 2015]
- 047 Inattentional blindness - Wikipedia, the free encyclopedia [Last Updated On: August 29th, 2015] [Originally Added On: August 29th, 2015]
- 048 Blindness in Dogs - WebMD [Last Updated On: September 1st, 2015] [Originally Added On: September 1st, 2015]
- 049 blindness | medical condition | Britannica.com [Last Updated On: September 1st, 2015] [Originally Added On: September 1st, 2015]
- 050 Blindness | ASPCA [Last Updated On: September 1st, 2015] [Originally Added On: September 1st, 2015]
- 051 Blindness | DO-IT - University of Washington [Last Updated On: September 1st, 2015] [Originally Added On: September 1st, 2015]
- 052 Blindness - RightDiagnosis.com [Last Updated On: September 1st, 2015] [Originally Added On: September 1st, 2015]
- 053 Blindness Symptoms, Diagnosis, Treatments and Causes ... [Last Updated On: September 1st, 2015] [Originally Added On: September 1st, 2015]
- 054 Blindness: Types, Causes & Symptoms - Healthline [Last Updated On: September 1st, 2015] [Originally Added On: September 1st, 2015]
- 055 Social-Security-Disability-Forum: Blindness and Vision ... [Last Updated On: September 16th, 2015] [Originally Added On: September 16th, 2015]
- 056 Vischeck: About Vischeck [Last Updated On: September 17th, 2015] [Originally Added On: September 17th, 2015]
- 057 Visual impairment - Wikipedia, the free encyclopedia [Last Updated On: September 25th, 2015] [Originally Added On: September 25th, 2015]
- 058 WHO | Micronutrient deficiencies [Last Updated On: October 26th, 2015] [Originally Added On: October 26th, 2015]
- 059 Blindness (2008) - Plot Summary - IMDb [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 060 Prevalence Color Blindness [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 061 318. On His Blindness. John Milton. The Oxford Book of ... [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 062 Free Oedipus the King Blindness Essays and Papers [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 063 Leading Causes of Blindness [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 064 Color Blindness Tests and Facts - Archimedes Laboratory [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 065 Is Acupuncture a Beneficial Treatment for Retinitis ... [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 066 Blindness and vision loss - NHS Choices [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 067 Blindness (novel) - Wikipedia, the free encyclopedia [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 068 Discover - Blindness and Vision Loss Research [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 069 Health Article - What causes blindness? 23 possible ... [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 070 Blindness - Kids Health: [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 071 Margaret Heffernan: The dangers of "willful blindness ... [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 072 Blindness (2008) - Full Cast & Crew - IMDb [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 073 Change blindness - Wikipedia, the free encyclopedia [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 074 Blindness - Medical Disability Guidelines [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 075 inattentional blindness (aka inattention blindness)- The ... [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 076 Eye on the Cure - Blog of the Foundation Fighting Blindness [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 077 Blindness Symptoms, Causes, Treatment - MedicineNet [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 078 BLINDNESS by Jose Saramago - Webster University [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 079 Inattentional blindness - Scholarpedia [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]
- 080 Prevention of Blindness and Visual Impairment - WHO [Last Updated On: August 4th, 2016] [Originally Added On: August 4th, 2016]