Skip to content

Commit bbeff5b

Browse files
Update core/src/components/checkbox/checkbox.tsx
Co-authored-by: Brandy Smith <[email protected]>
1 parent 007391b commit bbeff5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/components/checkbox/checkbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ export class Checkbox implements ComponentInterface {
277277
aria-labelledby={hasLabelContent ? inputLabelId : null}
278278
aria-label={!hasLabelContent ? inheritedAttributes['aria-label'] || 'checkbox' : null}
279279
aria-disabled={disabled ? 'true' : null}
280-
tabindex={disabled ? '-1' : '0'}
280+
tabindex={disabled ? undefined : 0}
281281
onKeyDown={this.onKeyDown}
282282
class={createColorClasses(color, {
283283
[mode]: true,

0 commit comments

Comments
 (0)