Flexible layouts for text spacing (fixed-layouts)
CSS properties are not set in a way that prevents user-defined
overriding.
CSS overridden:
This paragraph has CSS properties (enforced using
!important) that prevent user-defined
overriding:
This paragraph has spacing styles enforced using
!important, preventing users from overriding
them with custom stylesheets or browser extensions. This can make
content unreadable for users who require increased spacing for
accessibility.
The CSS structure of the above paragraph looks like this:
.text-block {
font-size: 16px !important;
line-height: 1 !important;
letter-spacing: 0em !important;
word-spacing: 0em !important;
}
Note: Automated testing should be possible. The violation can be detected
by programmatically checking for !important CSS declarations that enforce
fixed text spacing values, which would prevent users from adjusting text
spacing according to their needs.