Skip to content

Commit

Permalink
EPMRPP-93028 || code review fix - 1
Browse files Browse the repository at this point in the history
  • Loading branch information
maria-hambardzumian committed Oct 8, 2024
1 parent c121c74 commit d2b95a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/checkbox/checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const Checkbox: FC<CheckboxProps> = ({
{...rest}
/>
<span
aria-labelledby="rp-ui-kit-checkbox-label"
aria-labelledby={checkboxLabelId}
role="checkbox"
aria-checked={value}
className={cx('control', {
Expand Down
2 changes: 1 addition & 1 deletion src/components/radio/radio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const Radio: FC<RadioProps> = ({
/>
<span
role="radio"
aria-labelledby="rp-ui-kit-radio-label"
aria-labelledby={radioLabelId}
aria-checked={isChecked}
className={cx('toggler', {
disabled: option.disabled,
Expand Down
2 changes: 1 addition & 1 deletion src/components/toggle/toggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const Toggle: FC<ToggleProps> = ({
{...rest}
/>
<div
aria-labelledby="rp-ui-kit-toggle-label"
aria-labelledby={toggleLabelId}
role="checkbox"
aria-checked={value}
className={cx('slider', 'round')}
Expand Down

0 comments on commit d2b95a0

Please # to comment.