moj-analytical-services / shinyGovstyle

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

Give examples of the use of text, ordered / unordered lists, and links #62

Open cjrace opened 2 months ago

cjrace commented 2 months ago

Would be helpful to have more examples of how to add text, headers, links within text, and lists of bullet points in a way that takes advantage of the GDS CSS styling. I know there's already the font() function in the app. We found a lot of analysts missed this and weren't doing it correctly in their dashboards.

This could either be just extra examples in the README / test app, or as a gov_text(), gov_list(), gov_link() set of functions for more explicit use.

I have specific examples I can share on this to have a look at from our accessibility audit.