Avoid justified text to ensure that content remains more readable and accessible for a wider range of users, to support a clear and consistent reading experience.
Maria is a Norwegian carpenter with dyslexia. She loves working with her hands and takes pride in building things from the ground up. While she is confident on the construction site, reading complex instructions or new building regulations can be a real struggle. She uses text-to-speech software when needed, but prefers clear, simple text that she can read herself.
"When text on a website is stretched to both sides so the lines look all neat, it becomes impossible for me. There are weird gaps between the words, and it is like these white rivers running down the page. My eyes get lost, and I quickly lose track of where I am. It feels like the words are slipping away from me as I try to read. If the text was just lined up on the left, it would be so much easier to follow."
This section provides some examples of the issue.
A website displays safety instructions for how to use a jigsaw and presents the information in fully justified text. This formatting causes uneven spacing between words, which creates visible "rivers" of white space that run vertically through the paragraphs.
Important safety details become difficult to read due to the inconsistent spacing. The uneven gaps disrupt the natural flow of reading, making it harder for users to follow the instructions quickly and accurately.
A website displaying safety instructions for using a jigsaw presents the information in left-aligned text. This formatting ensures consistent spacing between words, creating a clean and even appearance across the paragraphs.
Important safety details are easy to read due to the uniform spacing. The clear text layout supports the natural flow of reading, which makes it easier for users to follow the instructions quickly and accurately.
This section provides instructions on how to identify and fix the issue.
The Acquia Web Governance platform highlights elements that contain justified text.
The cause of the problem is that the CSS property text-align: justify; is applied to an element or the align="justify" attribute is used in the HTML code. Both methods cause the text to align evenly along both the left and right margins.
To fix the problem, update your website code to remove both methods. Ensure that the text-align: justify; CSS property is not used, and delete any align="justify" attributes from the HTML.
These changes remove justified text.
If this content did not answer your questions, try searching or contacting our support team for further assistance.
If this content did not answer your questions, try searching or contacting our support team for further assistance.