We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f1f661 commit cfaf9a7Copy full SHA for cfaf9a7
addon/components/radio-group.js
@@ -173,9 +173,10 @@ export default class RadioGroupComponent extends Component {
173
174
_setActiveOption(option) {
175
if (option) {
176
+ option.element.focus();
177
this.activeOption = option;
178
this.activeValue = option.value;
- option.element.focus();
179
+ this.setTabIndex();
180
this.onChange(option.value);
181
}
182
addon/components/radio-group/-option.hbs
@@ -1,4 +1,3 @@
1
-{{! template-lint-disable no-positive-tabindex}}
2
<div
3
id={{this.id}}
4
ariaLabel={{@value}}
@@ -13,5 +12,4 @@
13
12
...attributes
14
>
15
{{yield}}
16
-</div>
17
-{{! template-lint-enable no-positive-tabindex}}
+</div>
0 commit comments