Skip to content

Commit fa58f9a

Browse files
CopilotStan2032
andcommitted
feat: add aria-current='step' to QuickStartGuide active pagination dot
Co-authored-by: Stan2032 <68326386+Stan2032@users.noreply.github.com>
1 parent 5972fba commit fa58f9a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/QuickStartGuide.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ const QuickStartGuide = () => {
194194
key={idx}
195195
onClick={() => setCurrentStep(idx)}
196196
aria-label={`Go to step ${idx + 1}`}
197+
aria-current={idx === currentStep ? 'step' : undefined}
197198
style={{ minWidth: 6, minHeight: 6 }}
198199
className={`w-1.5 h-1.5 rounded-full transition-colors ${
199200
idx === currentStep

0 commit comments

Comments
 (0)