-
Notifications
You must be signed in to change notification settings - Fork 615
Focus prioritized UI in on modal open #4707
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…505/modal-priority
…505/modal-priority
ETLaurent
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
questions
…505/modal-priority
ETLaurent
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
haven't tested but let's run Cypress so that we ensure tests are 🆗
a72f155 to
c4a8a64
Compare
…505/modal-priority
…505/modal-priority
modules/@apostrophecms/ui/ui/apos/components/AposButtonSplit.vue
Outdated
Show resolved
Hide resolved
…505/modal-priority
…505/modal-priority
…505/modal-priority
…505/modal-priority
|
@ETLaurent This PR has been on a journey. Can you take a last look? |
…505/modal-priority
…ostrophe into PRO-4505/modal-priority
ETLaurent
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just that.
otherwise if Cypress is 🟢 then it's 🆗
CHANGELOG.md
Outdated
|
|
||
|
|
||
| * Takes care of an edge case where Media Manager would duplicate search results. | ||
| * Modules can now have a `before: "module-name"` property in their configuration to run (initialization) before another module. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should stay in the "### Adds" section
| const priority = this.restoreOnly ? 'save' | ||
| : this.saveMenu ? 'splitSave' | ||
| : this.saveDisabled ? 'cancel' : null; | ||
| return name === priority || null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤯
* upstream/main: Focus prioritized UI in on modal open (apostrophecms#4707) fix a rare race condition (apostrophecms#4755) prevent un-publishing singletons (apostrophecms#4739) PRO-6660: modules order (apostrophecms#4745) remove unused vue-template-compiler dependency (apostrophecms#4752) Fix pnpm: true (apostrophecms#4750)
Summary
https://linear.app/apostrophecms/issue/PRO-4505/%5Baccessibility%5D-focus-primary-button-in-priority
trapFocusnow looks for elements markeddata-apos-focus-priorityand prioritizes it during initial focus settingRelated
What are the specific steps to test this change?
focusprio.mp4
What kind of change does this PR introduce?
(Check at least one)