fix: restore case study drawer interactions
This commit is contained in:
@@ -47,6 +47,7 @@ test('project cards separate case study navigation from live links', async () =>
|
||||
assert.match(source, /rel="noopener noreferrer"/);
|
||||
assert.match(source, /project\.liveUrl/);
|
||||
assert.match(source, /caseStudyInput/);
|
||||
assert.match(source, /closest\('a, button/);
|
||||
});
|
||||
|
||||
test('the case study drawer has accessible and pointer-safe dismissal paths', async () => {
|
||||
@@ -63,6 +64,8 @@ test('the case study drawer has accessible and pointer-safe dismissal paths', as
|
||||
assert.match(component, /setPointerCapture/);
|
||||
assert.match(component, /navigator\.clipboard/);
|
||||
assert.match(component, /aria-live="polite"/);
|
||||
assert.match(component, /data-case-study-initial-focus/);
|
||||
assert.doesNotMatch(component, /data-case-study-heading/);
|
||||
assert.match(styles, /::backdrop/);
|
||||
assert.match(styles, /env\(safe-area-inset-bottom/);
|
||||
assert.match(styles, /prefers-reduced-motion:\s*reduce/);
|
||||
|
||||
Reference in New Issue
Block a user