design-system icon indicating copy to clipboard operation
design-system copied to clipboard

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

Open anselmbradford opened this issue 1 year ago • 1 comments

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

  • Remove a-legend class

Changes

  • Move legends inside fieldsets

Testing

  1. Check the PR preview legends page and it should be unchanged from production.

anselmbradford avatar Aug 02 '24 19:08 anselmbradford

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.

netlify[bot] avatar Aug 02 '24 19:08 netlify[bot]