const rules = [
{
pattern: 'Should have a role checkbox.',
status: 'DONE',
tests: 'DONE',
},
{
pattern: 'Should be focusable and tabable.',
status: 'DONE',
tests: 'DONE',
},
{
pattern: 'Should have an accessible name.',
comment: `Can be named by:
aria-label propIDREF) set for the aria-labelledby prop that refers to an elementdark against white: 21:1, light against black: 20.9:1.',
status: 'DONE',
tests: 'N/A',
},
{
pattern:
'Should have a color indicator with 3:1 contrast ratio against the background.',
comment:
'dark against white: 21:1, light against black: 20.9:1.',
status: 'DONE',
tests: 'N/A',
},
{
pattern: 'Should respect prefers reduce motion settings.',
status: 'TO DO',
tests: 'N/A',
},
{
pattern:
'Should be activated by pressing Space and mouse click.',
status: 'DONE',
tests: 'DONE',
},
{
pattern: 'Can have a clickable label.',
comment: 'The whole area of card is wrapped with clickable label.',
status: 'DONE',
tests: 'DONE',
},
];
export default rules;