[a11y] EuiButtonGroup
should not be a radio group per recent industry discussion
#7101
Labels
accessibility - screen reader
accessibility
good first issue
low hanging fruit
An issue, often a bug, that is lower effort and clearly ought to be fixed
Link to component: https://elastic.github.io/eui/#/navigation/button#button-groups
When
EuiButtonGroup
is a single selection component (vs multi-select), it becomes an<input type="radio">
group under the hood. However, a recent Twitter discussion by Lea Verou and Léonie Watson (both prominent members of the frontend/accessibility community) have come to the conclusion that this is in fact unintuitive and should not be done (emphasis in quotes is mine):Copying a Tweet from Leonie with implementation details:
Full article and writeup: https://lea.verou.me/blog/2022/07/button-group/
The text was updated successfully, but these errors were encountered: