cfpb / design-system

CFPB's work-in-progress design system
https://cfpb.github.io/design-system
Creative Commons Zero v1.0 Universal
41 stars 13 forks source link

Remove `a-legend` class | Move legends inside fieldsets #2009

Closed anselmbradford closed 2 months ago

anselmbradford commented 2 months ago

The a-legend class was just an h4 with additional IE legacy CSS. With the legacy CSS removed it just becomes an h4, so best to just set <legend class="h4"> instead.

Removals

Changes

Testing

  1. Check the PR preview legends page and it should be unchanged from production.
netlify[bot] commented 2 months ago

Thanks for the improvements! Browse a preview of your changes using the link below.

Name Link
Latest commit 58d078adbe13f47b57bd51d7108c5c4d04e1b88f
Latest deploy log https://app.netlify.com/sites/cfpb-design-system/deploys/66ad3a16438b6400081f9b43
Deploy Preview https://deploy-preview-2009--cfpb-design-system.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.