const rules = [ { pattern: 'Should have a proper contrast ratio.', comment: `For medium size and larger: 3:1 against the background, in other cases: 4.5:1 against the background.
Text color should be chosen to comply with this rule: `, status: 'DONE', tests: 'N/A', }, { pattern: 'Should create a logical content structure.', comment: 'Logical content structure is created by proper html semantics. Use as to set tag.', status: 'DONE', tests: 'N/A', }, { pattern: 'Should be enlargable.', comment: `The page should be functional when only the text is magnified to 200% of its initial size. User can zoom in and out to change the size of the text. User default font size is not respected by the component.`, status: 'DONE', tests: 'N/A', }, { pattern: 'Should not exceed 80 characters in length.', comment: 'Can be achieved by adding max-length: 80ch to the CSS style.', status: 'TO DO', tests: 'N/A', }, { pattern: 'Should not be too small.', comment: 'Default document font size (1em) is 16px, size prop defaults to medium.', status: 'DONE', tests: 'DONE', }, { pattern: `Should use semantic markup (ex. strong, em) to properly announce style changes to all users.`, status: 'DONE', tests: 'N/A', }, ]; export default rules;