SemanticComputing / sampo-ui

Sampo-UI – A framework for building user interfaces for semantic portals
https://seco.cs.aalto.fi/tools/sampo-ui
MIT License
33 stars 7 forks source link

Accessibility: paragraph spacing override #47

Open henrikaskj opened 1 year ago

henrikaskj commented 1 year ago

Success criterion 1.4.12 in WCAG 2.1 states that one should be able to override the bottom margins of paragraphs without loss of content, up to 2em. In Sampo-UI this results in a clipped element in the facets: image

Suggested solution

Replace the \<p> elements, perhaps by using a MUI typography variant other than body1