const rules = [ { pattern: 'Should have an accessible name.', comment: `Name should be meaningful (ex. "Read more about vitamin C" instead of "Read more") and explain the action (ex. "Search" instead of "Magnifying glass"). aria-label can be used to provide a name.`, status: 'DONE', tests: 'TO DO', }, { pattern: 'Should have a role button.', status: 'DONE', tests: 'TO DO', }, { pattern: 'Should be focusable and tabable.', status: 'DONE', tests: 'TO DO', }, { pattern: 'Should have cursor: default.', status: 'DONE', tests: 'N/A', }, { pattern: 'Should fire onClick on Space/Enter press and mouse click.', status: 'DONE', tests: 'TO DO', }, { pattern: 'Should have a proper type.', status: 'DONE', tests: 'TO DO', }, { pattern: 'Should have a non-color indicator.', comment: 'To be implemented by the developer', status: 'N/A', tests: 'N/A', }, { pattern: 'Should have a color indicator with 4.5:1 contrast ratio to the background.', comment: 'To be implemented by the developer', status: 'N/A', tests: 'N/A', }, { pattern: 'Should have a color indicator with 3:1 contrast ratio to the surrounding background.', comment: 'To be implemented by the developer', status: 'N/A', tests: 'N/A', }, { pattern: 'Should have a visible disabled state.', comment: 'To be implemented by the developer', status: 'N/A', tests: 'N/A', }, ]; export default rules;