Problem/Motivation
Users might have customized their font sizes in their browser to larger default sizes. When this is done, the form layout, even on a wide-screen, is defaulting to the single column layout. This causes the text paragraphs and the field widths to be untenably wide.
For users with low vision, or even subtle near-field vision decline, increasing default font sizes is often something they. will do to make browsing easier. Since it is a system-level preference, they may not even recall that they have made this settings change at some point.
Extremely wide paragraphs and text fields are difficult to read and use.
I would consider this issue a "should" fix instead of a "must" fix because the experience is still technically usable, but it becomes more difficult.
Steps to reproduce
In your browser settings, adjust your default font size to one of the larger options. E.g., in Chrome:
- Chrome -> Preferences
- Scroll down to "Appearance"
- Find "Font size" and change it to "Very Large"
- Chrome should update dynamically
Proposed resolution
Maintain the two column layout when the width is still over 900, or set a max width on the content area so that it won't get too wide.

| Comment | File | Size | Author |
|---|---|---|---|
| #12 | Font-very-large- and-zoom-150%.png | 232.88 KB | preeti.chawla |
| #12 | Font-very-large- and-zoom-100%.png | 233.37 KB | preeti.chawla |
| screenshot-claro.dd_8443-2020.07.16-07_01_24.png | 305.27 KB | rainbreaw |
Comments
Comment #2
andrewmacpherson commentedIt's gonna have to reflow to a single column at some point. 200% zoom isn't the limit of what users will employ. Firefox allows browser zoom up to 300%, and Chrome allows up to 500%.
Comment #4
mgiffordLinking open issues from the CivicActions Accessibility - VPAT.
Comment #8
mgiffordAdding reference to WCAG 2.1 SC 1.4.10
Comment #10
mgiffordComment #12
preeti.chawla commentedI attempted to troubleshoot and resolve this issue locally using various methods, such as applying max-width and utilizing media queries.
I discovered a potential solution that involves using media queries specifically for cases where the font size is set to large or very large.
CSS for Font Size-Specific Adjustments
To detect when the user has changed their default font size, I recommend using the @supports rule. This allows for adjustments to the form layout or text styles accordingly:
css
@supports (font-size: var(--font-size-large)) {
.layout-form {
display: grid;
grid-template-rows: auto 1fr;
grid-template-columns: minmax(0, 3fr) minmax(22.5rem, 1fr);
gap: var(--space-l);
}
.layout-region--main,
.layout-region--footer {
grid-column: 1;
margin-inline: auto;
width: var(--layout-region-edit-width);
}
/* When the layout has vertical tabs */
.layout-region--main:has(.vertical-tabs),
.layout-region--main:has(.vertical-tabs) ~ .layout-region--footer {
width: var(--layout-region-edit-extended-width);
}
/* Push sidebar down to horizontal align with form section. */
.layout-region--secondary {
grid-row: span 2;
margin-block-start: var(--space-l);
}
@media (max-width: 40rem) {
.layout-form {
grid-template-columns: 1fr;
}
}
}
I have tested the above solution locally, and it is working well. Please refer to the screenshot for reference.