Before proceeding, make sure there isn’t an existing issue for this bug.
Expected Behavior
When the figure's modal link is activated, focus should follow to the lightbox. Focus should return to the page (and the activated element?) when the lightbox is closed.
Actual Behavior
Focus stays on the page at the figure's modal activation link.
Steps to Reproduce
In a built publication from the default starter, go to any page and activate the modal link. Tab around and note that focus remains behind the modal and none of the modal's controls are have focus rings.
Version Numbers
[CLI] Command 'info' called with options { debug: true }
[test-less-images]
quire-cli 1.0.0
quire-11ty 1.0.0
starter https://github.com/thegetty/quire-starter-default@2.11.0
[System]
quire-cli 1.0.0
node v22.19.0
npm 10.9.3
os Darwin 24.6.0
Web Browser
Tested in safari, firefox, and chrome
Supporting Information
This presents problems for all users but they are felt most acutely by users of assistive technologies that need focus to follow the visual design's cues and be compatible with keyboard-alike navigation.
Before proceeding, make sure there isn’t an existing issue for this bug.
Expected Behavior
When the figure's modal link is activated, focus should follow to the lightbox. Focus should return to the page (and the activated element?) when the lightbox is closed.
Actual Behavior
Focus stays on the page at the figure's modal activation link.
Steps to Reproduce
In a built publication from the default starter, go to any page and activate the modal link. Tab around and note that focus remains behind the modal and none of the modal's controls are have focus rings.
Version Numbers
[CLI] Command 'info' called with options { debug: true }
[test-less-images]
quire-cli 1.0.0
quire-11ty 1.0.0
starter https://github.com/thegetty/quire-starter-default@2.11.0
[System]
quire-cli 1.0.0
node v22.19.0
npm 10.9.3
os Darwin 24.6.0
Web Browser
Tested in safari, firefox, and chrome
Supporting Information
This presents problems for all users but they are felt most acutely by users of assistive technologies that need focus to follow the visual design's cues and be compatible with keyboard-alike navigation.