DemocracyClub / WhereDoIVote-Widget

:earth_africa: An embeddable widget that consumes the UK Polling Station API
MIT License
5 stars 4 forks source link

Host site font-size causing accessibility issues #326

Open aliblackwell opened 4 years ago

aliblackwell commented 4 years ago

If the host site's font-size is set very small (i.e. less than the standard minimum of 16px) then the widget renders smaller than WCAG2.1 rules allow: https://democracy.aylesburyvaledc.gov.uk/mgGeneric.aspx?MD=mgpollingstation

We can get fix this by setting a default font-size in px on the widget, and then using ems for everything else.

aliblackwell commented 4 years ago

Same issue with Bexley: https://www.bexley.gov.uk/services/councillors-elections-and-democracy/elections/find-your-polling-station