The disabled
attribute should be in the template and removed by JavaScript.
The aria-selected
and tabindex
attributes are updated when the active button
changes.
Active buttons have aria-selected="true" tabindex="0"
Inactive buttons have aria-selected="false" tabindex="-1"
When the active button
has tab focus the arrow keys should cycle through buttons.