MDL-77903 gradereport_grader: Keyboard accessibility

This commit is contained in:
Mathew May 2023-04-19 10:16:04 +08:00
parent ad401db0f8
commit f9c6548189
13 changed files with 124 additions and 30 deletions

View file

@ -220,7 +220,8 @@ XPATH
.//*[@role='menuitem'][%titleMatch% or %ariaLabelMatch% or text()[contains(., %locator%)]]
XPATH
, 'option_role' => <<<XPATH
.//*[@role='option'][%titleMatch% or %ariaLabelMatch% or text()[contains(., %locator%)]]
.//*[@role='option'][%titleMatch% or %ariaLabelMatch% or text()[contains(., %locator%)]] |
.//*[@role='option']/following-sibling::label[contains(., %locator%)]/preceding-sibling::input
XPATH
, 'question' => <<<XPATH
.//div[contains(concat(' ', normalize-space(@class), ' '), ' que ')]