discourse/app/assets/javascripts/wizard/templates/components/radio-button.hbs
Kane York 0fccea3762
FIX: Keyboard navigation fixes in setup wizard (#9413)
- Delete a positive tabindex from a reused component
 - Copy :hover styles to :focus
 - Replace an 'outline: 0' rule with a TODO for a custom :focus style

Discovered while fixing the no-positive-tabindex lint.
2020-04-16 12:01:11 -07:00

18 lines
336 B
Handlebars

<div class="radio-area">
<input type="radio" name={{label}}>
<span class="radio-label">
{{#if icon}}
{{d-icon icon}}
{{/if}}
{{label}}
</span>
{{#if extraLabel}}
<span class="extra-label">
{{html-safe extraLabel}}
</span>
{{/if}}
</div>
<div class="radio-description">
{{description}}
</div>