Skip to content

Commit d7991b0

Browse files
authored
Merge pull request #167 from boostcampwm-snu-2026-1/fix/savestatus-srOnly-missing
fix(savestatus): add missing .srOnly CSS rule
2 parents 508918c + 0cdf893 commit d7991b0

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

src/components/SaveStatus.module.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,23 @@
130130
display: none;
131131
}
132132
}
133+
134+
/*
135+
* Screen-reader-only announcement region. Standard sr-only pattern —
136+
* element stays in the DOM (so AT reads its content), but it's removed
137+
* from the visible layout. Added in PR C, but the matching rule was
138+
* accidentally placed in InsertDialog.module.css instead of here, so
139+
* `styles.srOnly` resolved to undefined and the announcement text
140+
* showed visibly next to the SAVED badge in the header.
141+
*/
142+
.srOnly {
143+
position: absolute;
144+
width: 1px;
145+
height: 1px;
146+
padding: 0;
147+
margin: -1px;
148+
overflow: hidden;
149+
clip: rect(0, 0, 0, 0);
150+
white-space: nowrap;
151+
border: 0;
152+
}

0 commit comments

Comments
 (0)