You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update reflow-scan text to improve clarity and reference WCAG 2.2 (#231)
Closes#230
Updates the reflow-scan plugin text to improve clarity:
- Removes mention of 256 height from comment
- Updates `problemShort` to better describe the issue
- Updates `problemUrl` to reference WCAG 2.2 instead of 2.1
- Updates `solutionShort` to use more descriptive guidance
- Updates `solutionLong` with clearer violation explanation
- Updates test strings to match new copy
solutionShort: 'ensure content is responsive and does not require horizontal scrolling at small viewport sizes',
18
-
solutionLong: `The page has a scroll width of ${scrollWidth}px but a client width of only ${clientWidth}px at a 320x256 viewport, requiring horizontal scrolling. This violates WCAG 2.1 Level AA Success Criterion 1.4.10 (Reflow).`,
15
+
problemShort: 'needs review: page presents a horizontal scrollbar at a 320px wide viewport',
'verify if sections of content can be viewed within the 320px wide viewport without needing to scroll in two dimensions to read the content of an individual section',
19
+
solutionLong: `The page has a scroll width of ${scrollWidth}px but a client width of only ${clientWidth}px at a 320px wide viewport, resulting in a horizontal scrollbar. Ensure that multi-line text does not require scrolling in two-dimensions to read, as this would be a violation of WCAG Success Criterion 1.4.10 (Reflow).`,
problemShort: 'page requires horizontal scrolling at 320x256 viewport',
116
-
solutionShort: 'ensure content is responsive and does not require horizontal scrolling at small viewport sizes',
115
+
problemShort: 'needs review: page presents a horizontal scrollbar at a 320px wide viewport',
116
+
solutionShort:
117
+
'verify if sections of content can be viewed within the 320px wide viewport without needing to scroll in two dimensions to read the content of an individual section',
0 commit comments