A11yAdvent Day 22: Interactive Widgets

For the most part, the web is accessible by default. That means properly structured content should go a long way and be perceivable and consumable by everyone, regardless of how they browse the web.
As we make sites and applications more and more inter…


This content originally appeared on Hugo “Kitty” Giraudel and was authored by Hugo “Kitty” Giraudel

For the most part, the web is accessible by default. That means properly structured content should go a long way and be perceivable and consumable by everyone, regardless of how they browse the web.

As we make sites and applications more and more interactive however, accessibility sometimes suffer. Basically, anything that needs to be developed by hand because it is not natively supported by the web platform is at risk of causing accessibility issues down the line. Whether it is because of designers’ lack of awareness, or developers’ shotcoming in face of a difficult technical challenge.

When adding interaction to a page that goes beyond links and forms, we have to be cautious and proceed carefully. First of all, is the solution really the best one or is there something simpler and more straightforward? Interactive widgets such as tabs, dialogs and toggles come at a cost: usability, clarity and performance.

If you must though, rely on battle-tested implementations instead of rolling your own. While a dialog might seem as simple as displaying an element on top of the page, there is actually a lot of work going on there, and unless you’ve read the specifications or are well aware of the intricacies of such widget, you are most likely going to implement it incorrectly.

Here is a collection of unflavoured JavaScript suggestions if you must implement an interactive widget:

If you don’t mind something a bit more rough around the edges, you could check the WCAG Authoring Guidelines which have an entire sections dedicated to understanding the expectations of interactive widgets. Scott O’Hara also maintains accessible components on GitHub. Once again, avoid rolling your own implementation if you can, and use an accessible solution instead.


This content originally appeared on Hugo “Kitty” Giraudel and was authored by Hugo “Kitty” Giraudel


Print Share Comment Cite Upload Translate Updates
APA

Hugo “Kitty” Giraudel | Sciencx (2020-12-22T00:00:00+00:00) A11yAdvent Day 22: Interactive Widgets. Retrieved from https://www.scien.cx/2020/12/22/a11yadvent-day-22-interactive-widgets/

MLA
" » A11yAdvent Day 22: Interactive Widgets." Hugo “Kitty” Giraudel | Sciencx - Tuesday December 22, 2020, https://www.scien.cx/2020/12/22/a11yadvent-day-22-interactive-widgets/
HARVARD
Hugo “Kitty” Giraudel | Sciencx Tuesday December 22, 2020 » A11yAdvent Day 22: Interactive Widgets., viewed ,<https://www.scien.cx/2020/12/22/a11yadvent-day-22-interactive-widgets/>
VANCOUVER
Hugo “Kitty” Giraudel | Sciencx - » A11yAdvent Day 22: Interactive Widgets. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2020/12/22/a11yadvent-day-22-interactive-widgets/
CHICAGO
" » A11yAdvent Day 22: Interactive Widgets." Hugo “Kitty” Giraudel | Sciencx - Accessed . https://www.scien.cx/2020/12/22/a11yadvent-day-22-interactive-widgets/
IEEE
" » A11yAdvent Day 22: Interactive Widgets." Hugo “Kitty” Giraudel | Sciencx [Online]. Available: https://www.scien.cx/2020/12/22/a11yadvent-day-22-interactive-widgets/. [Accessed: ]
rf:citation
» A11yAdvent Day 22: Interactive Widgets | Hugo “Kitty” Giraudel | Sciencx | https://www.scien.cx/2020/12/22/a11yadvent-day-22-interactive-widgets/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.