const rules = [
{
pattern:
'Should have an accessible information about the status that is annouced.',
comment: `Use ariaStatusLabel to set custom information,
defaults to {loaded: "content loaded", loading: "content is loading"}`,
status: 'DONE',
tests: 'DONE',
},
{
pattern: 'Should have role status.',
status: 'DONE',
tests: 'DONE',
},
{
pattern:
'Should have aria-busy="true" for the loading content.',
status: 'DONE',
tests: 'DONE',
},
{
pattern: 'Should have 3:1 contrast ratio against the background.',
comment: `For white background use: black, gray-70,
gray-50, red-50,
indigo-50, against black: white, gray-50, red-50,
red-40, blue-40, yellow-40.`,
status: 'DONE',
tests: 'N/A',
},
{
pattern: 'Should respect Windows High Contrast theme.',
status: 'DONE',
tests: 'N/A',
},
];
export default rules;