You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/runtime/samples/binding-width-height-a11y/_config.js

9 lines
222 B

export default {
async test({ assert, target }) {
const iframe = target.querySelector('iframe');
assert.equal(iframe.getAttribute('aria-hidden'), 'true');
assert.equal(iframe.getAttribute('tabindex'), '-1');
}
};