Skip to content

🎨 Palette: [μ ‘κ·Όμ„± 및 UX κ°œμ„ ] prefers-reduced-motion 지원 및 ν˜Έλ²„ νŠΈλžœμ§€μ…˜ μΆ”κ°€#61

Open
seonghobae wants to merge 3 commits into
mainfrom
palette-a11y-reduced-motion-3415711822659289451
Open

🎨 Palette: [μ ‘κ·Όμ„± 및 UX κ°œμ„ ] prefers-reduced-motion 지원 및 ν˜Έλ²„ νŠΈλžœμ§€μ…˜ μΆ”κ°€#61
seonghobae wants to merge 3 commits into
mainfrom
palette-a11y-reduced-motion-3415711822659289451

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

πŸ’‘ What

  • 전역적인 @media (prefers-reduced-motion: reduce) 섀정을 μΆ”κ°€ν•˜μ—¬ μ• λ‹ˆλ©”μ΄μ…˜κ³Ό λΆ€λ“œλŸ¬μš΄ μŠ€ν¬λ‘€μ„ μ œν•œν–ˆμŠ΅λ‹ˆλ‹€.
  • .site-nav a와 .intro-lnb a 링크 μš”μ†Œμ— ν˜Έλ²„ μ‹œ λΆ€λ“œλŸ¬μš΄ 색상 νŠΈλžœμ§€μ…˜ 효과λ₯Ό μΆ”κ°€ν–ˆμŠ΅λ‹ˆλ‹€.
  • .Jules/palette.md 저널에 μ „μ • κΈ°κ΄€ μž₯μ•  및 μ‹œκ°μ  μ•ˆμ •μ„±μ— λŒ€ν•œ κ΅ν›ˆμ„ μΆ”κ°€ν–ˆμŠ΅λ‹ˆλ‹€.
  • CHANGELOG.md에 κ΄€λ ¨λœ κ°œμ„  사항을 λͺ…μ‹œν–ˆμŠ΅λ‹ˆλ‹€.

🎯 Why

  • μ „μ • κΈ°κ΄€ μž₯μ• (vestibular disorder)κ°€ μžˆκ±°λ‚˜ ν™”λ©΄ μ „ν™˜μ— λ©€λ―Έλ₯Ό λŠλΌλŠ” μ‚¬μš©μžλ“€μ€ 운영체제 μ„€μ •μ—μ„œ 'μ• λ‹ˆλ©”μ΄μ…˜ μ΅œμ†Œν™”'λ₯Ό μ„ νƒν•©λ‹ˆλ‹€. 이λ₯Ό μ‘΄μ€‘ν•˜μ—¬ μ‚¬μš©μž κ²½ν—˜μ˜ λΆˆμΎŒκ°μ„ λ°©μ§€ν•˜κΈ° μœ„ν•¨μž…λ‹ˆλ‹€.
  • 마우슀 ν˜Έλ²„ μ‹œ 색상이 μ¦‰κ°μ μœΌλ‘œ λ³€ν•˜λŠ” 것보닀 λΆ€λ“œλŸ½κ²Œ λ³€ν•˜λŠ” νŠΈλžœμ§€μ…˜μ„ μ£Όμ–΄ 전체적인 UI의 미적 완성도와 μΈν„°λž™μ…˜μ˜ μ§ˆμ„ 높이기 μœ„ν•¨μž…λ‹ˆλ‹€.

πŸ“Έ Before/After

  • Before: λ„€λΉ„κ²Œμ΄μ…˜ 링크 ν˜Έλ²„ μ‹œ 색상이 즉각 λ³€κ²½λ˜μ—ˆμœΌλ©°, prefers-reduced-motion이 μ„€μ •λœ λΈŒλΌμš°μ € ν™˜κ²½μ—μ„œλ„ 슀크둀과 λͺ¨λ“  μ• λ‹ˆλ©”μ΄μ…˜μ΄ κΈ°λ³Έ μ‹œκ°„μœΌλ‘œ λ™μž‘ν–ˆμŠ΅λ‹ˆλ‹€.
  • After: λ„€λΉ„κ²Œμ΄μ…˜ 링크에 ν˜Έλ²„ μ‹œ 0.2초의 λΆ€λ“œλŸ¬μš΄ 색상 λ³€ν™˜μ΄ μ μš©λ©λ‹ˆλ‹€. μ‚¬μš©μžμ˜ μš΄μ˜μ²΄μ œμ—μ„œ μ• λ‹ˆλ©”μ΄μ…˜ μΆ•μ†Œλ₯Ό μ„€μ •ν•œ 경우, λͺ¨λ“  μ• λ‹ˆλ©”μ΄μ…˜κ³Ό λΆ€λ“œλŸ¬μš΄ 슀크둀 νš¨κ³Όκ°€ μ¦‰μ‹œ λΉ„ν™œμ„±ν™”λ˜μ–΄ νŽΈμ•ˆν•œ λ·°μž‰ κ²½ν—˜μ„ μ œκ³΅ν•©λ‹ˆλ‹€.

β™Ώ Accessibility

  • μ‚¬μš©μžμ˜ μ ‘κ·Όμ„± ν™˜κ²½ μ„€μ •(prefers-reduced-motion)을 적극적으둜 κ°μ§€ν•˜κ³  μ‘΄μ€‘ν•˜μ—¬ λͺ¨λ“  transition, animation μš”μ†Œμ˜ μž‘λ™ μ‹œκ°„μ„ 0.01ms둜 쀄이고 scroll-behaviorλ₯Ό auto둜 κ°•μ œν•©λ‹ˆλ‹€. 이λ₯Ό 톡해 μ‹¬κ°ν•œ μ›Ή μ ‘κ·Όμ„± μ§€μΉ¨(WCAG)을 μ€€μˆ˜ν•˜κ³  잠재적인 μ‹œκ°μ  μ–΄μ§€λŸ¬μ›€μ„ μœ λ°œν•˜λŠ” μš”μ†Œλ₯Ό μ™„μ „νžˆ μ°¨λ‹¨ν–ˆμŠ΅λ‹ˆλ‹€.

PR created automatically by Jules for task 3415711822659289451 started by @seonghobae

@google-labs-jules

Copy link
Copy Markdown

πŸ‘‹ Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a πŸ‘€ emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant