app/assets/stylesheets/uswds/elements/_inputs.scss in uswds-rails-1.5.0 vs app/assets/stylesheets/uswds/elements/_inputs.scss in uswds-rails-1.6.0

- old
+ new

@@ -84,17 +84,29 @@ font-weight: $font-bold; padding-bottom: 3px; padding-top: 3px; } +// Deprecated: Some screen readers can't read CSS content. +// Will be removed in 2.0. .usa-input-required:after { color: $color-secondary-darkest; content: ' (*required)'; } +// Deprecated: Some screen readers can't read CSS content. +// Will be removed in 2.0. .usa-input-optional:after { color: $color-gray-medium; content: ' (optional)'; +} + +.usa-input-label-helper { + color: $color-gray-medium; +} + +.usa-input-label-required { + color: $color-secondary-darkest; } label { display: block; margin-top: 3rem;