Skip to content

Commit 1ef34c0

Browse files
fix: added role presentation to hr tag (#937)
* fix: added role presentation to hr tag * removed role preentation * fix: updated snapshot --------- Co-authored-by: ypatadia-eightfold <[email protected]>
1 parent 9031035 commit 1ef34c0

File tree

2 files changed

+453
-1
lines changed

2 files changed

+453
-1
lines changed

src/components/Stepper/Stepper.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ export const Stepper: FC<StepperProps> = React.forwardRef(
802802
size === StepperSize.Small &&
803803
layout === 'horizontal' && (
804804
<hr
805-
aria-hidden="true"
805+
aria-hidden='true'
806806
className={mergeClasses([
807807
styles.separator,
808808
{
@@ -824,6 +824,7 @@ export const Stepper: FC<StepperProps> = React.forwardRef(
824824
<li className={styles.step}>
825825
{layout === 'vertical' && (
826826
<hr
827+
role='presentation'
827828
className={mergeClasses([
828829
innerSeparatorClassNames,
829830
(styles as any)[`${step.size}`],
@@ -834,6 +835,7 @@ export const Stepper: FC<StepperProps> = React.forwardRef(
834835
)}
835836
{size !== StepperSize.Small && (
836837
<hr
838+
role='presentation'
837839
className={mergeClasses([
838840
innerSeparatorClassNames,
839841
(styles as any)[`${step.size}`],

0 commit comments

Comments
 (0)