Repository navigation
[DONE] 첫 화면 영상이 움직임 줄이기를 켠 사람에겐 사진으로 나오고, 탭은 열린 탭을 화면 읽기 프로그램에도 알린다 - #101
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Di3xhBuUF8X45hwNhYnSUG
The embed autoplayed with no way to stop it, and the desktop tabs gave a screen reader neither a nav, the open tab, nor a main landmark to skip to. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Di3xhBuUF8X45hwNhYnSUG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Di3xhBuUF8X45hwNhYnSUG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Di3xhBuUF8X45hwNhYnSUG
patternflow-bot
marked this pull request as ready for review
October 16, 2026 17:14
6 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
dev / https://claude.ai/code/session_01Di3xhBuUF8X45hwNhYnSUG
첫 화면에서 움직임 줄이기를 켠 사람은 이제 유튜브 영상 대신 제품 사진을 봐요. 지금 영상은 멈출 길 없이 89초를 저절로 돌고 그 설정을 보지 않아요. 데스크톱 탭(Build, Pattern, Inside)은 폰 탭처럼 열린 탭을 화면 읽기 프로그램에 「pressed」로 알리고, 패널 쪽이 쪽의 본문(
<main>)이 돼요.좋아지는 것: 움직임을 줄인 사람에겐 첫 화면이 사진으로 선다 — 멈출 수 없는 영상이 돌지 않는다
체크리스트
dev에서 아직 안 고쳐졌는지 보기:dev빌드에서 움직임 줄이기를 켜도 영상이 떴어요Hero.tsx: 움직임 줄이기면 영상을 붙이지 않는다RightPanel.tsx: 데스크톱 탭에aria-pressed, ✕ 숨기기,Sectionsnav, 패널을<main>으로4a916f4에서 Drift checks, Web CI 둘 다 success한 일
components/sections/Hero.tsx는prefers-reduced-motion: reduce를useSyncExternalStore로 읽어요. 켜져 있으면 iframe 을 아예 그리지 않아서 유튜브에 요청도 가지 않고, 늘 깔려 있던 포스터/product_v2.jpg가 그대로 보여요. 서버는 설정을 모르니 포스터만 보내고, 영상은 하이드레이션 뒤 브라우저가 붙여요.CommunityShots.tsx가 같은 꼴이에요. iframe 과 3초, 92초 타이머는HeroVideo로 옮겼어요. 보는 중에 설정을 켜면 영상이 바로 빠지고, 끄면 새HeroVideo가 붙어 처음처럼 3초 숨었다가 떠요.components/sections/RightPanel.tsx의 데스크톱 탭 세 단추에aria-pressed를 달았어요. 폰 단추엔 이미 있었어요. 열린 탭의 ✕ 는aria-hidden이라 이름이 「✕ Build」가 아니라 「Build」로 읽혀요. 탭 기둥은div에서<nav aria-label="Sections">가 됐어요. 폰 바와 같은 이름이고, CSS 가 둘 가운데 하나만 보여서 화면 읽기 프로그램은 어느 폭에서든 Sections 하나를 만나요. 패널을 감싼.content-panel은<main>이 됐어요./,/build,/pattern,/inside,/inside/<빌드>가 모두HomeView를 거쳐서 다섯 쪽에 본문이 생겨요. 스타일은 모두 클래스에 붙어 있어서 바뀐 곳이 없어요.시험은 여덟이에요. 새
Hero.test.tsx에 넷: 움직임이 괜찮으면 3초 숨었다 뜨고 92초에 빠지는지, 움직임 줄이기면 10초 뒤에도 iframe 이 없는지, 보는 중에 켜고 끄는지, 서버 HTML 에 iframe 이 없는지예요. 새RightPanel.test.tsx에 넷: 두 탭 줄이 다 Sections 이고 열린 탭만 pressed 인지, ✕ 가 이름에 들지 않는지, 누르면 pressed 가 옮겨 가고 열린 탭을 또 누르면 닫히는지, 패널이 탭 밖의<main>하나에 드는지예요.증거
web/에서 돌린 각 출력의 끝줄이에요.check:ci안의check:panels는Test Files 42 passed (42),Tests 531 passed (531)이에요. 바퀴 5 의 40, 523 에서 파일 둘, 시험 여덟이 늘었어요.고치기 전 코드에 새 시험만 얹어 돌린 끝이에요. 지금 영상이 도는 꼴을 지키는 첫 시험만 통과해요.
dev(7b97b6e)와 이 브랜치를 각각 빌드해서 Chromium 으로 열고 5초 뒤에 쟀어요. 줄마다 쪽, 폭, 움직임 설정, 히어로의 iframe 수, 유튜브로 간 요청 수,<main>수, 보이는 탭 줄의 접근성 트리예요./와/build를 움직임이 괜찮은 설정으로 열면 1440 에서도 iframe 1, 유튜브 1 로 전과 같아요. 1440 의 한 쪽을 열어 둔 채 설정을 바꿔 본 끝이에요.사진은 움직임 줄이기를 켜고 5초 뒤예요. 컨테이너가 유튜브에 닿지 못해서, 고치기 전 사진의 회색 칸은 영상 대신 깨진 쪽 그림이에요. 실제 브라우저에선 그 자리에 영상이 돌아요. 3D 미리보기는 컨테이너의 소프트웨어 GL 이라 비어 보이고, 고치기 전에도 같았어요.
실행법
http://localhost:3100/를 열고 개발 도구의 Rendering 에서 「Emulate CSS media feature prefers-reduced-motion」을reduce로 바꿔요. 영상이 빠지고 사진만 남아요. 데스크톱 폭에서 Build 를 누르고 접근성 트리를 보면button "Build"가 pressed 이고navigation "Sections"와main이 보여요.가정
<nav aria-label="Sections">로 바꿨어요. 후보 줄엔 없는 말이지만, 폰 바는 이미 같은 nav 라서 열린 탭을 알리는 일을 두 폭이 같게 하려면 함께 가야 한다고 봤어요.<footer id="origin">이 이제<main>안에 들어서 contentinfo 랜드마크가 아니에요. 히어로 패널의 마지막 칸이고 히어로 탭에서만 보여서, 패널 밖으로 꺼내지 않고 두었어요.check:ci가links-absolute: skipped를 찍은 뒤passed links-absolute로 셈해요. 후보 13 이 그 일이에요.Changelog
Web
Sectionsnav whose open tab isaria-pressed, as on the phone, with its ✕ hidden from screen readers, and the panel beside it is the page's<main>.바퀴
바퀴 6 · 후보 6 「첫 화면 영상이 움직임 줄이기를 켠 사람에겐 사진으로 나오고, 탭은 열린 탭을 화면 읽기 프로그램에도 알린다」
다음 바퀴
BuildCards.tsx의Links꼴을 가져오면 돼요.AudioShots.tsx가 이미 언어별 alt 를 써서 본이 있어요.aria-modal인데 Esc 를 받지 않고, Panels 와 Recent 메뉴는 폰에서 열린 채 남아요.🤖 Generated with Claude Code
https://claude.ai/code/session_01Di3xhBuUF8X45hwNhYnSUG
Generated by Claude Code