Expectation: aria-posinset, aria-setsize, aria-expanded, and aria-level should all be allowed on role="row", but only when descending from a treegrid.
Actual: aria-posinset and aria-setsize always cause an allowed attribute error on row, while aria-expanded and aria-level never do.
You can see the false positives on the aria-practices example on this page: https://w3c.github.io/aria-practices/examples/treegrid/treegrid-1.html. If you change the parent role to grid then run the test again, you can see that aria-expanded and aria-level are not flagged.
Motivation:
Valid treegrid attributes are getting errors flagged, resulting in a stream of bad bugs, and some easily-caught errors like aria-expanded or aria-level on grids and tables are not flagged.
Expectation:
aria-posinset,aria-setsize,aria-expanded, andaria-levelshould all be allowed onrole="row", but only when descending from atreegrid.Actual:
aria-posinsetandaria-setsizealways cause an allowed attribute error onrow, whilearia-expandedandaria-levelnever do.You can see the false positives on the aria-practices example on this page: https://w3c.github.io/aria-practices/examples/treegrid/treegrid-1.html. If you change the parent role to
gridthen run the test again, you can see thataria-expandedandaria-levelare not flagged.Motivation:
Valid treegrid attributes are getting errors flagged, resulting in a stream of bad bugs, and some easily-caught errors like
aria-expandedoraria-levelon grids and tables are not flagged.