The first time, this will trigger a permission prompt, which the user can approve or deny. To obtain a list of the locally installed fonts, you need to call window.queryLocalFonts (). It’s slightly informal but could easily be used for site headers and title graphics for professional sites, blogs, publications, and more. Dancing Script is a lovely cursive font that is quite relaxed and could be used in a wide number of places on your website. However, it’s recommended that you start at 1 rem, which is the equivalent of 16px. Regarding the minimum font size for accessibility, there is no hard and fast rule.
List of fonts When defining font sizes in pixels or points, it’s difficult for a user to only increase or decrease the text size without affecting other elements such as images and your menu.