Skip to content

posinset/setsize for radiogroups #598

Description

@slender789

Given:

<input name=test type=radio>radio1</input>
<input name=test type=radio>radio2</input>
<input name=test type=radio>radio3</input>
<input name=test type=radio>radio4</input>
<input name=test type=radio>radio5</input>
<input name=test type=radio>radio6</input>

html AAM says
"With aria-setsize value reflecting number of type=radio input elements within the radio button group and aria-posinset value reflecting the elements position within the radio button group."

The radio button group is defined by the html standard:

  • The input element b's type attribute is in the Radio Button state.
  • Either a and b have the same form owner, or they both have no form owner.
  • Both a and b are in the same tree.
  • They both have a name attribute, their name attributes are not empty, and the value of a's name attribute equals the value of b's name attribute.

Now, given:

<div role="radiogroup">
  <input name=test type=radio>radio1</input>
  <input name=test type=radio>radio2</input>
  <input name=test type=radio>radio3</input>
</div>
<div role="radiogroup">
  <input name=test type=radio>radio4</input>
  <input name=test type=radio>radio5</input>
  <input name=test type=radio>radio6</input>
</div>

neither html AAM nor core AAM give any guidance.

Should the role=radiogroup alter the computation of posinset/setsize by treating them as two isolated radiogroups?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions