guergana.tzatchkova added a comment.

  This article 
<https://www.deque.com/blog/writing-automated-tests-accessibility/> discusses 
some considerations on the use of focus in unit tests (jext-axe) vs integration 
tests (cypress-axe).
  
  >> It’s debatable whether a unit test should assert actual focus in the DOM, 
such as `document.activeElement` being an expected element. Unit testing tools 
frequently fail at the task, and you’ll end up chasing down bugs related to 
your test harness instead of writing useful test cases.
  
  If we are considering testing focus of the dom this should be taken into 
consideration.

TASK DETAIL
  https://phabricator.wikimedia.org/T303806

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: guergana.tzatchkova
Cc: guergana.tzatchkova, ItamarWMDE, Michael, Lucas_Werkmeister_WMDE, Aklapper, 
Astuthiodit_1, karapayneWMDE, bwang, Invadibot, Mooeena, maantietaja, 
Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, Mahir256, QZanden, 
Orienteerix, LawExplorer, Flycatchr, Zppix, _jensen, rosalieper, Bodhisattwa, 
Scott_WUaS, Volker_E, Wikidata-bugs, aude, Dinoguy1000, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to