Repository navigation
fix: count a layer role only on a raw element, not on a part - #1897
Merged
Merged
Conversation
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.
Related: #1893 (이 PR의 base), #1891
Summary
부품 개수 검사가 "직접 만든 레이어"로 센 3개 중 하나(
PaneConnection)는 이미Popover부품에role="dialog"를 준 것이라 잘못 센 것이었습니다.이 PR은 레이어 역할을 부품이 아닌 날 요소(
<div role="dialog">)에만 세도록 고치고 기준선을 3 → 2로 낮춥니다.남은 둘은 그대로 둡니다: Start 패널은 부품이 그리지 못하는 떠 있는 팔레트로 이미
useEscapeLayer로 Escape 관리자에 등록돼 있고, PR 카드의 것은 카드 안에 놓인 확인 상자이지 화면을 덮는 레이어가 아닙니다.DESIGN_GUIDE.md의 세 번째 규칙에 그 예외를 적었습니다.화면 변경 없음(
web/src변경 없음).Review
Dialog/CommandDialog로 옮기지 않고 예외로 두었습니다. 옮기면 위치, 첫 포커스, 입력 중 키 처리가 바뀌는 동작 변경이라 이번 정리 범위 밖으로 봤습니다.scripts/check-ui-parts.mjs- 역할 속성 앞의 가장 가까운<가 소문자 태그일 때만 셉니다.Evidence
ui-parts.test.mjs4개 통과(부품에 준role="dialog"를 세지 않는 경우 추가),check-design-contract통과.