aria-posinset and aria-setsize examples

div with role=article and aria-posinset=10 Correct

Content

div with role=listitem and aria-posinset=10 Correct

div with role=option and aria-posinset=10 Correct

Content

div with role=menuitem and aria-posinset=10 Correct

div with role=menuitemcheckbox and aria-posinset=10 Correct

Content

div with role=menuitemradio and aria-posinset=10 Correct

Content

div with role=radio and aria-posinset=10 Correct

div with role=tab and aria-posinset=10 Correct

div with role=treeitem and aria-posinset=10 Correct

Content

div with role=link and aria-posinset=10 Fail

Content

div with no role and aria-posinset=10 Fail

Content

div with role=tab, aria-setsize=100 and aria-posinset=10 Correct

div with role=tab, aria-setsize=100 Fail

div no role and aria-setsize=100 Fail

Content

div with role=link, aria-setsize=100 and aria-posinset="10" Fail

Content

div with role=link, aria-setsize=100 and no aria-posinset="10" Fail

Content