docs(skill): fix reference code examples, contradictions and stale platform facts
Apply 96 verified audit findings plus primary-source research: corrected CSS/JS/three.js examples, cross-doc consistency, webstatus.dev-verified platform status, revert-on-regression and independent-review rules, new antipattern candidates, gallery link status. Interview gate timing unchanged.
This commit is contained in:
parent
eecd3f03ff
commit
48ca43985f
36 changed files with 319 additions and 172 deletions
|
|
@ -296,6 +296,7 @@ non-button 렌더 대상 예시(Base UI):
|
|||
- 플레이스홀더를 라벨 대신 쓰지 않는다. 형식 예시(`예: 010-1234-5678`)는 라벨 아래 도움말로 둔다.
|
||||
- 관련 필드는 `fieldset` + `legend`로 묶는다(배송지, 결제 수단, 동의 항목).
|
||||
- 선택지가 5개 이하면 라디오나 세그먼트로 전부 보여 준다. 6개 이상이거나 값이 익숙한 목록(시·도)이면 셀렉트, 아주 길면 검색 가능한 콤보박스다.
|
||||
- 외형을 입힌 셀렉트는 `appearance: base-select`(customizable select)를 `@supports (appearance: base-select)` 안에서 점진 향상으로 쓴다. Baseline 아님이며 Chrome·Edge 135, Safari 27이 출하했고 Firefox는 아직이다(webstatus.dev, 확인 2026-10-09) [WEB-BASELINE]. 폴백은 네이티브 `<select>`이고, `div`로 가짜 셀렉트를 새로 만들지 않는다.
|
||||
- 자라는 `textarea`는 스크립트 대신 `field-sizing: content` + `max-height`를 쓴다(Baseline Newly 2026-06) [WEB-BASELINE].
|
||||
- 긴 폼은 단계로 나누고 진행 표시(`1/3 배송 정보`)를 둔다. 단계 이동 때 입력값을 잃지 않고, 이전 단계로 돌아갈 수 있다.
|
||||
- 주 행동 버튼은 폼 끝, 마지막 필드 바로 아래에 둔다. 모바일에서 긴 폼이면 하단 고정 바도 후보다. 제출 버튼을 조기에 비활성화하지 않는다([accessibility.md](accessibility.md) §6.6).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue