const rules = [
{
pattern:
'Should have link or button role set for interactive element.',
comment: `When onClick is provided, role button is set,
in other cases link is used.`,
status: 'DONE',
tests: 'DONE',
},
{
pattern: 'Should announce an uploading status.',
comment: 'Status has aria-live="polite".',
status: 'DONE',
tests: 'DONE',
},
{
pattern: 'Should have a thumbnail hidden from accessibility tree.',
status: 'DONE',
tests: 'DONE',
},
{
pattern: 'Should be focusable and tabable.',
status: 'DONE',
tests: 'DONE',
},
{
pattern: 'Can have a close button with an accessible name.',
comment: 'Name defaults to "Close"',
status: 'DONE',
tests: 'DONE',
},
];
export default rules;