Commit ffa45d0
committed
docs(template-no-unsupported-role-attributes): document specificity heuristic
The "pick entry with most attribute constraints satisfied" resolution is a
heuristic, not a spec-documented approach. aria-query's elementRoles is an
unordered Map; aria-query does not publish a resolution order for
multi-match cases. Name the inference, cite the motivating bug cases, and
note that if aria-query ever publishes resolution semantics we should
switch to those.1 parent 088ab85 commit ffa45d0
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
55 | 65 | | |
56 | 66 | | |
57 | 67 | | |
| |||
0 commit comments