Closed stuartromanek closed 1 month ago
https://linear.app/apostrophecms/issue/PRO-4505/%5Baccessibility%5D-focus-primary-button-in-priority
trapFocus
data-apos-focus-priority
https://github.com/user-attachments/assets/a1eb3e36-5526-4923-ac18-376d846bb921
(Check at least one)
PRO-4505 [accessibility] Focus primary button in priority
@ETLaurent This PR has been on a journey. Can you take a last look?
Summary
https://linear.app/apostrophecms/issue/PRO-4505/%5Baccessibility%5D-focus-primary-button-in-priority
trapFocus
now looks for elements markeddata-apos-focus-priority
and prioritizes it during initial focus settingRelated
What are the specific steps to test this change?
https://github.com/user-attachments/assets/a1eb3e36-5526-4923-ac18-376d846bb921
What kind of change does this PR introduce?
(Check at least one)