The following is true for the HTML of all LibGuides through the product's HTML structure:
<h1>
.<h2>
.This is because according to accessibility standards, heading levels:
<h3>
followed by <h5>
or <h4>
followed by <h2>
.If you want to use a heading inside of a box:
<h3>
References: WCAG Success Criterion 1.3.1 (Level A): Info and Relationships
Lists enhance usability by breaking up text and allowing users to scan information to find relevant content and easily digest it. Rules for lists:
References: WCAG Success Criterion 1.3.1 (Level A): Info and Relationships
LibGuides are formatted using stylesheets in CSS to provide a consistent user experience. Try not to deviate from the style, which was designed thoughtfully and intentionally.
For example, suppose you change the color of the text or the background color against which it appears. In that case, you need to check the color and background colors together using a contrast checker to ensure it meets the minimum contrast ratio under WCAG, which is 4.5:1 for small text and 3:1 for large text.
Best Practice: Enhance text sparingly
<b>
or <i>
. Use the current ones. References: WCAG 2.2, SC 1.4.3 (Level AA): Contrast (Minimum),