const rules = [
{
pattern:
'Should be removed from accessibility tree if it does not have an accessible name set.',
comment: 'alt prop defaults to "".',
status: 'DONE',
tests: 'DONE',
},
{
pattern: 'Should be unique per user.',
status: 'TO DO',
tests: 'TO DO',
},
{
pattern: 'Should have role img.',
status: 'DONE',
tests: 'DONE',
},
{
pattern: 'Can have an accessible name.',
comment: 'Can be named by setting a value for alt prop.',
status: 'DONE',
tests: 'DONE',
},
];
export const linkRules = [
{
pattern: 'Should have an accessible name.',
comment:
'Link should be named by setting a value for ariaLinkLabel prop.',
status: 'DONE',
tests: 'DONE',
},
{
pattern: 'Should be focusable and tabable.',
status: 'DONE',
tests: 'DONE',
},
];
export default rules;