const rules = [ { pattern: 'Should have 3:1 contrast ratio.', comment: `white - yellow: 3.05:1; white - gray: 4.37:1; yellow - gray: 1.44:1
To low contrast can affect different people with visual impairments.`, status: 'DONE', tests: 'N/A', }, { pattern: 'Should have element with radiogroup role wrapping radio inputs.', status: 'DONE', tests: 'N/A', }, { pattern: 'Should have accessible label describing current rate value.', comment: 'aria-label defaults to "current rate".', status: 'DONE', tests: 'DONE', }, { pattern: 'Should have accessible label describing rate action with min and max rate value.', comment: 'Defaults to "{activeText}, min: 1, max: {metricSize}".', status: 'DONE', tests: 'DONE', }, ]; export const starRules = [ { pattern: 'Should have an accessible label.', status: 'DONE', tests: 'DONE', }, { pattern: 'Should not be accessible when is not active.', status: 'DONE', tests: 'DONE', }, { pattern: 'Should be focusable and tabable.', status: 'DONE', tests: 'DONE', }, { pattern: 'Should have radio role.', status: 'DONE', tests: 'DONE', }, { pattern: 'Should fire onChange on click, space and arrows (left & right).', comment: 'It is not possible to test arrows.', status: 'DONE', tests: 'DONE', }, ]; export default rules;