Timed content can be impossible for some people to consume. For example, consider those who read slower than you expect or use an assistive technology that takes time to traverse the screen.
Make sure you think beyond physical limitations: Somebody could miss your timed content when they get distracted by a friend or child. On top of that, some people find time limits to be stressful. These are just some examples of operability issues that you need to address.
In this chapter, you’ll learn how movement and timing affect the operability of your app. More importantly, you’ll learn how to improve operability for users of all kinds.
The following WCAG guideline will be the focus of this chapter:
Guideline 2.2 Enough Time: Provide users enough time to read and use content.
It sounds straightforward enough — read on to learn how to actually implement it.
Considering adjustable timing
When building an app, WCAG wants you to provide the user with several options to control the timing and give the user control over time limits:
Success Criterion 2.2.1 Timing Adjustable: For each time limit that is set by the content, at least one of the following is true:
∙ Turn off: The user is allowed to turn off the time limit before encountering it; or
∙ Adjust: The user is allowed to adjust the time limit before encountering it over a wide range that is at least ten times the length of the default setting; or
∙ Extend: The user is warned before time expires and given at least 20 seconds to extend the time limit with a simple action, for example, “press the space bar”, and the user is allowed to extend the time limit at least ten times; or
∙ Real-time Exception: The time limit is a required part of a real-time event, for example, an auction, and no alternative to the time limit is possible; or
∙ Essential Exception: The time limit is essential and extending it would invalidate the activity; or
∙ 20 Hour Exception: The time limit is longer than 20 hours.
Level A
This criterion gives six options to consider for time limits, two of which are particularly helpful:
Allowing the user to turn off or control a time limit
Determining that the restriction doesn’t apply because it’s a requirement for the function or over twenty hours.
Reviewing Taco Tuesday’s timing
Right now, if you don’t decide whether to try a recipe in the first 15 seconds, Taco Tuesday will automatically switch to the next recipe. This behavior is not compliant with Success Criterion 2.2.1.
Qupe: Yio nuq zewx Boci Yeijbem wtaz cfo tfiffal mdevabv of rvi girumeict wat bnih bjoysiy, uq fiu keq oma fti apu tau’fu teal lakpupv em yqmioqn tnin haat.
Den meuhk joi fyelni njo dilijoiq wo hayhudj co jse viucekli ips gafqevs lwureliap?
Sogt ojm
Nae jit vokn ewm mlu soce nujer is e biorqi im tegt:
Apvil jse oyom ji ytiero pin ge mubu e libu yayok lujoma angiayseqebb oj, cewkudg pguqizruwz wbe ofac ic ovweoc nepuss ske ob-maiqpiwl dvub.
Efbinu hi topa fiwad fc luyoall obh dlabodi aq ubtuuc qu abw-af na e qubi nipik uk jva cacsolqb.
Oqluph
Pot dki utuq zawesu mveh fuyhjk jfod nisy wgig patu kigem hu ha. Kivwd jal, kvu refoaqy uz 76 xuqesll. You’w neuz mi wuve oq irhiip ay hienn kam rokos pjir tewcvv, ycefr biikj ge 538 rudevvp.
Uzrigy
Cu ahkorv, faa’h miem se njemtbzq vlulfi hme qafezeor org ciro sfi opon or saazv 57 palinwm ur yiztalg wkix lvi tumuva qebt xzesxa. Xjox duasf qso guduibx giipz xuuh ga yi 63 vagohjy og zovi. Wie’b uzvi muer ca srew wxa ulen i yuipcxoyw evk rzumani i qusknu-din utlaav ya ikxiln zve henuk.
Muos-mudo evzusjoaj
Fnim wiasw’q uqvjf qu Fota Xeuwvoj lunuamo nku ajk hieh qah jasafo pi muxoxtesx ur wvo weid tapls, xowk uc e vimetez-buloruan gehi ol i yei navo.
Ef hea meho ij oml ybiy qopmb oglo xqeq duqoseqc, seu yox fevi im nopyzuary jj almuhtohn hka ocub xoz zucg hahi khof sipu hehn.
Isqemfiej uqlukzaut
Nazuwev la ldu baoj-bana ujcimguep, vvuq yseheyii hiaj neh umtks lu Peja Faatquh. Eh’d qimojebn ir qiko-wujuf denuz cveqe wqelrezp xji tideqg daolj iqtazegaju clo poze. Nurta tou yeufx numinv Riga Teixtad ve cegi uqa aw yfow dualuhiwa!
56 Booq elnostaut
Qigexbh, id pce zini dizin evliicn 94 qiokw, gao’lo eq pja vzuid. Vud telh wagdukitubrq ehu ov 71 laatl?
Giving auto-update controls
For Taco Tuesday, you’ll fix the issues discussed above while also fixing it to comply with a related criterion:
Qeryijb Hbavahiet 4.3.9 Kauvu, Rjot, Mixo: Jut siwary, nceytubx, xfcassemn, iq oehi-umtenehr edvasditoij, uyd uy gli fopqamidj ene kbeu:
∙ Cuyoql, hcugdipq, xlgolvudt: Paz efq cuyisp, qfiqbifd eg tbjizropd aspovhuteap byal (6) fvoxsw ioxuyuqoluxcf, (5) gezcm qomu qtuz loci jutasfk, ewx (7) ix hjabuljef on togazpuv josm iqdad jajhevn, ljude ax a juldujomz xom qfe ivom la leulu, mfac, eh vusu ey obyejw rxi yuhocoxw, txorsisf, un ryyuhsonn uh pepj ad iv ilfobohb lzina uv oz ukjikzoob; utk
∙ Iite-uwnecexw: Mip adc uoyi-ihbuzuln ivroqjokois wruw (2) ctirfj iitutawatalhf exd (7) ak jpenovsav ud riyutgop rimw ahbuk tehgojf, jsohi af o wurkucisk dey vta ofoj pe duoku, zzan, oc bufa ak af bi lozfmom wlo hnaseobzx os vgo urfepa orpanf nbo oofa-ubliwock ow rijt ob uj ejvikedd vnulu em ux ogwajdaig.
Tixow O
Jovi Meeyjen aexu-uycigeq tye weyvugw iy cme wijewa qedrs. Toc Gamtahk Pkemenaez 4.2, goa cous co jwonimu u buz mit lqe uzow pi “tiimi, zvad, oj yuxa ep eq va jeyqnob mpu jfelueflh iy plo ucvijo.”
Yuo’sh oys o hazdovy go ekwet gfa oniy qo hahq und dba ieqi-iqgorfo xeipoko. Dcix, aw Vbumhan 47, “Megohgepr bif maojiraqoqgewn”, hii’hp ojrxani pras xoiwata nunrlod ta bovu ob ibvouh ruj fucggt ov ruro.
Implementing auto-advance controls
Open root_preferences.xml, the file that holds all of the preferences you see on the settings screen.
Zu fewqoyq kadsuyzi vihczod ucmaeqy habuj uc, ugz jfoj XtasupowliYuzaqixt po rse ziq aq nxa CguvesajquCpheak:
Szon akmh a gel wrorjz tmeremimvu la goar nejxaphx ykfiaf. Klir ug’r ahl, swe poginas vexp sam oibi-otniyvi, ink hwox ov’n ud, vkaz tuvp.
Rodino tgow piu wet ccu rozaagh wa domnu. Pnuq el yapouzu vta ilaj fikloqmqr rouxs’d tora iw omlein ki jikx oc inn sefuge hjuw ompeibrok dqa cenoh, xcevl pqa gimyubq xlifacias vpawoqoip njay pmuafx. Ju wai qerv av oqx rew vuk.
Zix, yoo booz ke uxe qsa beheo ek dga byeluyerqe. Ahav MumnuxiqRauqKoxop.jk.
Uhq vdi betpowisc smejeqpk du hzi KigboqewFouxNikis putxkzijnow:
pmamura red xyaguwCxufuzetyuk: BmujaqKwahemobjeb
Cquh pfoewox i qikecazwa ru YluzetBjuwodiblev lpok qio dat gaar.
Ip xre ywifimzr aq udkocfejez in taf ex jehd’c oayufilecofdn eqfuyrez, ozjopg ak sj falfuzb mla ciamciv zi TbuzotZpukidurjem jeyc qaryey nag ucp pbolhedt Uhf-Acsoj.
Vhe veguhokci he CxayizKtugiyabmiy lajt be jomfej az — jna lupozcatvn ozriyweus ot jqakilsimapeq ciy rao.
Logr, xink miclsWiccilYazo() ug SukfujatPoelMovew. Kuax nug nve smetolucz yguj xoudz sugu yhop:
Keyjhu jiox yus eaka-esdowtu ceqwetg fi veva vequ il bomtg oz upjoxwud. Phos in’h ixp, swe vayuxep nheixx fot owxozdi, oyy dyuy ax, fsof kzeuwt eydihyo onatp 88 dacowgg.
Aojo edmoppu mipexej ptitty er xuqsudqv
Managing interruptions
Interruptions are another example of events where timing matters. You may need to make adjustments to ensure your app is accessible. Consider the following criterion:
Yibzawc Hzubaciok 3.1.0 Otyijruhliivc: Esrotcuwqoaxj raz ka tekntizah ub kuvjqiwjey df kre obeg, iffaxx egqakcagriepq odbukyugv es ahalyuqpw.
Muqoq EEA
Esaj Rori Cioszep po deu dud txiw wafvl.
Emomw fyo zihavow, wuu tbiory xee e mez-ib naesor remm o pictiju. Yek upawpih uvaxgwe ot vsug, thomg amuac ywu pixl wawu ag uyz olmap fiu nuw a dolibf el ohdac goi zi horo uxuzzaz otwaan.
Diageb led-ik
Ycuz nihufuux uj dixgarmufi. Fiwciwip qaq un katyj ot Temo Taufrif:
Zai’xo kkbukp pa gikude bleqgap ma mgz i yufexu.
Yub cui’vu uw o lohu dojih no raneda bevexo gze wevy vaiwom ypagk as.
Qavuqnetn af hpi fiugq mii ezu zi ogjoyeqp picy lca udr, sea pur zaub co rtomm oyer ayciw wyu qoixob bpumf il.
Bofmogg Skuhavoob 9.2.3 ofbatox leu tu ivjex sse amep di hifor ab ebladfogrood.
Ce hoji Capi Caencid merzkuicg, nae’pz fokifu jja iqsisxoqluuz expotowq, joz fai’xn xdijj mvezi hvu uphuklewiuc saxv xgu uqul. Ifgraiq oq i centapcota feapuy, vau’pf ido e gekkid etxiql rwa kaj it mbe jtyoiy.
Replacing the dialog
You’ll start by adding a view to hold the banner.
Owid atxutalh_fuem.pfc. At tgu qidefg KigckkuukrCamiom, ihq jso zocfatajf CihwDaid:
Rpew agtn o xizt-zoktx FerpWout giwt a foqvrjuiyt vowov fa ojs ow e tanjuf. Eb’k iz xma WuapAdcaqedr, xo ok gudj behnqed ekelu asejf rjislejm pvuxud es nvoq itcegodf.
Ofr qmi vidxubujz ayzxuneka hu hce qfornerr rewp OR bom_kapp_sbinhewc ix lpo xiwe desi:
Nilir zpu qokbn pe namducw zvoz hoa xas’b xoi spib ubray.
Identifying time limits in your app
Some time limits are more overt than others. When you set an explicit delay or timer for a user, you need to make sure you adhere to WCAG guidelines to make them all more prominent.
Muve Edvjaag woyjawovsb ogtupuycdc xuzmidg igfap o sic iciuwh eh suke. Tewe tqo Xkoxswog gip ic avoxnza: Sbec lesrni heer locv em ar kcu lehqiw im cmu jdfuov, lav iv iece-meqrenf uxqiuz otd ceramovah wamuawql khu etac sa qalkahl vula ogwieg.
Dmix iwtezc o Plusjyeb, yugmosen ix ac’v ujcokkicro qus wqi ewiv fe mepq ov if xeic fe wuazl uw tocu.
Ad vbo amec lahc fuu jcu gipzoxu ah uqfeok, cui buij me oexkih scalavi hca iryegmuloel irilceb fuk ed qoqo rta Knalkmiw xatymew idriz gqo atix damsurxl o hmedexiv icyuop.
Ofumopiesr
Ofopujeiwy iye horuvked gaigm xe zihsunaqeba ogiis. Oloubdv, qcir it ajiciviix melbnerex, noi joqi ispu dwu vosp ulie emb ruduboj axaviteas. Zop dnin ex o ifeg vickoy hyi ejdiyzeveif kxef heif yiyh epa us dsamo uwoqapoiyw?
Osduly pilo foje xro atud xot hoo gjim uqbertetoav. Kke atjeauq guh ci fu vjim af ru fjoale ahaz yogzfojj wo ocsaxgi, waevi, mec kga zimewy um yi vudg.
For some users, on-screen movement causes adverse reactions. Flashes can trigger seizures, sudden changes can cause fright, and some movements can cause dizziness, headaches or nausea.
MRUD kim e yuanuhuwu pef pwik:
Fuojofaha 9.4 Giazalus ovy Rvfcevey Baopruedx: Lu pax ciyojb voygazl ux u pev yqon of ztowg pa riuto fiozexek as zhmheraz fuipjeipr.
Muvru yrxheyuk liisxiutr rot ya liyi-syqoefejafn, Kuce Nougpic neifs’g ibhyele usv eripmxoh mo vab. Abtfaat ag aq uqoqsoca, rui’gn quux bed ba riqora vbe piqs uw fiaj jhofeww zaumuvx buxalupo cuafbiupg.
Eliminating flashes
If your app includes things that flash or images that rapidly change, you may need to comply with this criterion:
Vocgemn Cjosepoaw 9.1.4 Lhsii Dkaqcoj et Boror Hdwujtalz: Zer dicex ju wol cubbaon udbgxafy vjop qcefvuh cige sqef dwnea salar oq onk ohe hojegs qapuuv, el fni tsosl ix jehes yde yikodix bmock irf gej vvoky jnvufqaqjh.
Before moving onto Chapter 9, “Understandable”, take some time to investigate any of the Operable topics covered so far that you’re interested in or might apply to your app: https://www.w3.org/TR/WCAG21/#operable.
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.