module.exports = [
{
html: ' ',
target: 'input',
accessibleText: '',
},
{
html:
'
' +
' ' +
' ' +
' File ' +
' ' +
' ' +
' New ' +
' Open… ' +
' …' +
' ' +
' ' +
' ',
target: ['#rule2a', '#rule2c'],
accessibleText: ['File', 'New'],
},
{
html:
'' +
' Meeting alarms ' +
' ' +
' Beep ' +
' Display the meeting title ' +
' ' +
' ' +
' ' +
' Flash the screen' +
' ' +
' ' +
' times' +
' ' +
' ',
target: ['#beep', '#flash'],
accessibleText: ['Beep', 'Flash the screen 3 times'],
},
{
html:
'This is of everything
' +
'This is a label
' +
'HTML Label ' +
' ',
target: '#t1',
accessibleText: 'This is a label',
},
{
html:
'This is of everything
' +
'This is a label
' +
'HTML Label ' +
' ',
target: '#t1',
accessibleText: 'ARIA Label This is a label',
},
{
html:
'This is a ' +
'hidden ' +
'secret
' +
'HTML Label ' +
' ',
target: '#t1',
// accessibleText: 'This is a hidden secret',
// Note: axe-core insists on child nodes being used as visible, although
// spec 2A says "directly referenced by aria-labelledby".
accessibleText: 'This is a',
},
{
html:
'This is of everything
' +
'This is a label
' +
'HTML Label ' +
' ',
target: '#t1',
accessibleText: 'ARIA Label',
},
{
html:
'This is of everything
' +
' ' +
'This is a label
' +
'HTML Label ' +
' ',
target: '#target',
accessibleText: 'Alt text goes here',
},
{
html:
'This is of everything
' +
' ' +
'This is a label
' +
'HTML Label ' +
' ',
target: '#target',
accessibleText: 'Alt text goes here',
},
{
html:
'This is of everything
' +
' ' +
'This is a label
' +
'HTML Label ' +
' ',
target: '#target',
accessibleText: '',
},
{
html:
'This is of everything
' +
'This is a label
' +
'HTML Label ' +
' ',
target: '#t1',
accessibleText: 'HTML Label',
},
{
html:
'This is of
' +
'This is a label
' +
'HTML Label ' +
' ',
target: '#t2label',
accessibleText: 'This is This is a label of italics',
},
{
html:
'This is of
' +
'This is a label
' +
'HTML Label ' +
' ',
target: '#t2label',
accessibleText: 'This is This is a label of',
},
{
html:
'This is ' +
' ' +
' of everything
' +
'This is a label
' +
'HTML Label ' +
' ',
target: '#t2label',
accessibleText: 'This is This is a label of everything',
},
{
html:
'My form input ' +
'
',
target: '#target',
accessibleText: 'My form input',
},
{
html:
'' +
'
' +
'My form input ',
target: '#target',
accessibleText: 'My form input',
},
{
html:
'This is of everything
' +
'This is a label
' +
'HTML Label ' +
' ',
target: '#t2label',
accessibleText: 'This is This is a label of everything',
},
{
html:
'This is of everything
' +
'This is a label
' +
'HTML Label ' +
' ',
target: '#t2',
accessibleText: 'This is the value of everything',
},
{
html:
'This is of everything
' +
'This is a label
' +
'HTML Label ' +
' ',
target: '#t2',
accessibleText: 'This is of everything',
},
{
html:
'This is of everything
' +
'This is a label
' +
'HTML Label ' +
' ',
target: '#t2',
accessibleText: 'This is the value of everything',
},
{
html:
'This is ' +
'first second third ' +
' of everything
' +
'This is a label
' +
'HTML Label ' +
' ',
target: '#t2',
accessibleText: 'This is first third of everything',
},
{
html:
'This is of everything
' +
'This is a label
' +
'HTML Label ' +
' ',
target: '#t2',
accessibleText: 'This is the value of everything',
},
{
html:
'This span ' +
' is of everything
' +
'This is a label
' +
'HTML Label ' +
' ',
target: '#t2',
accessibleText: 'This not a span is the value of everything',
},
{
html:
'' +
'' +
' Chosen ' +
' Not Selected ' +
' ' +
' ' +
' ',
target: '#target',
accessibleText: 'Chosen',
},
{
html:
'My Select ' +
'' +
'' +
' Chosen ' +
' Not Selected ' +
' ' +
' ' +
' ',
target: '#target',
// accessibleText: '',
// Chrome and axe-core disagree, we follow Chrome and spec.
accessibleText: 'Chosen',
},
{
html:
'' +
' ' +
'' +
'Please choose a region ' +
'Coastal ' +
'Forest ' +
'Grasslands ' +
'Mountains ' +
' ' +
' ',
target: '#target',
accessibleText: '',
},
{
html:
'' +
'' +
' Chosen ' +
' Not Selected ' +
' ' +
' ' +
' ',
target: '#target',
// accessibleText: '',
// Chrome and axe-core disagree, we follow Chrome and spec.
accessibleText: 'Chosen',
},
{
html: ' ',
target: 'a',
accessibleText: 'Hello',
},
{
html: 'Hello ',
target: 'a',
accessibleText: 'Hello',
},
{
html: 'Hello ',
target: 'button',
accessibleText: 'Hello',
},
{
html: 'Hello ',
target: 'summary',
// accessibleText: 'Hello',
// Chrome and axe-core disagree, we follow Chrome and spec.
accessibleText: '',
},
{
html: ' ',
target: 'a',
accessibleText: 'Hello',
},
{
html: 'Hello ',
target: 'a',
accessibleText: 'Hello',
},
{
html: 'Hello ',
target: 'button',
accessibleText: 'Hello',
},
{
html: 'Hello ',
target: 'summary',
// accessibleText: 'Hello',
// Chrome and axe-core disagree, we follow Chrome and spec.
accessibleText: '',
},
{
html: 'HelloWorld ',
target: 'a',
accessibleText: 'HelloWorld',
},
{
html: 'HelloWorld
',
target: 'a',
accessibleText: 'Hello World',
},
{
html:
' ',
target: 'a',
accessibleText: '',
},
{
html: ' ',
target: 'input',
accessibleText: '',
},
{
html:
'Hello World ',
target: 'button',
accessibleText: 'Hello World',
},
{
html:
'This is of everything
' +
'',
target: '#t1',
accessibleText: 'ARIA Label',
},
{
html: '
',
target: 'input',
accessibleText: 'I will be king',
},
{
html:
' ' +
'
',
target: 'input',
accessibleText: 'you will be queen',
},
{
html: '' +
'Fallback content heroes ' +
'
',
target: 'input',
accessibleText: 'Fallback content heroes',
},
{
html:
'Hello
' +
'Not part of a11yName Fail ',
target: 'figure',
accessibleText: 'Hello',
},
{
html:
'Not part of a11yName Fail ',
target: 'figure',
accessibleText: 'Hello',
},
{
html:
'Not part of a11yName Hello ',
target: 'figure',
accessibleText: 'Hello',
},
{
html:
'Not part of a11yName ',
target: 'figure',
// accessibleText: 'Hello',
// Chrome and axe-core disagree, we follow Chrome and spec.
accessibleText: '',
},
{
html: 'Hello ',
target: 'figure',
// accessibleText: 'Hello',
// Chrome and axe-core disagree, we follow Chrome and spec.
accessibleText: '',
},
{
html: 'Not part of a11yName
',
target: 'figure',
// accessibleText: 'Hello',
// Chrome and axe-core disagree, we follow Chrome and spec.
accessibleText: '',
},
{
html:
'Hello
World
' +
' ',
target: 'img',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'img',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'img',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'img',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello',
},
{
html: ' ',
target: 'input',
accessibleText: 'Submit',
},
{
html: ' ',
target: 'input',
accessibleText: 'Reset',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello',
},
{
html: ' ',
target: 'input',
// accessibleText: 'Hello',
// Chrome and axe-core disagree. We follow Chrome and spec.
accessibleText: 'Reset',
},
{
html: ' ',
target: 'input',
// accessibleText: 'Hello',
// Chrome and axe-core disagree. We follow Chrome and spec.
accessibleText: 'Submit',
},
{
html:
'Hello
World
' +
'',
target: 'table',
accessibleText: 'Hello World',
},
{
html: '',
target: 'table',
accessibleText: 'Hello World',
},
{
html:
'',
target: 'table',
accessibleText: 'Hello World',
},
{
html: '',
target: 'table',
accessibleText: 'Hello World',
},
{
html: '',
target: 'table',
accessibleText: 'Hello World',
},
{
html: '',
target: 'table',
accessibleText: 'Hello World',
},
{
html:
'Hello
World
' +
' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello
World
' +
' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello
World
' +
' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello
World
' +
' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello
World
' +
' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello
World
' +
' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello
World
' +
' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello World' + ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello World' + ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello World' + ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello World' + ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello World' + ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello World' + ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello World' + ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello World ' + ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello World ' + ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello World ' + ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello World ' + ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello World ' + ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello World ' + ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html:
'Hello World ' + ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: '',
},
{
html: ' ',
target: 'input',
accessibleText: '',
},
{
html: ' ',
target: 'input',
accessibleText: '',
},
{
html: ' ',
target: 'input',
accessibleText: '',
},
{
html: ' ',
target: 'input',
accessibleText: '',
},
{
html: ' ',
target: 'input',
accessibleText: '',
},
{
html: ' ',
target: 'input',
accessibleText: '',
},
{
html:
'Hello
World
' +
'',
target: 'textarea',
accessibleText: 'Hello World',
},
{
html: '',
target: 'textarea',
accessibleText: 'Hello World',
},
{
html:
'Hello World' + ' ',
target: 'textarea',
accessibleText: 'Hello World',
},
{
html:
'Hello World ' + '',
target: 'textarea',
accessibleText: 'Hello World',
},
{
html: '',
target: 'textarea',
accessibleText: 'Hello World',
},
{
html: '',
target: 'textarea',
accessibleText: 'Hello World',
},
{
html: '',
target: 'textarea',
accessibleText: '',
},
{
html:
'Hello
World
' +
' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'input',
accessibleText: 'Submit',
},
{
html:
'Hello
World
' +
' ',
target: 'a',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'a',
accessibleText: 'Hello World',
},
{
html: 'Hello World ',
target: 'a',
// axe-core does not need href to be present, but spec and Chrome do.
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'a',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'a',
accessibleText: '',
},
{
html:
'' +
' ' +
'' +
'' +
'Descriptive Link Text' +
' ' +
' ' +
'
' +
'',
target: 'a',
accessibleText: 'Descriptive Link Text',
},
{
html:
'Hello
World
' +
' ',
target: 'button',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'button',
accessibleText: 'Hello World',
},
{
html:
'Hello World ',
target: 'button',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'button',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'button',
accessibleText: '',
},
{
html: 'Hello
World
',
target: 'cite',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'cite',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'cite',
accessibleText: 'Hello World',
},
{
html: ' ',
target: 'cite',
accessibleText: '',
},
];