test(sr-only): add test fixture for table caption visibility with sr-only
This commit is contained in:
parent
fa81d697fe
commit
9b7463ae21
1 changed files with 4 additions and 0 deletions
|
|
@ -24,6 +24,10 @@ test('sr-only', async () => {
|
|||
expect(await run(['-sr-only', 'sr-only-[var(--value)]', 'sr-only/foo'])).toEqual('')
|
||||
})
|
||||
|
||||
test('sr-only table caption (Firefox compatibility)', async () => {
|
||||
expect(await run(['sr-only'])).toContain('clip-path: inset(50%);')
|
||||
})
|
||||
|
||||
test('not-sr-only', async () => {
|
||||
expect(await run(['not-sr-only'])).toMatchInlineSnapshot(`
|
||||
"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue