avh4 / elm-program-test

Test Elm programs
https://elm-program-test.netlify.com/
MIT License
93 stars 27 forks source link

should aria-hidden subtrees be ignored by clickButton, fillIn, etc? #156

Open avh4 opened 2 years ago

avh4 commented 2 years ago
<body>
    <div aria-hidden=true>
        <button>A</button>
    </div>
</body>
ProgramTest.clickButton "A"

Should the clickButton fail because its inside an aria-hidden=true element? I think that doesn't really make sense because isn't the button still visible on the page (even though hidden from accessibility tools) unless there is also CSS applied to hide it visually?