moj-analytical-services / shinyGovstyle

Now up to GDS frontend version v4.0.0
37 stars 6 forks source link

Remove "warning" from appearing where it shouldn't #83

Closed sarahmwong closed 2 weeks ago

sarahmwong commented 1 month ago

Overhang from old CSS and use of .govuk-warning-text__assistive which is no longer in CSS file. Printed out "Warning" in text after every warning message: Screenshot 2024-06-05 at 15 48 59

Now uses govuk-visually-hidden - checked and this is a lift and shift of the old assistive text CSS, with a few more custom options for users added in (think this is to support different assistive setups) Screenshot 2024-06-05 at 15 47 20