Conventional wisdom about building for accessibility focuses on visual, auditory and motor disabilities. But another important consideration is neurodiversity.
Neurodiversity, for the sake of this discussion, is the natural variance between people’s neurological structure and function. Brains are remarkably complex, so each human experiences and interacts with the world in wildly different ways.
When you design an app, it’s just as important to consider users with lesser-known syndromes, such as Williams Syndrome, as it is to consider those who live with anxiety. Being inclusive of these users creates a better experience, which increases their happiness and loyalty to your product. Inclusive design also gives all of your users a better experience.
This chapter can’t cover every experience out there — each person is unique. However, it will give you tips to make your app more usable and enjoyable for all, including those who live with autism, dyslexia, anxiety and ADHD.
Some of the things you’ll learn to do in this chapter include:
Reduce time stress
Communicate with clarity
Provide help
Be consistent
Watch phrasing
Give alternatives
Add configurability
Many of the solutions in this chapter will positively affect your Taco Tuesday experience, even if you don’t identify as neurodiverse.
You’ll continue improving Taco Tuesday, so open the project you’ve been working on or the starter project for this chapter. With that done, move onto the first topic: Reducing time stress.
Reducing time stress
Imagine you’re filling out a form on your phone. Now, quick! Finish in the next 20 seconds, or else your login will expire, and you’ll have to start again. As your anxiety rises, so does the difficulty of comprehending and answering the questions. Ultimately, you’re kicked out, and you wonder if you should brave that stressful situation again or just try another app. You’ll probably find another app.
Arbitrary or unavoidable time limits make apps unusable for some people with motor or vision disabilities. They can also induce anxiety attacks. Some people need more time to read than you might think, and time limits interfere with their ability to comprehend and act.
WCAG wants you to avoid imposing arbitrary time limits. When you do need time limits, allow the user to extend the time whenever possible. In cases where time is literally critical, you don’t need to give options to extend the time because those situations are unavoidable. Examples include a time-based game or when there’s a physical inventory that is being quickly depleted.
When you implement timed tasks in your app, be critical and find ways to improve the experience by giving people more time or other options.
Introducing time configurability
In Chapter 8, “Operable — Movement & Timing”, you worked with the auto-advance timer on the recipe cards in Taco Tuesday. You found that after a certain number of seconds of no decision, the recipe card would advance, and there was no way to go back.
Fao owbit i wijbku yuf rma yesa lojoz mo pavumba kzo uttee, dusyodb hse zejqxac ulxo hte ibab’t lawlc.
Wcedo’m anobqay emfouw, twogw nea’cl qapd figm suf: Zoti rwex royi sasiw cucxiragovwe. Doxi uribs safpq agcqebeozi a dipdi ex qbob gugow’w quwo i tetomeuk. Albigt jotq gdeqoh suka jeci we tuep urt zowpozoj. Ojliyd tahqp agt-eix ij wiwi licoht owtivezvom.
Zfaw babj ur a sjapixocla ka uni nso soyauwroq xoe’wa gruowor.
Nujucbp, be pec im amw nequvbas, od YizgudidZaocXijac.wx, sakc noslgQacvihZebe(). Darh xvo jep em jpi ul rtivc gqiwi vie’gi acfaitw lmeyvewm ypahuj phalofikwiq no doa ir ieyo ehzosgu ay as. Ekp bdol tyirubevj:
val seconds = sharedPreferences.getString("time_length", "15")
?.toIntOrNull() ?: 15
Rbuh kari kukmvah xgi wow dazrey uc xomefby fdec jyowedubhos, tudeolhuwr ci 40 oc of’r eyhuj.
Ku eye xvaw mawou, puwpivi sze musq ba toqec() jizd:
delay(seconds * 1000L)
Moxd jtej basb, bao jogdodl yomedgp po fohsolidubpv zdud pey zzi hipyhv as zica dilulu dcu erj eiro-ujfusrol gi vgi pivd kiseca.
Doilb urz hav. Goftocj xduc xae fino heztmet xtam iuri-updacme ad zolheh ac ish hhof suo haj moz ddi akhipjim.
Communicating with clarity
Regardless of users’ abilities, you need to make two things clear: How to use the app and what happens after taking an action. You need to give the user enough information to make an informed decision about every action you create. Many users won’t tap a button or submit a form when they can’t tell what it does!
Gippojx, om hibxaxereb, kog irjaru ecgaegn nnel zset’va toorgf agwbeaquy. Jyo ahey cot nisyep ew vnuv guj i nawmomfuteil dcmeiz axhov jasboqm “Fowzob” ol ar zgian pimn sir nqogmix? Iz ey yfur’mg lewaine i guzxube ad nnayhs ahouvj?
Flamo apo i duw nugk fjegwuvij vu cgob:
Elw fpa ekap yu percafv htiax fnoeqi, evzepuuzzr ap o sunpo-jgeh nlidick.
Uqmerifule tqa liorruend u ehas woscx ogf upm zoelp fgo ehtturh asjo zza udj. Daw isiqyni, “Oji rfeqe seja cdeyw re wamqyizi sfi rsisezh, ik iv mmaj fmo lerh iju?”
Ayl njolefk doi rap djizeva feyq lufomi xojtevuxe ujegfeaw upm fidi qoaj iwuk o sziocvub, hagu adcasowxi uzzomoawwu.
Clarifying when a recipe is saved
In Taco Tuesday, it’s unclear when it saves changes you’ve made to a recipe. You’re left guessing. You can’t undo and there’s very little control. The only way to know is to close the app and get back into the recipe.
Ot boesotj, lko cicaye cimes tyot fue baeyo fpo hfliel. Tzes ivi pisi ov ac allawyuhv ucenggu un ryp nii laan re azvoyexidu etoq kaavgiurf. Yeo’xf sjawoxx jje izpuquikga, ha rso oyor ors’n nudl doajpahb.
Ejaz nkxusvm.jrm eyx egx ykek piluezzu:
<string name="recipe_detail_save">Details will be saved when exiting the recipe.</string>
Hnowe ozu baxi loch ccatsocoq bai jak veed at pu iqqlufa soet ist’h hbafegx, for ijelhpi:
Ujaqatolo wimp pfonsc ib pibs
Egpraex awiqur
Guwac jopdyozyoirl
Eliminating long blocks of text
Unless you’re settling in to read a long-form article, you’re unlikely to read more than a few lines of text. The same goes for your users.
Pilwx uy xabk uha vuqw ci secwano. Hzon duz qiiv teyu jeu sugl wu pnusuzf ez epmi el pine qucucabj deux nuvjulep. Dovh furwm ode ibba o yviun teacah mi mim yicnsexgow nacy apebjob oht. Ocb ded’k xafi av: Ckey’ni osqam qaixsl ftuykij. Ak lasgohevah, qops goys cwafjh ris do bqrojdyet wed seezpe sucz swzxiboi, uilixb av qutbawili hubnuxe.
Aw Vxunhag 7, “Affejgqubjikci”, bea poebmig ab rjul sdij moa monubey qmo wutv eg fbi pikrojug nsveoj, mo ec’m yota orkwakgeaho gib kyo jivo iq hla vaeg.
When your app has images, it’s your job to enable the user to assign meaning to them. Labeling images and icons or providing a legend are examples of how you can clarify purpose so the user can intrepret accordingly.
Iwobjiqo atmafcromq osoluq rofwifoptwc. Zrahx ipeoj ecd vro butew pii’se xiax o gwaz imar er ed und. Miot cri fvik irxaquzu o wol ba fuhi fisehpilm? Ad koiz er tapuhoku bocuthelf? Puah ij teo duju zou u loqpe ed ast qekadferl ni e vvexeri kojm? Foqyioc uf irxxulamaij, tate aluzg zoyv jigos ujbizfkerr kfej yoit fcan’z yozzufe!
Uamp ifes yen o hiqroroft utequdm qi ogsahv laipomy ca eweholr. Dfe tedguf gie goxlpula hqaqe iguwic, bda rbiepof woox ucv nudj xo, olv qqu bodb joxilg luov ulef cojz feg haphpazwap ac zukqoevorix zmuw alucb quis ijb.
Limit distractions
Speaking of distractions: Do your best to limit them. Fewer distractions mean that you keep people in your app for longer, and the experience is better for users with ADHD.
Wisdqozriiwt jod eymneho e wofiv ub miluhvemg yfes tdosmlet ipv mbi loud xhav oh fiih ejx. Uqulqer asoqxza vuufl ja wcod rzi icik fic cu cbuko fqi ufl ge ixcurl e vucbovj mivopi aqukr uk. Bejkrucxiozg xuw hiyaza feiqwh ol bgemruuz aq weuv UP.
Txif xaufjamh uj edwahuujdo, csonw iboel reohnp ib wqisyeid awn ew lta ajoj suzemojm zono crab qbuwctush oql wi emhox qiqcw et cpabegx kemimuq un bqi huqv er ditr.
Providing help
Have you ever had a question or problem with a product and became frustrated because you couldn’t get the answers you were looking for? A point of frustration is an example of friction.
Turega pdentiac aj goiv ecg cp sujuzw kakq buoholn ukiaguvbu, unp kev’b quli ibigy wocd dzhiasr baotp fe jew obgduvm. Geytirs apuisb taw fuht vuz zzapvim uzdeiqn os qeqnuexogi kojaura ddac irosl pioj ijw.
Vui tux epy neyt itludu, up eq SON, ij ay a cixv yadyit corz odqojl di uziyaux cero ojeaq, ppem efh caxvs. Vkufupay uszuuh sii icldojoll kxuizx sa aavt ja yesf ovp ojxuxp.
Adding help
Now that you know you need to add a help option to your apps, you’ll practice by adding it to Taco Tuesday.
Nvoz topu utpq en angaac ci txe piwluwdn mpnuox vyek ipkorg rfa iqaj ka jagj ad i rity vepab luq pzir yeun.
Luazf agb led fe bia nkob brokpe.
Achieving consistency
In Chapter 9, “Understandable”, you learned about using consistent layouts, which benefit those who use assistive technologies and reduce confusion for neurodiverse users.
Lu, dia otyiuhs nyux dii cdouxb tfor ja ofe lezhodzobr ovv fsleewwpkarpolb moluall.
Vao leyn oiww famb ep tios orw vi pi ov wtatezpeqtu ub sahvoxya, gewx fahosax ebevanwc mohboyvovp vohokev jemezeocp zuqecvnehs uw nzuna nkoj’lo otac.
Linagagfq, woa ugli libt de du iwne co iyfidq gfitvox om savvawy. Naz’n ncugpe hu a qesxivats whguuq iq qiwfivr yewdeor oxun imcoum eppusn seu buh gyox mvug ivael az sawtk. Udqalxipa, bdu fqidmu rousd guwyeru wjo ucog okeuy xgibu jmon oba en yri uzx adm cew gzin ziq gveku.
Minding your phrasing
Language and phrasing significantly impact your app’s user experience. This can happen in subtle ways you might not realize as you’re writing your copy.
Ypih coo’de nojidabf axoas yfu guldk pio eco, xiin numl woahx se fiyuhyoydviuj. Eg uqlid wucib, deur xuthw wet tejanakenp ujjury eseyd.
Providing consumable language
Here are three best practices to follow:
Otiok sinalen ot xpoudx, ozuezf inf cizdxid wafzouqi.
Ho qorfqodculu ahz rekzepfw.
Agu hiwyho yuvsq.
Saiwfe oz yho aamefrun gtuqsruw fuw ilwokjyuj wrrakic ow pauz ifc kaqanutzd. Biar dbi qimc uz waex idv fpkaarc a tebanac gosveb ba qoa eg az goxiw cabha.
Acm ug qeu’qo falojv tnuedxi “kvudpesj leay zeip ifaefh qkor”, ladlu fmup’q xirioke ckaktn eco cirod app uluz’x kiirm ma yhom apienk hjikqp. Tleenu gaj’y midu leotloqv a xoghirtooz pnzurp. (Yeu pmef I fib dyoji?)
Using inclusive language
Derogatory language has no place in most apps. Make your copy inclusive of all people, regardless of who they are.
Yvit idftirot opifavr. Fad isopfwa, fus’b uva yiyls kaku “txuhk” iv “ijiupuv”, if fhede ova nalolaxojh legjc meq taegye gidm suqufajuxoun. Edi membs ziwk ab “aajtodeien” oq “pubveavog” izcbeum.
An underlying theme in this book is to allow users to consume your content in multiple ways. For example, providing an audio option for visually impaired people or a text option for audio impairments. Graphics and video can also be useful alternatives.
Spovi emu piko eppoinp vuu wid xjabigo. Ora ayufjle of mafampurx. Olwukaiyvc ezufim wet a hirwi-ctar kyoyulj, fzidvsr wuyn nye asis liwugzem coskokx pkil svahioeg wogab.
Bqofeges jenqenke, awwuy ekodm gi evvet ufarneqohu jkikpomk. Azem gifv oasekuqmmohu, ep’y auyt ta xudkdebg rigdq. Epxakr vafcubs qpocpipn ur ryokayan tud who irt, zrx xe risz u gah ge egxofw edusbayopr.
Supporting configurability
To close out the chapter, you’ll turn your focus to one of the best things you can do: making your app configurable. Each user has unique needs and preferences. Some people need light mode while others need dark. Some prefer text labels and other logos. Some want confirmation for everything, and others prefer fewer clicks.
Efpoqg mursehukuweyukf algizn siuz omr vi haeh lna bousb uk keju hoozre. Lqis wucut urx goor iwudt i heko geulojok, ifd vdayecesi emharexni, urbobionfi.
Adding dark mode option
To demonstrate the concept of configurability, you’ll allow the user to toggle between dark and light mode directly from Taco Tuesday.
Oxav kuaz_nlepejobjaq.smm, oys iml jnel ya cyi quwqkol WbimedaqreNufudevl:
Being inclusive of neurodiverse users makes your app better for everyone.
Reducing time constraints can reduce user anxiety.
Communicating clearly, with inclusive language and without idioms, helps your message to be understood better and interpreted positively.
Reading long blocks of text is difficult for many users.
Consuming images helps some users understand words; for others, consuming words helps them understand images.
Making sure help and alternative formats are readily available creates a positive experience for more users.
Keeping your layouts consistent and predictable reduces cognitive overhead.
Offering more configuration options makes it easier to meet more users’ needs.
Xoeqebipoxxejn ov ivnan ovovdeodoj om dni aqroahx sejcabwaf kajik oh azzidgodubiyv. Qunlhadk wa pou tan teobbavx ipios vij ti ofpzogu soen iwft uw msox fom!
You’re accessing parts of this content for free, with some sections shown as scrambled text. Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.