avh4 / avh4/elm-program-test

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

Open
#156 0 comments 0 reactions 0 assignees View on GitHub
discussion
Dominant language
Elm
Stars
95
Forks
28
PR merge metrics
No merged PRs in 30d

Description

```html


A

```

```elm
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?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the behavior of ProgramTest.clickButton, fillIn, and related helpers against the provided aria-hidden example. Decide whether accessibility-hidden subtrees should be excluded, then add coverage for the chosen behavior and document what the helpers should do.

Written by the indexing model from the issue text.

Assessment

Tech stack
elm
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.